diff --git a/kernel.spec.in b/kernel.spec.in index 5d27c3e7..3fa42893 100644 --- a/kernel.spec.in +++ b/kernel.spec.in @@ -58,6 +58,7 @@ AutoReqProv: on BuildRequires: coreutils module-init-tools sparse BuildRequires: qubes-kernel-vm-support BuildRequires: dracut +BuildRequires: busybox BuildRequires: bc BuildRequires: openssl BuildRequires: openssl-devel @@ -473,9 +474,10 @@ mv %buildroot/lib/firmware-all %buildroot/lib/firmware/%kernelrelease # Prepare initramfs for Qubes VM mkdir -p %buildroot/%vm_install_dir -PATH="/sbin:$PATH" dracut --nomdadmconf --nolvmconf \ +PATH="/sbin:$PATH" dracut --nomdadmconf --nolvmconf --no-hostonly \ --kmoddir %buildroot/lib/modules/%kernelrelease \ - --modules "kernel-modules qubes-vm-simple" \ + --modules "kernel-modules qubes-vm-simple busybox" \ + --omit "nss-softokn extra-modules qubes-pciback qubes-udev" \ --conf /dev/null --confdir /var/empty \ -d "xenblk xen-blkfront cdrom ext4 jbd2 crc16 dm_snapshot" \ %buildroot/%vm_install_dir/initramfs %kernelrelease