File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Changes to xbps-src Masterdir Creation and Use
3+ layout : post
4+ ---
5+
6+ In an effort to simplify the usage of [ ` xbps-src ` ] ( https://github.com/void-linux/void-packages ) ,
7+ there has been a small change to how masterdirs (the containers xbps-src uses
8+ to build packages) are created and used.
9+
10+ The default masterdir is now called ` masterdir-<arch> ` , except when ` masterdir `
11+ already exists or when using xbps-src in a container (where it's still ` masterdir ` ).
12+
13+ ### Creation
14+
15+ When creating a masterdir for an alternate architecture or libc, the previous
16+ syntax was:
17+
18+ ```
19+ ./xbps-src -m <name> binary-bootstrap <arch>
20+ ```
21+
22+ Now, the ` <arch> ` should be specified using the new ` -A ` (host architecture)
23+ flag:
24+
25+ ```
26+ ./xbps-src -A <arch> binary-bootstrap
27+ ```
28+
29+ This will create a new masterdir called ` masterdir-<arch> ` in the root of your
30+ void-packages repository checkout.
31+
32+ Arbitrarily-named masterdirs can still be created with ` -m <name> ` .
33+
34+ ### Usage
35+
36+ Instead of specifying the alternative masterdir directly, you can now use the
37+ ` -A ` (host architecture) flag to use the ` masterdir-<arch> ` masterdir:
38+
39+ ```
40+ ./xbps-src -A <arch> pkg <pkgname>
41+ ```
42+
43+ Arbitrarily-named masterdirs can still be used with ` -m <name> ` .
You can’t perform that action at this time.
0 commit comments