summaryrefslogtreecommitdiff
path: root/data/live-build-config
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-05-24 10:00:20 +0000
committerKim Hagen <kim.sidney@gmail.com>2016-05-24 10:00:20 +0000
commit826fa1a973ffdfee54691bae7a3cb6a51ecaf230 (patch)
treec988b198ffe3f6dcaa5ffb4f5d920090e9dc63d5 /data/live-build-config
parent9077fc0d3832de0644c9e501d3418d2e1f81cfa8 (diff)
downloadvyos-build-826fa1a973ffdfee54691bae7a3cb6a51ecaf230.tar.gz
vyos-build-826fa1a973ffdfee54691bae7a3cb6a51ecaf230.zip
add build options for clearfog
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