[yocto] [PATCH 1/1] run-postinsts does not run any scripts

Saul Wold sgw at linux.intel.com
Thu Aug 16 10:42:55 PDT 2012


On 07/09/2012 05:19 AM, Kenneth Solbjerg wrote:
> 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
>
>
Merged into OE-Core

Thanks
	Sau!

> --
> Med venlig hilsen / Best regards
>
> Kenneth Solbjerg
> Software Specialist
>
> Move Innovation
> Web : http://www.moveinnovation.dk
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>



More information about the yocto mailing list