cri-o/vendor/github.com/opencontainers/runtime-tools/contrib/rootfs-builder
Mrunal Patel 8e5b17cf13 Switch to github.com/golang/dep for vendoring
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-01-31 16:45:59 -08:00
..
get-stage3.sh Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
Makefile Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
README.md Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
rootfs-files Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00

Building rootfs.tar.gz

The root filesystem tarball is based on Gentoo's amd64 stage3 (which we check for a valid GnuPG signature), copying a minimal subset to the root filesytem, and adding symlinks for all BusyBox commands. To rebuild the tarball based on a newer stage3, just run:

$ touch get-stage3.sh
$ make rootfs.tar.gz

Getting Gentoo's Release Engineering public key

If make rootfs.tar.gz gives an error like:

gpg --verify downloads/stage3-amd64-current.tar.bz2.DIGESTS.asc
gpg: Signature made Thu 14 Jan 2016 09:00:11 PM EST using RSA key ID 2D182910
gpg: Can't check signature: public key not found

you will need to add the missing public key to your keystore. One way to do that is by asking a keyserver:

$ gpg --keyserver pool.sks-keyservers.net --recv-keys 2D182910