From 92a8adc259e162265e1702fb55bf5831595ee07d Mon Sep 17 00:00:00 2001 From: Jouni Hogander Date: Wed, 7 Oct 2020 12:40:00 +0300 Subject: 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 --- pkg/vcs/linux.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/vcs/linux.go') 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] { -- cgit mrf-deployment