summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/dpkg
diff options
context:
space:
mode:
authorKenneth Solbjerg <kenneth.solbjerg@moveinnovation.dk>2012-07-09 14:19:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:42 +0100
commite782cefd53cf3d3cc8ad7484335a697f9dde5751 (patch)
tree7b055f61f20a4ef0b99056279f685a21c4aa7eaa /meta/recipes-devtools/dpkg
parentf8b25d33e154173e2ce022c88563c6be872ce4b4 (diff)
downloadopenembedded-core-e782cefd53cf3d3cc8ad7484335a697f9dde5751.tar.gz
openembedded-core-e782cefd53cf3d3cc8ad7484335a697f9dde5751.tar.bz2
openembedded-core-e782cefd53cf3d3cc8ad7484335a697f9dde5751.zip
run-postinsts: Does not run any scripts on debian rootfs
On my system (core-image-base, .deb package files), run-postinsts does not run any scripts due to a failed test in run-postinsts.awk. As dpkg is not actually installed on target, opkg is identified as the pkgdir and that is not right... Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r--meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
index 18a0492fc0..cbc8d1a109 100644
--- a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
+++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
@@ -7,7 +7,7 @@
#
BEGIN {
- rc=system("test -d /usr/dpkg/info/")
+ rc=system("test -d /var/lib/dpkg/info/")
if (rc==0)
pkgdir="/var/lib/dpkg/info"
else