Skip to content

Commit

Permalink
spec: put dummy_conf in builddir
Browse files Browse the repository at this point in the history
(cherry picked from commit 1c59b39)
  • Loading branch information
fepitre authored and marmarek committed Jan 20, 2023
1 parent 0e4ec6b commit 6a896a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -486,12 +486,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
touch %_builddir/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 /tmp/dummy_conf --confdir /var/empty \
--conf %_builddir/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 6a896a7

Please sign in to comment.