From 517022ea2fa9d711444f950d8b4145d788ec85bd Mon Sep 17 00:00:00 2001 From: Don Penney Date: Wed, 12 May 2021 17:13:25 -0400 Subject: [PATCH] Update installer initrd to disable lldpad The initrd launches the lldpad service, but this can lead to comms disruptions in certain configurations, causing installation failures. To address this, we're pulling in patches from the latest dracut code to disable lldapd and fcoe, with options to allow enabling if desired. The original upstream commit to identify and address this issue is: https://github.com/dracutdevs/dracut/commit/7c6d2ad916bd536dc2f082fd96ef837a5031e497 Subsequent upstream updates made minor changes to these small code blocks, which are also pulled in here: https://github.com/dracutdevs/dracut/commit/7fb8f939a52a904b1860e303a6a7fe69ba0d2ceb https://github.com/dracutdevs/dracut/commit/8446c8f9deefcc6c47d96a128b1e9b23d8855a96 https://github.com/dracutdevs/dracut/commit/805b46c2a81e04d69fc3af912942568516d05ee7 https://github.com/dracutdevs/dracut/commit/6f7823bce65dd4b52497dbb94892b637fd06471a Change-Id: I696140046d3b4302a6659723a0680ee7f7c97031 Story: 2009009 Task: 42710 Signed-off-by: Don Penney --- build-tools/make-installer-images.sh | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/build-tools/make-installer-images.sh b/build-tools/make-installer-images.sh index edec5494..2454b69c 100755 --- a/build-tools/make-installer-images.sh +++ b/build-tools/make-installer-images.sh @@ -153,6 +153,40 @@ patch usr/lib/net-lib.sh <patch usr/lib/dracut/hooks/pre-trigger/03-lldpad.sh with rd.fcoe disabling support" +patch usr/lib/dracut/hooks/pre-trigger/03-lldpad.sh <patch usr/lib/dracut/hooks/cmdline/99-parse-fcoe.sh with rd.fcoe disabling support" +patch usr/lib/dracut/hooks/cmdline/99-parse-fcoe.sh < Rebuild the initrd" if [ -f $output_dir/new-initrd.img ]; then mv -f $output_dir/new-initrd.img $output_dir/initrd.img-backup-$timestamp