summaryrefslogtreecommitdiff
path: root/packages/apmd/apmd_3.2.2.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-01-26 16:59:16 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-26 16:59:16 +0000
commit8d17ee65c66e5e6af8a835c43ef7567b9451144e (patch)
tree81271ed5088561e1118fa1ef98f983da5573dc4e /packages/apmd/apmd_3.2.2.bb
parentba8c1624b6e26e750a9b6faf9cc31f766d999035 (diff)
apm: finally fixed suspend/resume problem on Zaurus with 2.4-crapix
- rewritten /usr/bin/apm wrapper from shell to C and added into apm - now Zaurus machines can be suspended by non-root users - die Sharp, die!
Diffstat (limited to 'packages/apmd/apmd_3.2.2.bb')
-rw-r--r--packages/apmd/apmd_3.2.2.bb25
1 files changed, 3 insertions, 22 deletions
diff --git a/packages/apmd/apmd_3.2.2.bb b/packages/apmd/apmd_3.2.2.bb
index 0e8b364458..206c520f8a 100644
--- a/packages/apmd/apmd_3.2.2.bb
+++ b/packages/apmd/apmd_3.2.2.bb
@@ -3,12 +3,12 @@ SECTION = "base"
PRIORITY = "required"
DEPENDS = "libtool-cross"
LICENSE = "GPL"
-PR = "r5"
+PR = "r6"
SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \
file://debian.patch;patch=1 \
file://workaround.patch;patch=1 \
- file://apmwrapper \
+ file://zaurus24.patch;patch=1 \
file://init \
file://default \
file://apmd_proxy \
@@ -44,25 +44,8 @@ do_install() {
install -d ${D}${bindir}
install -d ${D}${libdir}
install -d ${D}${datadir}/apmd
-#
-# only Zaurus 2.4-embedix kernels need a breadead apm hack
-#
-#
- case ${MACHINE} in
- collie | poodle | tosa | c7x0 | akita | spitz | borzoi)
- if [ "${KERNEL_VERSION}" == "2.6" ]
- then
- install -m 4577 ${S}/.libs/apm ${D}${bindir}/apm
- else
- install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm.orig
- install -m 0755 ${WORKDIR}/apmwrapper ${D}${bindir}/apm
- fi
- ;;
- *)
- install -m 4577 ${S}/.libs/apm ${D}${bindir}/apm
- ;;
- esac
+ install -m 4577 ${S}/.libs/apm ${D}${bindir}/apm
install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd
install -m 0755 ${WORKDIR}/apmd_proxy ${D}${sysconfdir}/apm/
install -m 0644 ${WORKDIR}/apmd_proxy.conf ${D}${datadir}/apmd/
@@ -79,5 +62,3 @@ PACKAGES =+ "libapm libapm-dev apm"
FILES_libapm = "${libdir}/libapm.so.*"
FILES_libapm-dev = "${libdir}/libapm.* ${includedir}"
FILES_apm = "${bindir}/apm*"
-
-