summaryrefslogtreecommitdiff
path: root/data/live-build-config
diff options
context:
space:
mode:
Diffstat (limited to 'data/live-build-config')
-rw-r--r--data/live-build-config/archives/vyos.list.chroot1
-rwxr-xr-xdata/live-build-config/hooks/14-firmware-linux-nonfree.chroot6
2 files changed, 7 insertions, 0 deletions
diff --git a/data/live-build-config/archives/vyos.list.chroot b/data/live-build-config/archives/vyos.list.chroot
index 2b117386..664b408c 100644
--- a/data/live-build-config/archives/vyos.list.chroot
+++ b/data/live-build-config/archives/vyos.list.chroot
@@ -1 +1,2 @@
deb http://dev.packages.vyos.net/vyos current main
+deb http://security.debian.org/ jessie/updates main
diff --git a/data/live-build-config/hooks/14-firmware-linux-nonfree.chroot b/data/live-build-config/hooks/14-firmware-linux-nonfree.chroot
index 3cb7dc6b..887831cc 100755
--- a/data/live-build-config/hooks/14-firmware-linux-nonfree.chroot
+++ b/data/live-build-config/hooks/14-firmware-linux-nonfree.chroot
@@ -2,5 +2,11 @@
cp /etc/apt/sources.list /etc/apt/sources.list.d/non-free.list
sed -i 's/main/non-free/g' /etc/apt/sources.list.d/non-free.list
+
+if [ -e /etc/apt/sources.list.d/zz-sources.list ] ; then
+ cp /etc/apt/sources.list /etc/apt/sources.list.d/zz-non-free.list
+ sed -i 's/main/non-free/g' /etc/apt/sources.list.d/zz-non-free.list
+fi
+
apt-get update
apt-get -y install firmware-linux-nonfree