[README.md] minor fix

This commit is contained in:
Jesús 2021-02-17 19:54:52 -05:00
parent 004b0f528a
commit 59c21a3352
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -16,14 +16,13 @@ Usage
- Generate bootstrap image with [hyperbola-bootstrap](https://git.sr.ht/~heckyel/hyperbola-bootstrap)
- Rename file to `bootstrap.tar.gz`
- Run
mv hyperbola-bootstrap.tar.gz bootstrap.tar.gz
./tar_fix.py --input=hyperbola-bootstrap.tar.gz --output=bootstrap.tar.gz
- Run <code>./tar_fix.py --input=hyperbola-bootstrap-<i>date-architecture</i>.tar.gz --output=bootstrap.tar.gz</code>.
This will remove input tarball's top-level directory from all its component paths, and save that in the output tarball.
As a result its content starts at `/` rather than `x86_64/` or `i686/`, and so will the filesystem of the Docker image.
`tar_fix.py` needs Python 3.5 or later.
> This will remove input tarball's top-level directory from all its component paths, and save that in the output tarball.
> As a result its content starts at `/` rather than `x86_64/` or `i686/`, and so will the filesystem of the Docker image.
> `tar_fix.py` needs Python 3.5 or later.
- Make sure you have my `Dockerfile`, `.dockerignore` and the `bootstrap.tar.gz` in one directory.