[yocto] [PATCH 1/1] run-postinsts does not run any scripts
Kenneth Solbjerg
kenneth.solbjerg at moveinnovation.dk
Thu Jul 5 04:12:12 PDT 2012
Hi
Sorry for any mistakes, but this is my first patch...
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...
Index: poky-denzil-7.0/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
===================================================================
--- poky-denzil-7.0.orig/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk 2012-07-05
13:00:23.026519188 +0200
+++ poky-denzil-7.0/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk 2012-07-05
13:00:48.054519384 +0200
@@ -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
--
Med venlig hilsen / Best regards
Kenneth Solbjerg
Software Specialist
Move Innovation
Web : http://www.moveinnovation.dk
More information about the yocto
mailing list