[oe-commits] org.oe.dev xtscal: reinstate tr toupper filter so everything works again.

koen commit openembedded-commits at lists.openembedded.org
Tue May 1 14:25:54 UTC 2007


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

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 53e01bb2b4e2632ae8ee8f97acb15267136337d6
ViewMTN: http://monotone.openembedded.org/revision.psp?id=53e01bb2b4e2632ae8ee8f97acb15267136337d6
Files:
1
packages/xtscal/xtscal/xtscal-cxk.patch
packages/xtscal/xtscal_0.6.3.bb
Diffs:

#
# mt diff -r147dd5eb073f4cdf2cdb51c55de1ad01ae8907fd -r53e01bb2b4e2632ae8ee8f97acb15267136337d6
#
# 
# 
# patch "packages/xtscal/xtscal/xtscal-cxk.patch"
#  from [dccc1fb45dd89a3a809d6548f692afc8f130a00e]
#    to [1e70887ba8c16d66ad11b7f467b160073fb81c0c]
# 
# patch "packages/xtscal/xtscal_0.6.3.bb"
#  from [708b497c4542744bf0caacbf0d7e18ddb52de210]
#    to [a9f8bbf63e4502de57cb4f68a6b6609b5b824348]
# 
============================================================
--- packages/xtscal/xtscal/xtscal-cxk.patch	dccc1fb45dd89a3a809d6548f692afc8f130a00e
+++ packages/xtscal/xtscal/xtscal-cxk.patch	1e70887ba8c16d66ad11b7f467b160073fb81c0c
@@ -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
============================================================
--- packages/xtscal/xtscal_0.6.3.bb	708b497c4542744bf0caacbf0d7e18ddb52de210
+++ packages/xtscal/xtscal_0.6.3.bb	a9f8bbf63e4502de57cb4f68a6b6609b5b824348
@@ -1,5 +1,5 @@ require xtscal.inc
 require xtscal.inc
 
-PR = "r4"
+PR = "r5"
 
 SRC_URI += "file://xtscal-cxk.patch;patch=1"






More information about the Openembedded-commits mailing list