aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/linux.go
diff options
context:
space:
mode:
authorJouni Hogander <jouni.hogander@unikie.com>2020-10-07 12:40:00 +0300
committerDmitry Vyukov <dvyukov@google.com>2020-10-09 16:15:40 +0200
commit92a8adc259e162265e1702fb55bf5831595ee07d (patch)
treea0ce5f424fa6eaeca37086b637bf61eaa67bc2be /pkg/vcs/linux.go
parentd81b165e87aa21172574c227b0808df2957e29ce (diff)
pkg/vcs: disable BLK_DEV_INITRD config
This config is causing problems to kernel signature calculation. New initramfs is generated as a part of every build. Due to this init.data section containing this generated initramfs is differing between builds causing signture being random number. Signed-off-by: Jouni Hogander <jouni.hoegander@partner.bmw.de>
Diffstat (limited to 'pkg/vcs/linux.go')
-rw-r--r--pkg/vcs/linux.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/vcs/linux.go b/pkg/vcs/linux.go
index a39d82072..8e4f17d4a 100644
--- a/pkg/vcs/linux.go
+++ b/pkg/vcs/linux.go
@@ -185,6 +185,10 @@ func linuxAlterConfigs(config []byte, tags map[string]bool) []byte {
// and kernel is boot-broken for prolonged ranges of commits with deadlock
// which makes bisections take weeks.
"CONFIG_DEBUG_KOBJECT": "disable-always",
+ // This config is causing problems to kernel signature calculation as new initramfs is generated
+ // as a part of every build. Due to this init.data section containing this generated initramfs
+ // is differing between builds causing signture being random number.
+ "CONFIG_BLK_DEV_INITRD": "disable-always",
}
for cfg, tag := range disable {
if !tags[tag] {