path: root/dev
diff options
authorPatrick McDermott <pehjota>2020-06-20 21:11:20 (EDT)
committer Patrick McDermott <pehjota>2020-06-20 21:11:20 (EDT)
commit75e6eed4b62a9681758c549e259825c478502498 (patch)
tree5fd717cb13e9654ba60f073647db7a46eb7b0996 /dev
parent27e13f5033829c218f9c8711cb2b4acac143f71f (diff)
dev/multiarch: Mention opkg wrapper
Diffstat (limited to 'dev')
1 files changed, 12 insertions, 0 deletions
diff --git a/dev/multiarch.mdwn b/dev/multiarch.mdwn
index 37a54e1..df69ba2 100644
--- a/dev/multiarch.mdwn
+++ b/dev/multiarch.mdwn
@@ -101,9 +101,21 @@ ProteanOS systems should have only native architecture feeds for sections
and `libdev`. (Sections `doc`, `locale`, and `share` are
+opkg-lede's architecture priorities as described above can be useful in certain
+specific ways, through a [wrapper script that adds an `-a`/`--host-architecture`
+option][opkg-wrapper] (similar to that of apt-get). First, since multiple
+`Section: dbg` feeds may be downloaded and architecture-qualifying such packages
+would be undesirable, such packages could be installed instead via `opkg -a
+amd64-linux-glibc foo-dbg`. Similarly, `Section: libdev` packages as build
+dependencies could be automatically installed for the host architecture by
+prokit supplying an appropriate `-a` option, allowing maintainers to continue
+listing unqualified package names in `Build-Depends` instead of having to add
+`-${Host-Arch}` to every `Section: libdev` package in `Build-Depends`.
Use Cases