From e4ba78ff1c8d4099c66492ea385f1e8edd289c65 Mon Sep 17 00:00:00 2001 From: Zhai Edwin Date: Wed, 30 Nov 2011 07:24:18 +0800 Subject: [PATCH] eee-acpi-scritps: Upgrade to 1.1.12 via git tag (From OE-Core rev: ba6441316651ba1739f7e827b46653f78c099721) Signed-off-by: Zhai Edwin Signed-off-by: Richard Purdie --- .../eee-acpi-scripts/eee-acpi-scripts_git.bb | 6 +- .../files/remove-doc-check.patch | 74 +++++++++---------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb b/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb index b721bb5c11..244cd941df 100644 --- a/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb +++ b/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb @@ -5,9 +5,9 @@ SECTION = "base" LICENSE="GPL" LIC_FILES_CHKSUM = "file://debian/copyright;md5=77ef83ab5f4af938a93edb61f7b74f2c" -SRCREV = "e224937ba51165e2a52252f9a113c8a82c01bb36" -PV = "1.1.11+git${SRCPV}" -PR = "r4" +SRCREV = "9d4cdedca25b396405f8587f9c4fbf8229e041c2" +PV = "1.1.12+git${SRCPV}" +PR = "r0" RDEPENDS_${PN} = "pm-utils" 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,46 +7,12 @@ Upstream-Status: Inappropriate [configuration] -Index: git/eeepc-acpi-scripts/hotkey.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 - - 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 - FUNC_LIB=$PKG_DIR/lib/functions.sh - DEFAULT=/etc/default/$PKG --[ -e "$FUNC_LIB" ] || exit 0 - - case $(runlevel) in - *0|*6) -Index: git/eeepc-acpi-scripts/vga-toggle.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 -@@ -1,12 +1,10 @@ - #!/bin/sh - - 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 - FUNC_LIB=$PKG_DIR/lib/functions.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 =================================================================== ---- 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 +--- 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 @@ - test -d /sys/bus/platform/devices/eeepc || exit 0 + [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0 # Volume controls -# do nothing if package is removed @@ -58,3 +24,37 @@ Index: git/eeepc-acpi-scripts/volume.sh . $FUNC_LIB . $PKG_DIR/lib/sound.sh +Index: git/eeepc-acpi-scripts/hotkey.sh +=================================================================== +--- 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 + + [ -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 + FUNC_LIB=$PKG_DIR/lib/functions.sh + DEFAULT=/etc/default/$PKG +-[ -e "$FUNC_LIB" ] || exit 0 + + case $(runlevel) in + *0|*6) +Index: git/eeepc-acpi-scripts/vga-toggle.sh +=================================================================== +--- 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 + FUNC_LIB=$PKG_DIR/lib/functions.sh + DEFAULT=/etc/default/$PKG +-[ -e "$FUNC_LIB" ] || exit 0 + + if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi + . $FUNC_LIB