summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp/eee-acpi-scripts/files
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2011-11-30 07:24:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-30 22:11:28 +0000
commitba6441316651ba1739f7e827b46653f78c099721 (patch)
treef3c56069d8d70109735ccf9fd39c855e50c07854 /meta/recipes-bsp/eee-acpi-scripts/files
parent4a80d46baee6d845c7d6afea1ef9a4240bcbe15a (diff)
downloadopenembedded-core-ba6441316651ba1739f7e827b46653f78c099721.tar.gz
openembedded-core-ba6441316651ba1739f7e827b46653f78c099721.tar.bz2
openembedded-core-ba6441316651ba1739f7e827b46653f78c099721.zip
eee-acpi-scritps: Upgrade to 1.1.12 via git tag
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/eee-acpi-scripts/files')
-rw-r--r--meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch42
1 files changed, 21 insertions, 21 deletions
diff --git a/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch b/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
index fc2c29120b..efb3dca7ac 100644
--- a/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
+++ b/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
@@ -7,14 +7,14 @@
Upstream-Status: Inappropriate [configuration]
-Index: git/eeepc-acpi-scripts/hotkey.sh
+Index: git/eeepc-acpi-scripts/volume.sh
===================================================================
---- git.orig/eeepc-acpi-scripts/hotkey.sh 2010-11-28 16:02:17.000000000 +0800
-+++ git/eeepc-acpi-scripts/hotkey.sh 2010-11-28 16:02:44.000000000 +0800
-@@ -1,12 +1,10 @@
- #!/bin/sh
+--- git.orig/eeepc-acpi-scripts/volume.sh 2011-11-29 19:21:55.000000000 +0800
++++ git/eeepc-acpi-scripts/volume.sh 2011-11-29 19:41:36.000000000 +0800
+@@ -3,12 +3,10 @@
+ [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0
+ # Volume controls
- test -d /sys/bus/platform/devices/eeepc || exit 0
-# do nothing if package is removed
PKG=eeepc-acpi-scripts
PKG_DIR=/usr/share/acpi-support/$PKG
@@ -22,16 +22,16 @@ Index: git/eeepc-acpi-scripts/hotkey.sh
DEFAULT=/etc/default/$PKG
-[ -e "$FUNC_LIB" ] || exit 0
- case $(runlevel) in
- *0|*6)
-Index: git/eeepc-acpi-scripts/vga-toggle.sh
+ . $FUNC_LIB
+ . $PKG_DIR/lib/sound.sh
+Index: git/eeepc-acpi-scripts/hotkey.sh
===================================================================
---- git.orig/eeepc-acpi-scripts/vga-toggle.sh 2010-11-28 16:03:57.000000000 +0800
-+++ git/eeepc-acpi-scripts/vga-toggle.sh 2010-11-28 16:04:03.000000000 +0800
+--- git.orig/eeepc-acpi-scripts/hotkey.sh 2011-11-29 19:21:55.000000000 +0800
++++ git/eeepc-acpi-scripts/hotkey.sh 2011-11-29 19:39:51.000000000 +0800
@@ -1,12 +1,10 @@
#!/bin/sh
- test -d /sys/bus/platform/devices/eeepc || exit 0
+ [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0
-# do nothing if package is removed
PKG=eeepc-acpi-scripts
PKG_DIR=/usr/share/acpi-support/$PKG
@@ -39,16 +39,16 @@ Index: git/eeepc-acpi-scripts/vga-toggle.sh
DEFAULT=/etc/default/$PKG
-[ -e "$FUNC_LIB" ] || exit 0
- if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi
- . $FUNC_LIB
-Index: git/eeepc-acpi-scripts/volume.sh
+ case $(runlevel) in
+ *0|*6)
+Index: git/eeepc-acpi-scripts/vga-toggle.sh
===================================================================
---- git.orig/eeepc-acpi-scripts/volume.sh 2010-11-28 16:04:34.000000000 +0800
-+++ git/eeepc-acpi-scripts/volume.sh 2010-11-28 16:04:40.000000000 +0800
-@@ -3,12 +3,10 @@
- test -d /sys/bus/platform/devices/eeepc || exit 0
- # Volume controls
+--- git.orig/eeepc-acpi-scripts/vga-toggle.sh 2011-11-29 19:21:55.000000000 +0800
++++ git/eeepc-acpi-scripts/vga-toggle.sh 2011-11-29 19:40:24.000000000 +0800
+@@ -1,12 +1,10 @@
+ #!/bin/sh
+ [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0
-# do nothing if package is removed
PKG=eeepc-acpi-scripts
PKG_DIR=/usr/share/acpi-support/$PKG
@@ -56,5 +56,5 @@ Index: git/eeepc-acpi-scripts/volume.sh
DEFAULT=/etc/default/$PKG
-[ -e "$FUNC_LIB" ] || exit 0
+ if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi
. $FUNC_LIB
- . $PKG_DIR/lib/sound.sh