Hi, When package_ipk is used, then opkg fails to install node-state-manager during the do_rootfs phase of foton-image. But this behavior is not seen when rpm is used. opkg fails to install when org.genivi.NodeStateManager.conf is there in etc/dbus-1/dbus-1/system.d/ directory provided by node-startup-controller. When rpm packaging is used then node-state-manager's org.genivi.NodeStateManager.conf is forcefully installed.
Thanks, Sujith H On Tue, Jun 4, 2013 at 3:33 PM, Sujith H <[email protected]> wrote: > From: Sujith H <[email protected]> > > Issue found while building foton-image when PACKAGE_CLASSES > set to "package_ipk". This patch will fix the issue. > This patch has to be applied to branch 4.0. > > Signed-off-by: Sujith H <[email protected]> > --- > .../node-startup-controller/node-startup-controller_1.0.2.bb | > 3 +++ > .../node-startup-controller/node-startup-controller_git.bb | > 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/recipes-extended/node-startup-controller/ > node-startup-controller_1.0.2.bbb/recipes-extended/node-startup-controller/ > node-startup-controller_1.0.2.bb > index 470bb97..fd3e1c9 100644 > --- a/recipes-extended/node-startup-controller/ > node-startup-controller_1.0.2.bb > +++ b/recipes-extended/node-startup-controller/ > node-startup-controller_1.0.2.bb > @@ -55,3 +55,6 @@ FILES_${PN}-nsm-dummy = "\ > FILES_${PN}-nsm-dummy-dbg = "\ > ${libdir}/${PN}-1/.debug/nsm-dummy \ > " > +do_install_append() { > + rm -f > ${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf > +} > diff --git a/recipes-extended/node-startup-controller/ > node-startup-controller_git.bb b/recipes-extended/node-startup-controller/ > node-startup-controller_git.bb > index 0d3b90c..2fec5da 100644 > --- a/recipes-extended/node-startup-controller/ > node-startup-controller_git.bb > +++ b/recipes-extended/node-startup-controller/ > node-startup-controller_git.bb > @@ -51,3 +51,6 @@ FILES_${PN}-nsm-dummy = "\ > FILES_${PN}-nsm-dummy-dbg = "\ > ${libdir}/${PN}-1/.debug/nsm-dummy \ > " > +do_install_append() { > + rm -f > ${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf > +} > -- > 1.8.1.4 > > -- സുജിത് ഹരിദാസന് Bangalore <Project>Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign <Blog> http://sujithh.info
_______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
