From 2c24756bfc424768c4ba6b16be1966721349fd12 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 14 Apr 2015 11:46:59 +0200 Subject: [PATCH] README: document how to build base-system from scratch. --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c7b139b6e4..1ded79d3d5 100644 --- a/README.md +++ b/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 -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)