diff --git a/kata-osbuilder.spec b/kata-osbuilder.spec index 7ef83f8..e1de383 100644 --- a/kata-osbuilder.spec +++ b/kata-osbuilder.spec @@ -45,6 +45,9 @@ Patch02: osbuilder-0002-rootfs-Fix-systemd-sbin-init-symlinking.patch # List of drivers needed in the initrd. # Needs to be submitted upstream Patch03: osbuilder-0003-dracut-Add-Fedora-virtio-kernel-modules-to-the-initr.patch +# List of modules added to dracut. +# Needs to be submitted upstream +Patch04: osbuilder-0004-Add-bash-busybox-and-rescue-as-part-of-base-modules.patch BuildRequires: git BuildRequires: go-rpm-macros diff --git a/osbuilder-0004-Add-bash-busybox-and-rescue-as-part-of-base-modules.patch b/osbuilder-0004-Add-bash-busybox-and-rescue-as-part-of-base-modules.patch new file mode 100644 index 0000000..175ed7e --- /dev/null +++ b/osbuilder-0004-Add-bash-busybox-and-rescue-as-part-of-base-modules.patch @@ -0,0 +1,26 @@ +From 1a1c32772a2a84afa7df5731559eee9301dc8fa4 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Fri, 14 Feb 2020 17:48:48 +0100 +Subject: [PATCH] Add bash, busybox, and rescue as part of base modules +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Fabiano FidĂȘncio +--- + dracut/dracut.conf.d/05-base.conf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dracut/dracut.conf.d/05-base.conf b/dracut/dracut.conf.d/05-base.conf +index 1dd41c4..18d07b0 100644 +--- a/dracut/dracut.conf.d/05-base.conf ++++ b/dracut/dracut.conf.d/05-base.conf +@@ -14,4 +14,4 @@ hostonly_cmdline="no" + # create reproducible images + reproducible="yes" + # dracut modules to include (NOTE: these are NOT kernel modules) +-dracutmodules="kernel-modules udev-rules syslog systemd" ++dracutmodules="kernel-modules udev-rules syslog systemd bash busybox rescue" +-- +2.24.1 +