From 07b4c0676b1c33bceb68c3ecece3d229c5ea61e2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 23 Oct 2008 21:10:28 +0100 Subject: spectrum-fw: Use the standard fetcher process --- meta/packages/orinoco/spectrum-fw.bb | 5 +++-- meta/packages/orinoco/spectrum-fw/get_symbol_fw | 22 ++++------------------ 2 files changed, 7 insertions(+), 20 deletions(-) (limited to 'meta') diff --git a/meta/packages/orinoco/spectrum-fw.bb b/meta/packages/orinoco/spectrum-fw.bb index f2e11eea7..2799878b6 100644 --- a/meta/packages/orinoco/spectrum-fw.bb +++ b/meta/packages/orinoco/spectrum-fw.bb @@ -1,9 +1,10 @@ DESCRIPTION = "Firmware for Spectrum Wireless LAN cards" DEPENDS += " unzip-native " LICENSE = "unknown" -PR = "r1" +PR = "r2" -SRC_URI = "file://get_symbol_fw \ +SRC_URI = "ftp://symstore.longisland.com/Symstore/services_download/wirless_prod/MC&DriverOnlyInstallers.zip \ + file://get_symbol_fw \ file://parse_symbol_fw" S = "${WORKDIR}" diff --git a/meta/packages/orinoco/spectrum-fw/get_symbol_fw b/meta/packages/orinoco/spectrum-fw/get_symbol_fw index e7b0bf2d4..80420b01a 100755 --- a/meta/packages/orinoco/spectrum-fw/get_symbol_fw +++ b/meta/packages/orinoco/spectrum-fw/get_symbol_fw @@ -15,29 +15,15 @@ set -e -URL_BASE='ftp://symstore.longisland.com/Symstore/services_download/wirless_prod/' -DL_FILE='MC&DriverOnlyInstallers.zip' DL_INT1='S24DRVR392B67-01.exe' DL_INT2='Driver Only Installer/NetWLan5.sys' DRIVER1=symbol1.drv DRIVER2=symbol2.drv -get_file() { - curl --remote-name "$1" || \ - wget --passive-ftp "$1" || \ - wget "$1" || \ - ftp "$1" $DRIVER1 -unzip -p $DRIVER1 "$DL_INT2" >$DRIVER2 - +unzip -p $DL_INT1 "$DL_INT2" >$DRIVER2 + perl parse_symbol_fw $DRIVER2 spectrum_fw.h symbol_sp24t_prim_fw \ symbol_sp24t_sec_fw -rm -f $DRIVER1 $DRIVER2 \ No newline at end of file +rm -f $DRIVER1 $DRIVER2 + -- cgit v1.2.3