summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-03-11 06:02:56 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-03-11 06:02:56 -0500
commitdfd4089b97cdd767b4fb0ccc53aac95cb61fa087 (patch)
treed26891c69cc095cdc2b91f7c3766c640c057be76 /data
parent6b9627e678f587a556a578b6f7b838e3f193ffdb (diff)
downloadvyos-build-dfd4089b97cdd767b4fb0ccc53aac95cb61fa087.tar.gz
vyos-build-dfd4089b97cdd767b4fb0ccc53aac95cb61fa087.zip
Include non-free firmware in the image (ref T15).
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/13-firmware-linux-nonfree.chroot6
-rwxr-xr-xdata/live-build-config/hooks/14-sources_list.chroot (renamed from data/live-build-config/hooks/13-sources_list.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/15-fuse.chroot (renamed from data/live-build-config/hooks/14-fuse.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/16-gen_initramfs.chroot (renamed from data/live-build-config/hooks/15-gen_initramfs.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/17-disable_services.chroot (renamed from data/live-build-config/hooks/16-disable_services.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/18-kernel_symlinks.chroot (renamed from data/live-build-config/hooks/17-kernel_symlinks.chroot)0
6 files changed, 6 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/13-firmware-linux-nonfree.chroot b/data/live-build-config/hooks/13-firmware-linux-nonfree.chroot
new file mode 100755
index 00000000..3cb7dc6b
--- /dev/null
+++ b/data/live-build-config/hooks/13-firmware-linux-nonfree.chroot
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+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
+apt-get update
+apt-get -y install firmware-linux-nonfree
diff --git a/data/live-build-config/hooks/13-sources_list.chroot b/data/live-build-config/hooks/14-sources_list.chroot
index 956f9bba..956f9bba 100755
--- a/data/live-build-config/hooks/13-sources_list.chroot
+++ b/data/live-build-config/hooks/14-sources_list.chroot
diff --git a/data/live-build-config/hooks/14-fuse.chroot b/data/live-build-config/hooks/15-fuse.chroot
index 126dc626..126dc626 100755
--- a/data/live-build-config/hooks/14-fuse.chroot
+++ b/data/live-build-config/hooks/15-fuse.chroot
diff --git a/data/live-build-config/hooks/15-gen_initramfs.chroot b/data/live-build-config/hooks/16-gen_initramfs.chroot
index aced728a..aced728a 100755
--- a/data/live-build-config/hooks/15-gen_initramfs.chroot
+++ b/data/live-build-config/hooks/16-gen_initramfs.chroot
diff --git a/data/live-build-config/hooks/16-disable_services.chroot b/data/live-build-config/hooks/17-disable_services.chroot
index c68a6b3d..c68a6b3d 100755
--- a/data/live-build-config/hooks/16-disable_services.chroot
+++ b/data/live-build-config/hooks/17-disable_services.chroot
diff --git a/data/live-build-config/hooks/17-kernel_symlinks.chroot b/data/live-build-config/hooks/18-kernel_symlinks.chroot
index e63ca263..e63ca263 100755
--- a/data/live-build-config/hooks/17-kernel_symlinks.chroot
+++ b/data/live-build-config/hooks/18-kernel_symlinks.chroot