use latest linux firmware for lucid

pull/8/head
Robert Nelson 15 years ago
parent d557d9f237
commit d472a5107e

@ -62,8 +62,17 @@ if [ "${FIRMWARE}" ] ; then
case "$DIST" in case "$DIST" in
lucid) lucid)
wget -c --directory-prefix=${DIR}/deploy/${DIST} http://ports.ubuntu.com/pool/main/l/linux-firmware/linux-firmware_1.34_all.deb rm -f ${DIR}/deploy/index.html || true
wget -c --directory-prefix=${DIR}/deploy/${DIST} http://ports.ubuntu.com/pool/multiverse/l/linux-firmware-nonfree/linux-firmware-nonfree_1.8_all.deb wget --directory-prefix=${DIR}/deploy/ http://ports.ubuntu.com/pool/main/l/linux-firmware/
LUCID_FW=$(cat ${DIR}/deploy/index.html | grep 1.34 | grep linux-firmware | grep _all.deb | head -1 | awk -F"\"" '{print $8}')
wget -c --directory-prefix=${DIR}/deploy/${DIST} http://ports.ubuntu.com/pool/main/l/linux-firmware/${LUCID_FW}
LUCID_FW=${LUCID_FW##*/}
rm -f ${DIR}/deploy/index.html || true
wget --directory-prefix=${DIR}/deploy/ http://ports.ubuntu.com/pool/multiverse/l/linux-firmware-nonfree/
LUCID_NONF_FW=$(cat ${DIR}/deploy/index.html | grep 1.8 | grep linux-firmware-nonfree | grep _all.deb | head -1 | awk -F"\"" '{print $8}')
wget -c --directory-prefix=${DIR}/deploy/${DIST} http://ports.ubuntu.com/pool/multiverse/l/linux-firmware-nonfree/${LUCID_NONF_FW}
LUCID_NONF_FW=${LUCID_NONF_FW##*/}
;; ;;
squeeze) squeeze)
#from: http://packages.debian.org/source/squeeze/firmware-nonfree #from: http://packages.debian.org/source/squeeze/firmware-nonfree
@ -120,8 +129,8 @@ if [ "${FIRMWARE}" ] ; then
case "$DIST" in case "$DIST" in
lucid) lucid)
sudo dpkg -x ${DIR}/deploy/${DIST}/linux-firmware_1.34_all.deb ${DIR}/initrd-tree sudo dpkg -x ${DIR}/deploy/${DIST}/${LUCID_FW} ${DIR}/initrd-tree
sudo dpkg -x ${DIR}/deploy/${DIST}/linux-firmware-nonfree_1.8_all.deb ${DIR}/initrd-tree sudo dpkg -x ${DIR}/deploy/${DIST}/${LUCID_NONF_FW} ${DIR}/initrd-tree
;; ;;
squeeze) squeeze)
#from: http://packages.debian.org/source/squeeze/firmware-nonfree #from: http://packages.debian.org/source/squeeze/firmware-nonfree

Loading…
Cancel
Save