aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rwxr-xr-xrpi2-gen-image.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index f0ece3c..912c7ce 100644
--- a/README.md
+++ b/README.md
@@ -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