File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-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 are created and used.
8
+
9
+ The default masterdir is now called ` masterdir-<arch> ` , except when ` masterdir `
10
+ already exists or when using xbps-src in a container (where it's still ` masterdir ` ).
11
+
12
+ ### Creation
13
+
14
+ When creating a masterdir for an alternate architecture or libc, the previous
15
+ syntax was:
16
+
17
+ ```
18
+ ./xbps-src -m <name> binary-bootstrap <arch>
19
+ ```
20
+
21
+ Now, the ` <arch> ` should be specified using the new ` -A ` (host architecture)
22
+ flag:
23
+
24
+ ```
25
+ ./xbps-src -A <arch> binary-bootstrap
26
+ ```
27
+
28
+ This will create a new masterdir called ` masterdir-<arch> ` .
29
+
30
+ Arbitrarily-named masterdirs can still be created with ` -m <name> ` .
31
+
32
+ ### Usage
33
+
34
+ Instead of specifying the alternative masterdir directly, you can now use the
35
+ ` -A ` (host architecture) flag to use the ` masterdir-<arch> ` masterdir:
36
+
37
+ ```
38
+ ./xbps-src -A <arch> pkg <pkgname>
39
+ ```
40
+
41
+ Arbitrarily-named masterdirs can still be used with ` -m <name> ` .
You can’t perform that action at this time.
0 commit comments