diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch')
-rw-r--r-- | yocto-poky/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch b/yocto-poky/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch new file mode 100644 index 000000000..efb3dca7a --- /dev/null +++ b/yocto-poky/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch @@ -0,0 +1,60 @@ +--- + actions/hotkey.sh | 3 --- + actions/suspend.sh | 3 --- + actions/vga-toggle.sh | 3 --- + actions/volume.sh | 3 --- + 4 files changed, 12 deletions(-) + +Upstream-Status: Inappropriate [configuration] + +Index: git/eeepc-acpi-scripts/volume.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 + +-# 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 + + . $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 |