resolve_rebuild – print tree of dependencies for given set of packages.

Synopsis

print_packages |resolve_rebuild [complete]

Description

The method reads list of packages from stdin. For each package it determines packages, needed for its build. If complete is given as the argument, method will take into account all found entries. When no arguments are given, it will take into account only packages lacking in current IMGDIR. At the end method prints found dependencies each on new line.

List of packages, available for the build, is recieved with lsrdd(1) command. If any_list_all is set, the option is used as second argument for lsrdd. Otherwise no second argument is given and default listing is used.

If some dependencies are not found in available packages, method prints reserved word --nonresolved to stdout. Also it prints list of unresolved dependencies to stderr together with diagnostic message.

Writing

The method writes to T.

Variables

The method uses any-api(7) variables:
T
IMGDIR
DEPEND

Interfaces

The method calls interfaces:
lsrdd(1)

Options

The following options affect the method:
any_list_all

See also

any(1), any-map(7), any-api(7)