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
This commit is contained in:
Richard Purdie
2008-05-20 14:16:48 +00:00
parent 76df5abe0b
commit 6a468efd9a
4 changed files with 11 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
# Author: Richard Purdie <rpurdie@openedhand.com>
#
PKGSYSTEM=/usr/dpkg
PKGSYSTEM=/var/dpkg
if [ ! -e $PKGSYSTEM/status ]; then
if [ -e /usr/lib/opkg/status ]; then

View File

@@ -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=""

View File

@@ -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"