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
  • Loading branch information
fepitre committed Jan 16, 2023
1 parent ebea223 commit 3c86f60
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 @@ -499,11 +499,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 3c86f60

Please sign in to comment.