summaryrefslogtreecommitdiffstats
path: root/meta/packages/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-20 14:16:48 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-20 14:16:48 +0000
commit6a468efd9abf118f491d1dcd2678bef6b04cc515 (patch)
tree04763ad698da7d055149f2eda149b571912234ae /meta/packages/meta
parent76df5abe0b9d1e3a9125e51e12cbd1cf3b18366e (diff)
downloadpoky-6a468efd9abf118f491d1dcd2678bef6b04cc515.tar.gz
rootfs_deb.bbclass: Use /var/dpkg for dpkg status data
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4511 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/meta')
-rwxr-xr-xmeta/packages/meta/run-postinsts/run-postinsts2
-rw-r--r--meta/packages/meta/run-postinsts/run-postinsts.awk2
-rw-r--r--meta/packages/meta/run-postinsts_1.0.bb2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/meta/run-postinsts/run-postinsts b/meta/packages/meta/run-postinsts/run-postinsts
index 46b3327f4f..f632d1c7d3 100755
--- a/meta/packages/meta/run-postinsts/run-postinsts
+++ b/meta/packages/meta/run-postinsts/run-postinsts
@@ -5,7 +5,7 @@
5# Author: Richard Purdie <rpurdie@openedhand.com> 5# Author: Richard Purdie <rpurdie@openedhand.com>
6# 6#
7 7
8PKGSYSTEM=/usr/dpkg 8PKGSYSTEM=/var/dpkg
9 9
10if [ ! -e $PKGSYSTEM/status ]; then 10if [ ! -e $PKGSYSTEM/status ]; then
11 if [ -e /usr/lib/opkg/status ]; then 11 if [ -e /usr/lib/opkg/status ]; then
diff --git a/meta/packages/meta/run-postinsts/run-postinsts.awk b/meta/packages/meta/run-postinsts/run-postinsts.awk
index bdea8c95ad..09a1400cf4 100644
--- a/meta/packages/meta/run-postinsts/run-postinsts.awk
+++ b/meta/packages/meta/run-postinsts/run-postinsts.awk
@@ -9,7 +9,7 @@
9BEGIN { 9BEGIN {
10 rc=system("test -d /usr/dpkg/info/") 10 rc=system("test -d /usr/dpkg/info/")
11 if (rc==0) 11 if (rc==0)
12 pkgdir="/usr/dpkg/info" 12 pkgdir="/var/dpkg/info"
13 else 13 else
14 pkgdir="/usr/lib/opkg/info" 14 pkgdir="/usr/lib/opkg/info"
15 package="" 15 package=""
diff --git a/meta/packages/meta/run-postinsts_1.0.bb b/meta/packages/meta/run-postinsts_1.0.bb
index ec34127385..79333dc7fe 100644
--- a/meta/packages/meta/run-postinsts_1.0.bb
+++ b/meta/packages/meta/run-postinsts_1.0.bb
@@ -1,6 +1,6 @@
1DESCRIPTION = "Run postinstall scripts on device using awk" 1DESCRIPTION = "Run postinstall scripts on device using awk"
2SECTION = "devel" 2SECTION = "devel"
3PR = "r4" 3PR = "r6"
4 4
5SRC_URI = "file://run-postinsts file://run-postinsts.awk" 5SRC_URI = "file://run-postinsts file://run-postinsts.awk"
6 6