Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.28 KB

buildrepo.1.scd

File metadata and controls

64 lines (40 loc) · 1.28 KB

buildrepo(1)

NAME

buildrepo - build an apk repository tree

SYNOPSIS

buildrepo [-hknps] [-a DIR] [-d DIR] [-l DIR] [-r REPO] REPO...

DESCRIPTION

buildrepo builds an apk repository tree, taking care to build dependant packages in the correct order. buildrepo shall skip packages that are already up to date.

OPTIONS

-a, --aports=DIR Set the aports base dir to DIR instead of $HOME/aports.

-c, --config=FILE Use FILE as config instead of /etc/buildrepo/config.lua.

-d, --destdir=DIR Set destination repository base to DIR instead of $HOME/packages.

-h, --help Show help and exit.

-l, --logdir=DIR Create build logs in DIR/REPO/pkgname/ instead of stdout.

-k, --keep-going Keep going, even if packages fails.

-n, --dry-run Dry run. Don't actually build or delete, just print

-p, --purge Purge obsolete packages from REPODIR after build.

-r, --deps-repo=REPO Dependencies are found in REPO.

-s, --skip-failed Skip those which previously failed (src dir exists).

-R, --rootbld Build packages in clean chroots.

EXAMPLE

CBUILD=aarch64 buildrepo -d "$HOME/packages" -a "$(pwd)" -p -R builder

SEE ALSO

abuild(1), APKBUILD(5), apk(8)

AUTHORS

Natanael Copa <[email protected]> and other lua-aports authors