diff options
author | Jan Wagner <mail@jwagner.eu> | 2016-03-06 06:52:16 +0100 |
---|---|---|
committer | Jan Wagner <mail@jwagner.eu> | 2016-03-06 06:52:16 +0100 |
commit | fbacc20fe7ecdacce9b7b4b8a000bdcb621c216f (patch) | |
tree | 38365e9600279aa77711a5bd71ae4148e77e53bd | |
parent | 8c841853ea81ef1b9b25b16632f7bd1a03520405 (diff) | |
parent | f1f69f479670d7d5ef28e5efb75d932d956ba736 (diff) | |
download | rpi2-gen-image-fbacc20fe7ecdacce9b7b4b8a000bdcb621c216f.tar.gz rpi2-gen-image-fbacc20fe7ecdacce9b7b4b8a000bdcb621c216f.tar.bz2 rpi2-gen-image-fbacc20fe7ecdacce9b7b4b8a000bdcb621c216f.zip |
Merge branch 'add-custom-packages' of https://github.com/stylesuxx/rpi2-gen-image into stylesuxx-add-custom-packages
-rw-r--r-- | README.md | 3 | ||||
-rwxr-xr-x | rpi2-gen-image.sh | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -27,6 +27,9 @@ Set Debian packages server address. Choose a server from the list of Debian worl ##### `APT_PROXY`="" Set Proxy server address. Using a local Proxy-Cache like `apt-cacher-ng` will speed-up the bootstrapping process because all required Debian packages will only be downloaded from the Debian mirror site once. +##### `APT_INCLUDES`="" +A comma seperated list of additional packages to be installed during bootstrapping. + #### General system settings: ##### `HOSTNAME`="rpi2-jessie" Set system host name. It's recommended that the host name is unique in the corresponding subnet. diff --git a/rpi2-gen-image.sh b/rpi2-gen-image.sh index 2c88f3a..6759f76 100755 --- a/rpi2-gen-image.sh +++ b/rpi2-gen-image.sh @@ -94,7 +94,8 @@ REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-su MISSING_PACKAGES="" # Packages required in the chroot build environment -APT_INCLUDES="apt-transport-https,ca-certificates,debian-archive-keyring,dialog,sudo" +APT_INCLUDES=${APT_INCLUDES:=""} +APT_INCLUDES="${APT_INCLUDES},apt-transport-https,ca-certificates,debian-archive-keyring,dialog,sudo" set +x |