diff options
Diffstat (limited to 'data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot')
-rwxr-xr-x | data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot b/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot new file mode 100755 index 0000000..887831c --- /dev/null +++ b/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot @@ -0,0 +1,12 @@ +#!/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 + +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 |