mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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=""
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user