any unit – command to build packages with their dependencies.

Synopsis

any unit DATA [options]
any unit DATA PACKAGES [options]
any unit DATA PACKAGES METHODS [options]
any unit [options]

PROGSU=/usr/bin/sudo PROGCHROOT="sudo chroot" anch unit [any arguments above]
any unit --help|--version

Description

any unit builds given PACKAGES together with their dependencies. Command performs the following:

Missing non-deployed dependencies for given set of PACKAGES are calculated. Deployed and ready dependencies are kept in inner directory IMGDIR:
            ./build/image/<profname>/
Collected dependencies are deployed from available binary packages. By default, packages are taken from PACKDIR:
            ./build/pack/<profname>/
The path to packages can be set with the option any_pkg.
Dependencies are checked again. If still some are missing, they are absent in binary form. The missing set should be built.
Tree of missing build dependencies is calculated. The tree is minimised, so already present packages are not participating in the build.
Missing set of dependencies is built.
Finally the origin package set from PACKAGES is built.

Packages from command line argument will be built in any case, disregarding whether they are deployed or not.

All rules and syntax of any-do(1) apply to this command as well.

Options

any_pkg=PATH
Path to binary packages, used for resolving of dependencies.

See also

any-do(1), any(1)