summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/defaults.py1
-rwxr-xr-xscripts/import-local-packages6
-rwxr-xr-xscripts/live-build-config4
3 files changed, 10 insertions, 1 deletions
diff --git a/scripts/defaults.py b/scripts/defaults.py
index b9a3f255..0792d6b2 100644
--- a/scripts/defaults.py
+++ b/scripts/defaults.py
@@ -23,6 +23,7 @@ BUILD_CONFIG = os.path.join(BUILD_DIR, 'build-config.json')
# The default mirror was chosen entirely at random
DEBIAN_MIRROR = 'http://ftp.nl.debian.org/debian/'
+DEBIAN_SECURITY_MIRROR = 'http://security.debian.org/'
DEBIAN_DISTRIBUTION = 'jessie'
diff --git a/scripts/import-local-packages b/scripts/import-local-packages
new file mode 100755
index 00000000..be8e1688
--- /dev/null
+++ b/scripts/import-local-packages
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+LOCAL_PKG_DIR=build/config/packages.chroot
+
+mkdir -p $LOCAL_PKG_DIR
+cp packages/*.deb $LOCAL_PKG_DIR
diff --git a/scripts/live-build-config b/scripts/live-build-config
index 7c51744c..cb9e84dc 100755
--- a/scripts/live-build-config
+++ b/scripts/live-build-config
@@ -49,7 +49,9 @@ lb config noauto \
--mirror-chroot {{debian_mirror}} \
--mirror-chroot-security {{debian_mirror}} \
--mirror-binary {{debian_mirror}} \
- --mirror-binary-security {{debian_mirror}}
+ --mirror-binary-security {{debian_security_mirror}} \
+ --archive-areas "main contrib non-free" \
+ --firmware-chroot true
"${@}"
"""