From 6a468efd9abf118f491d1dcd2678bef6b04cc515 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 20 May 2008 14:16:48 +0000 Subject: 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 --- meta/packages/meta/run-postinsts/run-postinsts | 2 +- meta/packages/meta/run-postinsts/run-postinsts.awk | 2 +- meta/packages/meta/run-postinsts_1.0.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/packages') diff --git a/meta/packages/meta/run-postinsts/run-postinsts b/meta/packages/meta/run-postinsts/run-postinsts index 46b3327f4..f632d1c7d 100755 --- a/meta/packages/meta/run-postinsts/run-postinsts +++ b/meta/packages/meta/run-postinsts/run-postinsts @@ -5,7 +5,7 @@ # Author: Richard Purdie # -PKGSYSTEM=/usr/dpkg +PKGSYSTEM=/var/dpkg if [ ! -e $PKGSYSTEM/status ]; then 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 bdea8c95a..09a1400cf 100644 --- a/meta/packages/meta/run-postinsts/run-postinsts.awk +++ b/meta/packages/meta/run-postinsts/run-postinsts.awk @@ -9,7 +9,7 @@ BEGIN { rc=system("test -d /usr/dpkg/info/") if (rc==0) - pkgdir="/usr/dpkg/info" + pkgdir="/var/dpkg/info" else pkgdir="/usr/lib/opkg/info" package="" diff --git a/meta/packages/meta/run-postinsts_1.0.bb b/meta/packages/meta/run-postinsts_1.0.bb index ec3412738..79333dc7f 100644 --- a/meta/packages/meta/run-postinsts_1.0.bb +++ b/meta/packages/meta/run-postinsts_1.0.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Run postinstall scripts on device using awk" SECTION = "devel" -PR = "r4" +PR = "r6" SRC_URI = "file://run-postinsts file://run-postinsts.awk" -- cgit v1.2.3