summaryrefslogtreecommitdiffstats
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:26:37 +0100
commitdd28dee711822b47f15a0ff6b843e0e02409ecd7 (patch)
tree755331b1f1c39ea41691ec8249034fdda15cab69 /meta/recipes-devtools/dpkg
parent264a6e4982bdaf830bb22b26d4a196d4f0ef7b7d (diff)
downloadast2050-yocto-poky-dd28dee711822b47f15a0ff6b843e0e02409ecd7.zip
ast2050-yocto-poky-dd28dee711822b47f15a0ff6b843e0e02409ecd7.tar.gz
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... (From OE-Core rev: e782cefd53cf3d3cc8ad7484335a697f9dde5751) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 18a0492..cbc8d1a 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
OpenPOWER on IntegriCloud