5
0
mirror of git://git.proxmox.com/git/proxmox-backup-restore-image.git synced 2025-01-31 09:47:00 +03:00

fixup "test-run" target

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Stefan Reiter 2021-03-16 16:26:00 +01:00 committed by Thomas Lamprecht
parent 03dbac97da
commit 69c58cb92f

View File

@ -19,7 +19,7 @@ all: ${KERNEL_IMG} ${INITRAMFS_IMG}
${BUILDDIR}.prepared: ${CONFIG}
rm -rf ${BUILDDIR}
mkdir -p ${BUILDDIR}
cp -a submodules debian patches ${BUILDDIR}/
cp -a submodules patches ${BUILDDIR}/
cp ${CONFIG} ${BUILDDIR}/${KERNEL_SUBMODULE}
cd ${BUILDDIR}/${KERNEL_SUBMODULE}; \
for p in ../../patches/kernel/*.patch; do \
@ -60,8 +60,8 @@ test-run: ${KERNEL_IMG} ${INITRAMFS_IMG}
# included in the initramfs, but it can be used to test the
# kernel/init-shim-rs builds
qemu-system-x86_64 -serial stdio -vnc none -enable-kvm \
-kernel ${BUILDDIR}/${KERNEL_IMG} \
-initrd build/initramfs/initramfs.img
-kernel ${KERNEL_IMG} \
-initrd ${INITRAMFS_IMG}
.PHONY: clean
clean: