diff options
author | Kim <kim.sidney@gmail.com> | 2018-11-12 10:10:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 10:10:43 +0100 |
commit | e33f57928d6e8a3206ddafa827ac8d3b9b07974e (patch) | |
tree | 3229cfed4504037f0d141ec9a6625cdb8708880c /data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot | |
parent | a48a22a8113c0e98ed019c60b1f4c182550d3979 (diff) | |
parent | 8dcda0e05b0109e12280c446070b1fa94d0a6b4b (diff) | |
download | vyos-build-e33f57928d6e8a3206ddafa827ac8d3b9b07974e.tar.gz vyos-build-e33f57928d6e8a3206ddafa827ac8d3b9b07974e.zip |
Merge pull request #29 from UnicronNL/current
Add uefi to vyos-build
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 00000000..887831cc --- /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 |