Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8545>
1.7 KiB
1.7 KiB
APKBUILD Metadata
The UI packages have additional metadata specified via custom APKBUILD variables and options.
Variables
- _pmb_groups
- Groups to which the default user should be added to during the installation. (pmb-recommends)=
- _pmb_recommends
- Packages to install together with the UI, which can be uninstalled by the user.
- _pmb_select
- Let
pmbootstrap initdisplay a prompt for each package in the given list of packages to choose which provider to use for each package.
- Let
- _pmb_default
- Define the package to display as default during a
pmbootstrap init_pmb_selectprompt. Without this, the package with the highest priority will list as default .
- Define the package to display as default during a
- pkgdesc
- The same as a normal APKBUILD's
pkgdesc, but it is also shown duringpmbootstrap initbeside the UI's name.
- The same as a normal APKBUILD's
(ui-packages-apkbuild-options)=
Options
The following can be added to the options variable:
- pmb:drm
- Adding this to the
optionsvariable will mark the UI as requiring DRM support to function, hiding it from devices that do not support DRM onpmbootstrap init.
- Adding this to the
- pmb:default-systemd
- Adding this to the
optionsvariable will declare systemd as the default service manager for the UI.
- Adding this to the
- pmb:support-systemd
- Adding this to the
optionsvariable will allow selecting the UI with systemd duringpmbootstrap init. Requires apmb:default-*option.
- Adding this to the
- pmb:default-openrc
- Adding this to the
optionsvariable will declare OpenRC as the default service manager for the UI.
- Adding this to the
- pmb:support-openrc
- Adding this to the
optionsvariable will allow selecting the UI with OpenRC duringpmbootstrap init. Requires apmb:default-*option.
- Adding this to the