From 85150e648a42e7b51c267de3230f189169f1c3ef Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Sat, 27 May 2006 15:58:00 +0200 Subject: [PATCH] gpe-package: export PATH in wrapper script. fix metadata (dependencies, hardcoded paths). Signed-off-by: Rene Wagner --- .../packages/gpe-package/files/gpe-package | 5 ++++- .../packages/gpe-package/gpe-package_0.3.bb | 12 +++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/org.handhelds.familiar/packages/gpe-package/files/gpe-package b/org.handhelds.familiar/packages/gpe-package/files/gpe-package index 2555dfb..16af3ec 100644 --- a/org.handhelds.familiar/packages/gpe-package/files/gpe-package +++ b/org.handhelds.familiar/packages/gpe-package/files/gpe-package @@ -1,2 +1,5 @@ #!/bin/sh -exec /usr/bin/gpe-su -c /usr/sbin/gpe-package + +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + +exec gpe-su -c /usr/sbin/gpe-package diff --git a/org.handhelds.familiar/packages/gpe-package/gpe-package_0.3.bb b/org.handhelds.familiar/packages/gpe-package/gpe-package_0.3.bb index 55cc4ef..9310147 100644 --- a/org.handhelds.familiar/packages/gpe-package/gpe-package_0.3.bb +++ b/org.handhelds.familiar/packages/gpe-package/gpe-package_0.3.bb @@ -1,19 +1,17 @@ LICENSE = "GPL" -PR = "r2" +PR = "r3" inherit gpe pkgconfig DESCRIPTION = "A package manager GUI for GPE" -DEPENDS = "ipkg libgpewidget gpe-su" -RDEPENDS = "gpe-icons" +DEPENDS = "ipkg libgpewidget" +RDEPENDS = "gpe-icons gpe-su" SECTION = "gpe" PRIORITY = "optional" SRC_URI += " file://sbin-and-no-suid-install.patch;patch=1 \ file://gpe-package" -FILES_${PN} += " /usr/bin/gpe-package" - do_install_append() { - install -d ${D}/usr/bin - install -m 0755 ${WORKDIR}/gpe-package ${D}/usr/bin + install -d ${D}${bindir} + install -m 0755 ${WORKDIR}/gpe-package ${D}${bindir} } -- 2.41.1