[oe-commits] Kenneth Solbjerg : run-postinsts: Does not run any scripts on debian rootfs
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 15 13:31:58 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: e782cefd53cf3d3cc8ad7484335a697f9dde5751
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e782cefd53cf3d3cc8ad7484335a697f9dde5751
Author: Kenneth Solbjerg <kenneth.solbjerg at moveinnovation.dk>
Date: Mon Jul 9 14:19:48 2012 +0200
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 at linux.intel.com>
---
.../dpkg/run-postinsts/run-postinsts.awk | 2 +-
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
More information about the Openembedded-commits
mailing list