From 1c59b398ae47e510af83c3b6f5e36ebc530c072a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= <frederic@invisiblethingslab.com> Date: Fri, 20 Jan 2023 15:33:26 +0100 Subject: [PATCH] spec: put dummy_conf in builddir --- kernel.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel.spec.in b/kernel.spec.in index 00dc1128..7513a62b 100644 --- a/kernel.spec.in +++ b/kernel.spec.in @@ -506,12 +506,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