xtscal: reinstate tr toupper filter so everything works again.
authorKoen Kooi <koen@openembedded.org>
Tue, 1 May 2007 12:20:18 +0000 (12:20 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 1 May 2007 12:20:18 +0000 (12:20 +0000)
NOTE: it would be nice if machine maintainers run the script on their device instead of pasting a line from /proc/cpuinfo. If the htc universal people had done so, they would have noticed everything comes up in *uppercase*. So xtscal wasn't broken

packages/xtscal/xtscal/xtscal-cxk.patch
packages/xtscal/xtscal_0.6.3.bb

index d97e5a1..fbca56a 100644 (file)
@@ -6,7 +6,7 @@
  module_id() {
 -    # Get model name
 -    echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z`
-+        awk 'BEGIN { FS=": " } /Hardware/ { print $2 }' </proc/cpuinfo
++        awk 'BEGIN { FS=": " } /Hardware/ { print $2 }' </proc/cpuinfo | tr a-z A-Z
  }
  
  case `module_id` in
@@ -17,7 +17,7 @@
 -      # H2200: works without rotation
 +       "HP IPAQ H3100" | "HP IPAQ H3800" )
 +               ARGS="-rotate 90" ;;
-+       "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | "HTC Universal" | *COLLIE | *POODLE | *Spitz | *Akita | *Borzoi)
++       "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | "HTC UNIVERSAL" | *COLLIE | *POODLE | *SPITZ | *AKITA | *BORZOI)
 +               ARGS="-rotate 270" ;;
 +       # H2200: works without rotation
  esac
index 756b9a2..c19fcaf 100644 (file)
@@ -1,5 +1,5 @@
 require xtscal.inc
 
-PR = "r4"
+PR = "r5"
 
 SRC_URI += "file://xtscal-cxk.patch;patch=1"