Package handling¶
Package list¶
-
class
bootstrapvz.base.pkg.packagelist.
PackageList
(manifest_vars, source_lists)[source]¶ Represents a list of packages
-
PackageList.
add
(name, target=None)[source]¶ Adds a package to the install list
Parameters: - name (str) – The name of the package to install, may contain manifest vars references
- target (str) – The name of the target release for the package, may contain manifest vars references
Raises: - PackageError – When a package of the same name but with a different target has already been added.
- PackageError – When the specified target release could not be found.
-
Sources list¶
-
class
bootstrapvz.base.pkg.sourceslist.
SourceLists
(manifest_vars)[source]¶ Represents a list of sources lists for apt