diff --git a/mk_mmc.sh b/mk_mmc.sh index fe93930..6a8c2b4 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -219,6 +219,10 @@ case "$DIST" in MAVERICK_NONF_FW=$(cat ${TEMPDIR}/dl/index.html | grep 1.9 | grep linux-firmware-nonfree | grep _all.deb | head -1 | awk -F"\"" '{print $8}') wget -c --directory-prefix=${DIR}/dl/${DIST} http://ports.ubuntu.com/pool/multiverse/l/linux-firmware-nonfree/${MAVERICK_NONF_FW} MAVERICK_NONF_FW=${MAVERICK_NONF_FW##*/} + + #ar9170 + wget -c --directory-prefix=${DIR}/dl/${DIST} http://www.kernel.org/pub/linux/kernel/people/chr/carl9170/fw/1.9.2/carl9170-1.fw + AR9170_FW="carl9170-1.fw" ;; squeeze) #from: http://packages.debian.org/source/squeeze/firmware-nonfree @@ -283,6 +287,7 @@ case "$DIST" in maverick) sudo dpkg -x ${DIR}/dl/${DIST}/${MAVERICK_FW} ${TEMPDIR}/initrd-tree sudo dpkg -x ${DIR}/dl/${DIST}/${MAVERICK_NONF_FW} ${TEMPDIR}/initrd-tree + sudo cp -v ${DIR}/dl/${DIST}/${AR9170_FW} ${TEMPDIR}/initrd-tree/lib/firmware/ ;; squeeze) #from: http://packages.debian.org/source/squeeze/firmware-nonfree