1
0

Change Ubuntu images symbolic links from distro name to version

This commit is contained in:
dump_stack() 2018-10-26 06:43:09 +00:00
parent a93073e0be
commit 2e9a8018da
4 changed files with 10 additions and 3 deletions

View File

@ -8,6 +8,12 @@ out-of-tree kernel {module, exploit} development tool
Read [Qemu API](qemu/README.md).
### Generate images
$ cd $GOPATH/src/github.com/jollheef/out-of-tree/tools/qemu-debian-img/
$ docker run --privileged -v $(pwd):/shared -e IMAGE=/shared/ubuntu1404.img -e RELEASE=trusty -t gen-ubuntu1804-image
$ docker run --privileged -v $(pwd):/shared -e IMAGE=/shared/ubuntu1604.img -e RELEASE=xenial -t gen-ubuntu1804-image
### Generate kernels
cd $GOPATH/src/github.com/jollheef/out-of-tree/tools/kernel-factory
@ -20,6 +26,7 @@ If you already have Go, Qemu, Vagrant and Docker installed, there's cross-platfo
$ go get github.com/jollheef/out-of-tree
$ cd $GOPATH/src/github.com/jollheef/out-of-tree/tools/qemu-debian-img/
$ ./bootstrap.sh
$ docker run --privileged -v $(pwd):/shared -e IMAGE=/shared/ubuntu1604.img -e RELEASE=xenial -t gen-ubuntu1804-image
$ cd ../kernel-factory
$ rm -rf {Debian,CentOS,Ubuntu/{14.04,18.04}} # speed up :)
$ ./bootstrap.sh

View File

@ -1 +1 @@
../../../qemu-debian-img/trusty.img
../../../qemu-debian-img/ubuntu1404.img

View File

@ -1 +1 @@
../../../qemu-debian-img/xenial.img
../../../qemu-debian-img/ubuntu1604.img

View File

@ -1 +1 @@
../../../qemu-debian-img/bionic.img
../../../qemu-debian-img/ubuntu1804.img