The sys/packages library provides support for MCSH scripts to specify the lists of native packages required to use them.
$packages_visited[]
Used to prune package search
packages_symbol()
Prints name of package list symbol for the given package class ($1) and script name ($2)
packages_symbol_read()
Prints list of packages for the given symbol ($1), as generated by packages_symbol().
lib_packages()
Prints all packages for the package class ($1) and named library ($2).
tool_packages()
Prints all packages for the package class ($1) and the named tool script ($2).
$1 - Package class
$2 - Tool script name (default: $script_name)