From 9b8d4a056e1ff1cd055e96e5e15f6fb67155cbe9 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 30 May 2020 12:05:24 +0000 Subject: [PATCH] Fix path to vmlinuz/initrd --- tools/qemu-debian-img/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/qemu-debian-img/bootstrap.sh b/tools/qemu-debian-img/bootstrap.sh index 0b9f205..483ebc4 100755 --- a/tools/qemu-debian-img/bootstrap.sh +++ b/tools/qemu-debian-img/bootstrap.sh @@ -4,6 +4,6 @@ cd $(dirname $(realpath $0)) docker build -t gen-ubuntu2004-image . docker run --privileged -v $(pwd):/shared -t gen-ubuntu2004-image RUN="docker run -v $(pwd):/shared -t gen-ubuntu2004-image" -$RUN sh -c 'chmod 644 /vmlinuz && cp /vmlinuz /shared/ubuntu2004.vmlinuz' -$RUN sh -c 'cp /initrd.img /shared/ubuntu2004.initrd' +$RUN sh -c 'chmod 644 /boot/vmlinuz && cp /boot/vmlinuz /shared/ubuntu2004.vmlinuz' +$RUN sh -c 'cp /boot/initrd.img /shared/ubuntu2004.initrd' $RUN sh -c 'cp $(find /lib/modules -name test_static_key_base.ko) /shared/ubuntu2004.ko'