Fix 67: New '--add' parameter for 'pmbootstrap install' to add custom packages.

Example usage:

./pmbootstrap install --add='vim,gcc'
This commit is contained in:
Oliver Smith 2017-06-08 18:10:00 +02:00
parent 5016c196ba
commit 9515782f8d
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 12 additions and 5 deletions

View file

@ -108,6 +108,8 @@ def arguments():
" eg. /dev/mmcblk0")
install.add_argument("--cipher", help="cryptsetup cipher used to"
" encrypt the system partition, eg. aes-xts-plain64")
install.add_argument("--add", help="comma separated list of packages to be"
" added to the rootfs (e.g. 'vim,gcc')")
# Action: build / checksum / menuconfig / parse_apkbuild / aportgen
menuconfig = sub.add_parser("menuconfig", help="run menuconfig on"