summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-06-06 07:00:59 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-06 07:00:59 +0000
commit1be88549881ef8920e418c2163c98f39cf820598 (patch)
tree5b9dbaaf11884c19cec4226ca29128347bc1f3b0
parentb5d213c76a69dc12a41d688b78c4dd5344880a28 (diff)
ipaq-sleep: Fix /e/i/ipaq-sleep stop for busybox start-stop-daemon as gpe-conf sleep depends on it to work
-rw-r--r--packages/ipaq-sleep/files/.mtn2git_empty0
-rw-r--r--packages/ipaq-sleep/files/init-script-busybox.patch11
-rw-r--r--packages/ipaq-sleep/ipaq-sleep_0.9.bb4
3 files changed, 15 insertions, 0 deletions
diff --git a/packages/ipaq-sleep/files/.mtn2git_empty b/packages/ipaq-sleep/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ipaq-sleep/files/.mtn2git_empty
diff --git a/packages/ipaq-sleep/files/init-script-busybox.patch b/packages/ipaq-sleep/files/init-script-busybox.patch
new file mode 100644
index 0000000000..9a8685de68
--- /dev/null
+++ b/packages/ipaq-sleep/files/init-script-busybox.patch
@@ -0,0 +1,11 @@
+--- ipaq-sleep-0.9/ipaq-sleep.init.orig 2006-06-05 12:11:38.889777832 +0200
++++ ipaq-sleep-0.9/ipaq-sleep.init 2006-06-05 12:11:53.059623688 +0200
+@@ -9,7 +9,7 @@
+ ;;
+ stop)
+ echo -n "Stopping sleep daemon: ipaq-sleep"
+- /sbin/start-stop-daemon --stop --quiet --oknodo --exec /usr/bin/ipaq-sleep
++ /sbin/start-stop-daemon --stop --quiet --exec /usr/bin/ipaq-sleep
+ echo "."
+ ;;
+ *)
diff --git a/packages/ipaq-sleep/ipaq-sleep_0.9.bb b/packages/ipaq-sleep/ipaq-sleep_0.9.bb
index a63ec83a7c..17d80eff69 100644
--- a/packages/ipaq-sleep/ipaq-sleep_0.9.bb
+++ b/packages/ipaq-sleep/ipaq-sleep_0.9.bb
@@ -6,5 +6,9 @@ DEPENDS = "apmd virtual/xserver xextensions libx11 libxau xscrnsaverh libxss"
SECTION = "x11/base"
RDEPENDS = "apm"
+SRC_URI_append = " file://init-script-busybox.patch;patch=1"
+
+PR = "r1"
+
DESCRIPTION = "Automatic sleep/suspend control daemon"