Skip to content

Commit

Permalink
spec: newer dracut does't support /dev/null as conf
Browse files Browse the repository at this point in the history
See dracutdevs/dracut#1835

(cherry picked from commit 3c86f60)
  • Loading branch information
fepitre committed Jan 18, 2023
1 parent 5769b9b commit d815a64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -477,11 +477,12 @@ mv %buildroot/lib/firmware-all %buildroot/lib/firmware/%kernelrelease

# Prepare initramfs for Qubes VM
mkdir -p %buildroot/%vm_install_dir
touch /tmp/dummy_conf
PATH="/sbin:$PATH" dracut --nomdadmconf --nolvmconf --no-hostonly \
--kmoddir %buildroot/lib/modules/%kernelrelease \
--modules "kernel-modules qubes-vm-simple busybox" \
--omit "nss-softokn extra-modules qubes-pciback qubes-udev" \
--conf /dev/null --confdir /var/empty \
--conf /tmp/dummy_conf --confdir /var/empty \
-d "xenblk xen-blkfront cdrom ext4 jbd2 crc16 dm_snapshot" \
%buildroot/%vm_install_dir/initramfs %kernelrelease

Expand Down

0 comments on commit d815a64

Please sign in to comment.