File: README.md

package info (click to toggle)
golang-github-opencontainers-runtime-tools 0.9.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,108 kB
  • sloc: sh: 557; makefile: 104
file content (60 lines) | stat: -rw-r--r-- 1,734 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Building `rootfs-*.tar.gz`

The root filesystem tarball is based on [Gentoo][]'s stage3s (e.g. the
[amd64 stage3][stage3-amd64]).  We check for a valid [GnuPG
signature][gentoo-signatures]), copying a [minimal
subset](rootfs-files) to the root filesytem, and adding symlinks for
all BusyBox commands.  To rebuild the tarball based on a newer stage3,
run:

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

## Platform tarballs

The extraction requires a local machine capable of executing the
extracted BusyBox.  Extraction assumes amd64, but if your local
machine is a different platform, set `ARCHES`.  For example:

```
$ make ARCHES='i486 i686 amd64'
```

The architecture identifiers can be found by browsing Gentoo's
[releases][] for `autobuilds/latest-stage3-{arch}.txt`.  Examples
include:

* `amd64` (the default)
* `arm64`
* `arm7a`
* `i486`
* `i686`
* `ppc64-64ul`

and many more.

## 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][gentoo-signatures].  One way to do that is by [asking a
keyserver][recv-keys]:

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

[Gentoo]: https://www.gentoo.org/
[gentoo-signatures]: https://www.gentoo.org/downloads/signatures/
[recv-keys]: https://www.gnupg.org/documentation/manuals/gnupg/Operational-GPG-Commands.html
[releases]: http://distfiles.gentoo.org/releases/
[stage3-amd64]: http://distfiles.gentoo.org/releases/amd64/autobuilds/