Generate images for trusty, xenial, bionic
This commit is contained in:
parent
a06ccea904
commit
153b556bc5
7
tools/qemu-debian-img/Vagrantfile
vendored
7
tools/qemu-debian-img/Vagrantfile
vendored
@ -10,8 +10,11 @@ Vagrant.configure("2") do |config|
|
||||
mkdir qemu-debian-img && cd qemu-debian-img
|
||||
cp /vagrant/main.go ./
|
||||
GOBIN=/usr/bin go get ./
|
||||
qemu-debian-img generate --repository="http://archive.ubuntu.com/ubuntu" --release="bionic" bionic.img
|
||||
cp bionic.img /vagrant/
|
||||
export REPO=http://archive.ubuntu.com/ubuntu
|
||||
for RELEASE in trusty xenial bionic; do \
|
||||
qemu-debian-img generate --repository=$REPO --release=$RELEASE $RELEASE.img
|
||||
cp $RELEASE.img /vagrant/
|
||||
done
|
||||
cp /boot/vmlinuz-* /vagrant/vmlinuz-bionic
|
||||
cp /boot/initrd* /vagrant/initrd-bionic
|
||||
cp /lib/modules/`uname -r`/kernel/lib/test_static_key_base.ko /vagrant/sample.ko
|
||||
|
Loading…
Reference in New Issue
Block a user