From ecf3c84aea2e77eb7ef50e4a7a3f3572014c06ca Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 25 Jun 2014 02:47:54 +0200 Subject: Support non-free firmwares. (Can be required :-() Also, always install contrib's intel-microcode on Intel CPUs. --- preseed.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/preseed.sh b/preseed.sh index 425f08e..7da9f0d 100755 --- a/preseed.sh +++ b/preseed.sh @@ -57,6 +57,12 @@ rsync -aL ./include/ "$isoeditdir/include"/ find ./include \( \! -name '.*' -a -type f \) -print0 | \ xargs -r0 md5sum >> "$isoeditdir/md5sum.txt" +# non-free firmwares: +# wget -O - http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/wheezy/current/firmware.tar.gz | tar -C ./firmware -xz +#rsync -aL ./firmware/ "$isoeditdir/firmware"/ +#find ./firmware \( \! -name '.*' -a -type f \) -print0 | \ +# xargs -r0 md5sum >> "$isoeditdir/md5sum.txt" + # XXX: that's ugly dist=$(for x in "$isoeditdir"/dists/*; do [ -h "$x" ] && continue; [ -d "$x" ] && echo ${x##*/} && break; done) arch=$(for x in "$isoeditdir/dists/$dist/main"/binary-*; do test -d "$x" && echo ${x##*/binary-} && break; done) -- cgit v1.2.3