Hi,
please provide a log with the actual error. The attached patch does not contain a solution to your problem in my opinion.

Thank you,
Florin

On 06/04/2013 01:13 PM, sujith h wrote:
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 <sujit...@gmail.com <mailto:sujit...@gmail.com>> wrote:

    From: Sujith H <sujith_harida...@mentor.com
    <mailto:sujith_harida...@mentor.com>>

    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 <sujith_harida...@mentor.com
    <mailto:sujith_harida...@mentor.com>>
    ---
     .../node-startup-controller/node-startup-controller_1.0.2.bb
    <http://node-startup-controller_1.0.2.bb>   | 3 +++
     .../node-startup-controller/node-startup-controller_git.bb
    <http://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.bb
    <http://node-startup-controller_1.0.2.bb>
    b/recipes-extended/node-startup-controller/node-startup-controller_1.0.2.bb
    <http://node-startup-controller_1.0.2.bb>
    index 470bb97..fd3e1c9 100644
    ---
    a/recipes-extended/node-startup-controller/node-startup-controller_1.0.2.bb
    <http://node-startup-controller_1.0.2.bb>
    +++
    b/recipes-extended/node-startup-controller/node-startup-controller_1.0.2.bb
    <http://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
    <http://node-startup-controller_git.bb>
    b/recipes-extended/node-startup-controller/node-startup-controller_git.bb
    <http://node-startup-controller_git.bb>
    index 0d3b90c..2fec5da 100644
    ---
    a/recipes-extended/node-startup-controller/node-startup-controller_git.bb
    <http://node-startup-controller_git.bb>
    +++
    b/recipes-extended/node-startup-controller/node-startup-controller_git.bb
    <http://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
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to