Skip to content

Commit 615c2ed

Browse files
committed
docs: add missing options for ipk and archlinux
closes #1027 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
1 parent 2e98cc7 commit 615c2ed

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

www/content/docs/configuration.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@ apk:
475475
key_id: ignored
476476

477477
archlinux:
478+
# archlinux specific architecture name that overrides "arch" without performing any replacements.
479+
arch: armhf
480+
478481
# This value is used to specify the name used to refer to a group
479482
# of packages when building a split package. Defaults to name
480483
# See: https://wiki.archlinux.org/title/PKGBUILD#pkgbase
@@ -491,6 +494,43 @@ archlinux:
491494

492495
# The postupgrade script runs after pacman upgrades the package
493496
postupgrade: ./scripts/postupgrade.sh
497+
498+
# Custom configuration applied only to the IPK packager (OpenWrt).
499+
ipk:
500+
# ipk specific architecture name that overrides "arch" without performing any replacements.
501+
arch: mipsel
502+
503+
# ABI version for shared library packages. Appended to package name to allow
504+
# multiple ABI-incompatible versions to coexist.
505+
abi_version: "1"
506+
507+
# Mark the package as automatically installed (installed as a dependency).
508+
# Packages marked as auto-installed can be removed with `opkg --autoremove`.
509+
auto_installed: false
510+
511+
# Mark the package as essential. Essential packages cannot be removed.
512+
essential: false
513+
514+
# Predepends ensures these packages are fully configured before this package
515+
# is unpacked. Use sparingly.
516+
predepends:
517+
- libc
518+
519+
# Tags for package categorization and filtering.
520+
tags:
521+
- embedded
522+
- networking
523+
524+
# Additional fields for the control file. Empty fields are ignored.
525+
fields:
526+
Source: https://github.com/example/repo
527+
528+
# Alternatives allow this package to provide a generic command via symlinks.
529+
# Useful when multiple packages can provide the same functionality.
530+
alternatives:
531+
- link_name: /usr/bin/editor
532+
target: /usr/bin/vim
533+
priority: 50
494534
```
495535
496536
## Templating

0 commit comments

Comments
 (0)