diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-02-09 15:46:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-02-21 04:46:55 +0200 |
commit | 5e004f94984476ddda74f90e8adaacd3c0871062 (patch) | |
tree | 5c5e4df4a4be02917d118d4cbd547ade87ff569b /bpkg/system-package-manager.hxx | |
parent | eaebfcff492cf7f707b44a3d28620e786116faf1 (diff) |
Initial work on pkg-bindist command and Debian implementation
Diffstat (limited to 'bpkg/system-package-manager.hxx')
-rw-r--r-- | bpkg/system-package-manager.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bpkg/system-package-manager.hxx b/bpkg/system-package-manager.hxx index 941c981..81adeee 100644 --- a/bpkg/system-package-manager.hxx +++ b/bpkg/system-package-manager.hxx @@ -155,9 +155,11 @@ namespace bpkg virtual void pkg_install (const vector<package_name>&) = 0; - // Generate a binary distribution package. + // Generate a binary distribution package. @@ TODO: doc more // - // @@ TODO: doc + // The available packages are loaded for the first package in pkgs and for + // all the packages in deps. For non-system packages there is always a + // single available package that corresponds to the selected package. // // See the pkg-bindist(1) man page and the pkg_bindist() function // implementation for background and details. @@ -321,8 +323,10 @@ namespace bpkg bool yes, const string& sudo); + class pkg_bindist_options; + unique_ptr<system_package_manager> - make_production_system_package_manager (const common_options&, + make_production_system_package_manager (const pkg_bindist_options&, const target_triplet&, const string& name, const string& arch); |