summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot
blob: 887831cc20e7a91f992b3567ffabb52f644937cf (plain)
1
2
3
4
5
6
7
8
9
10
11
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