summaryrefslogtreecommitdiff
path: root/packages/apmd
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-18 18:26:10 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-18 18:26:10 +0000
commit6e65f76c3d5946817e285b93d73d6475c7f0da42 (patch)
treeab5658fad93e10cc7f5b7491b57f2c938d575edf /packages/apmd
parentc4b744dbb34a1d8c5b0d9ab5f52d387366cad69e (diff)
apmd|hostap|orinoco: move the fix for bug 3664 into a separate package
* the package is RRECOMMENDS and should be installed automatically, but can be removed if one so desires * reorder some fields according to StyleGuide * bump PR
Diffstat (limited to 'packages/apmd')
-rw-r--r--packages/apmd/apm-wifi-suspendfix_0.1.bb10
-rw-r--r--packages/apmd/apmd_3.2.2.bb4
-rw-r--r--packages/apmd/files/.mtn2git_empty0
-rw-r--r--packages/apmd/files/90-wifi-off (renamed from packages/apmd/apmd-3.2.2/90-wifi-off)0
4 files changed, 11 insertions, 3 deletions
diff --git a/packages/apmd/apm-wifi-suspendfix_0.1.bb b/packages/apmd/apm-wifi-suspendfix_0.1.bb
new file mode 100644
index 0000000000..ab9959f3f1
--- /dev/null
+++ b/packages/apmd/apm-wifi-suspendfix_0.1.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Hacky workaround for bug 3664 (some wifi cards don't recover from suspend) until a real fix is found"
+AUTHOR = "Rolf Leggewie"
+PR = "r0"
+
+SRC_URI = "file://90-wifi-off"
+
+do_install() {
+ install -d ${D}${sysconfdir}/apm/suspend.d
+ install -m 0755 ${WORKDIR}/90-wifi-off ${D}${sysconfdir}/apm/suspend.d
+}
diff --git a/packages/apmd/apmd_3.2.2.bb b/packages/apmd/apmd_3.2.2.bb
index e9f5c0cbef..eede501d5b 100644
--- a/packages/apmd/apmd_3.2.2.bb
+++ b/packages/apmd/apmd_3.2.2.bb
@@ -3,7 +3,7 @@ SECTION = "base"
PRIORITY = "required"
DEPENDS = "libtool-cross"
LICENSE = "GPL"
-PR = "r9"
+PR = "r10"
SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz \
file://debian.patch;patch=1 \
@@ -12,7 +12,6 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz \
file://unlinux.patch;patch=1 \
file://init \
file://default \
- file://90-wifi-off \
file://apmd_proxy \
file://apmd_proxy.conf"
@@ -50,7 +49,6 @@ do_install() {
install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm
install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd
- install -m 0755 ${WORKDIR}/90-wifi-off ${D}${sysconfdir}/apm/suspend.d
install -m 0755 ${WORKDIR}/apmd_proxy ${D}${sysconfdir}/apm/
install -m 0644 ${WORKDIR}/apmd_proxy.conf ${D}${datadir}/apmd/
install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/apmd
diff --git a/packages/apmd/files/.mtn2git_empty b/packages/apmd/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/apmd/files/.mtn2git_empty
diff --git a/packages/apmd/apmd-3.2.2/90-wifi-off b/packages/apmd/files/90-wifi-off
index c54936c4be..c54936c4be 100644
--- a/packages/apmd/apmd-3.2.2/90-wifi-off
+++ b/packages/apmd/files/90-wifi-off