diff options
author | Chris Landa <stylesuxx@gmail.com> | 2016-03-05 13:55:44 +0100 |
---|---|---|
committer | Chris Landa <stylesuxx@gmail.com> | 2016-03-05 13:55:44 +0100 |
commit | f1f69f479670d7d5ef28e5efb75d932d956ba736 (patch) | |
tree | de4934f76dd29ef152e881fefd9e8bad7c2e065a | |
parent | 57c039de88cb94968c4ae6417c4ce42ce23118ea (diff) | |
download | rpi2-gen-image-f1f69f479670d7d5ef28e5efb75d932d956ba736.tar.gz rpi2-gen-image-f1f69f479670d7d5ef28e5efb75d932d956ba736.tar.bz2 rpi2-gen-image-f1f69f479670d7d5ef28e5efb75d932d956ba736.zip |
Added functionality to add custom packages to APT_INCLUDES
-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 ff677d2..a0f7313 100755 --- a/rpi2-gen-image.sh +++ b/rpi2-gen-image.sh @@ -82,7 +82,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 |