* [PATCH 1/1] run-postinsts does not run any scripts
@ 2012-07-05 11:12 Kenneth Solbjerg
2012-07-09 12:19 ` Kenneth Solbjerg
0 siblings, 1 reply; 4+ messages in thread
From: Kenneth Solbjerg @ 2012-07-05 11:12 UTC (permalink / raw)
To: yocto
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] run-postinsts does not run any scripts
2012-07-05 11:12 [PATCH 1/1] run-postinsts does not run any scripts Kenneth Solbjerg
@ 2012-07-09 12:19 ` Kenneth Solbjerg
2012-08-16 17:42 ` Saul Wold
0 siblings, 1 reply; 4+ messages in thread
From: Kenneth Solbjerg @ 2012-07-09 12:19 UTC (permalink / raw)
To: yocto
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] [PATCH 1/1] run-postinsts does not run any scripts
2012-07-09 12:19 ` Kenneth Solbjerg
@ 2012-08-16 17:42 ` Saul Wold
0 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-08-16 17:42 UTC (permalink / raw)
To: Kenneth Solbjerg
Cc: yocto, 'Patches and discussions about the oe-core layer'
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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] run-postinsts does not run any scripts
@ 2012-08-16 17:42 ` Saul Wold
0 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-08-16 17:42 UTC (permalink / raw)
To: Kenneth Solbjerg
Cc: yocto, 'Patches and discussions about the oe-core layer'
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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-08-16 17:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-05 11:12 [PATCH 1/1] run-postinsts does not run any scripts Kenneth Solbjerg
2012-07-09 12:19 ` Kenneth Solbjerg
2012-08-16 17:42 ` [yocto] " Saul Wold
2012-08-16 17:42 ` Saul Wold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.