forked from Mirror/pmbootstrap
pmbootstrap install: support _pmb_recommends (MR 1962)
Let UI meta-packages specify apps in "pmb_recommends" to be explicitly installed by default, and not implicitly as dependency of the UI meta-package ("depends"). Therefore make these apps uninstallable, without removing the meta-package. Add pmbootstrap install --no-recommends to disable this feature.
This commit is contained in:
parent
c8d581e749
commit
d8615a9cae
5 changed files with 91 additions and 1 deletions
|
@ -565,6 +565,10 @@ def arguments():
|
|||
install.add_argument("--no-local-pkgs", dest="install_local_pkgs",
|
||||
help="do not install locally compiled packages and"
|
||||
" package signing keys", action="store_false")
|
||||
install.add_argument("--no-recommends", dest="install_recommends",
|
||||
help="do not install packages listed in"
|
||||
" _pmb_recommends of the UI pmaports",
|
||||
action="store_false")
|
||||
group = install.add_mutually_exclusive_group()
|
||||
group.add_argument("--sparse", help="generate sparse image file"
|
||||
" (even if unsupported by device)", default=None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue