README: document how to build base-system from scratch.
This commit is contained in:
parent
a857791b21
commit
2c24756bfc
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -403,6 +403,22 @@ Your new masterdir is now ready to build natively packages for the musl C librar
|
|||
|
||||
To see if the musl C dynamic linker is working as expected.
|
||||
|
||||
### Building void base-system from scratch
|
||||
|
||||
To rebuild all packages in `base-system` for your native architecture:
|
||||
|
||||
$ ./xbps-src -N pkg base-system
|
||||
|
||||
It's also possible to cross compile everything from scratch:
|
||||
|
||||
$ ./xbps-src -a <target> -N pkg base-system
|
||||
|
||||
Once the build has finished, you can specify the path to the local repository to `void-mklive`, i.e:
|
||||
|
||||
# cd void-mklive
|
||||
# make
|
||||
# ./mklive.sh ... -r /path/to/hostdir/binpkgs
|
||||
|
||||
### Contributing
|
||||
|
||||
See [Contributing](https://github.com/voidlinux/xbps-packages/blob/master/CONTRIBUTING.md)
|
||||
|
|
Loading…
Reference in a new issue