Browse Source

Fix path to vmlinuz/initrd

tags/v1.3.0
dump_stack() 7 months ago
parent
commit
9b8d4a056e
Signed by: Mikhail Klementev <blame@dumpstack.io> GPG Key ID: BE44DA8C062D87DC
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tools/qemu-debian-img/bootstrap.sh

+ 2
- 2
tools/qemu-debian-img/bootstrap.sh View File

@@ -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'

Loading…
Cancel
Save