apk-mkpkg8
Create apkv3 package files
Usage
apk mkpkg
[<options> ...]
Overview
apk mkpkg creates a package file from given metadata and data files.
Options
-
--compat APK_VERSION -
Produces packages compatible with given apk versions. The default currently is
3.0.0_pre1.
-
--files, -F PATH -
Specify the build root path from where the files are collected from to be included in the package.
-
--info, -I KEY:VALUE -
Specify metadata for the package. Assigns a metadata field KEY with the value VALUE. Refer to apk-package(5) for the list of APKv3 metadata fields. This can assign to either "package info" or "package" metadata field.
-
--output, -o FILE -
Specify the FILE as the output file name. If not specified, a default name will be deduced from the package metadata fields.
-
--rootnode[=BOOL] -
Deprecated alias to set compat version.
yesresolves to--compat=3.0.0_pre1andnoto--compat=3.0.0_pre3.
-
--script, -s TYPE:SCRIPT -
Add the specified SCRIPT with the TYPE. Refer to apk-package(5) PACKAGE METADATA /
scriptsfor list of scripts types and when they are executed.
-
--stdout -
Output resulting package to stdout.
-
--trigger, -t TRIGGER -
Append TRIGGER path specification to list triggers which affect when the
triggerscript is executed.
-
--xattrs[=BOOL] -
Specify if xattrs should be included in the metadata.