diff options
author | Koen Kooi <koen@openembedded.org> | 2007-05-01 12:20:18 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-05-01 12:20:18 +0000 |
commit | 8b31361c55e8905332b9d2691ad81c05f51e905a (patch) | |
tree | 3cecdc0e9b7b98384b342ef39be6ee85e5953475 | |
parent | cc0b957aa36df807344e5ef3a12358eb2430383b (diff) |
xtscal: reinstate tr toupper filter so everything works again.
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
-rw-r--r-- | packages/xtscal/xtscal/xtscal-cxk.patch | 4 | ||||
-rw-r--r-- | packages/xtscal/xtscal_0.6.3.bb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/xtscal/xtscal/xtscal-cxk.patch b/packages/xtscal/xtscal/xtscal-cxk.patch index d97e5a118f..fbca56abd7 100644 --- a/packages/xtscal/xtscal/xtscal-cxk.patch +++ b/packages/xtscal/xtscal/xtscal-cxk.patch @@ -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 diff --git a/packages/xtscal/xtscal_0.6.3.bb b/packages/xtscal/xtscal_0.6.3.bb index 756b9a2dae..c19fcaf93d 100644 --- a/packages/xtscal/xtscal_0.6.3.bb +++ b/packages/xtscal/xtscal_0.6.3.bb @@ -1,5 +1,5 @@ require xtscal.inc -PR = "r4" +PR = "r5" SRC_URI += "file://xtscal-cxk.patch;patch=1" |