Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0eb247c

Browse files
classabbyampthe-maldridge
authored andcommitted
_posts: post about host arch flag
forvoid-linux/void-packages#46263
1 parent1897ee9 commit0eb247c

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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>`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp