summaryrefslogtreecommitdiffstats
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/multiarch.mdwn12
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
architecture-independent.)
+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`.
+
[wuc-mas-arch-indep-files]: https://wiki.ubuntu.com/MultiarchSpec#Architecture-independent_files_in_multiarch_packages
[wuc-mas-control-fields]: https://wiki.ubuntu.com/MultiarchSpec#Binary_package_control_fields
[spf-fields-bin]: http://specs.proteanos.com/spf-2.0/fields.html#fields-bin
+[opkg-wrapper]: http://git.proteanos.com/pkg/opkg-lede.git/tree/opkg
Use Cases