[yocto] [meta-ivi] [PATCH] node-startup-controller: Fixing conf file while packaging

Florin Sarbu florin.sarbu at windriver.com
Tue Jun 4 06:15:09 PDT 2013


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 <sujith.h at gmail.com 
> <mailto:sujith.h at gmail.com>> wrote:
>
>     From: Sujith H <Sujith_Haridasan at mentor.com
>     <mailto:Sujith_Haridasan at 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_Haridasan at mentor.com
>     <mailto:Sujith_Haridasan at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130604/8718acdd/attachment.html>


More information about the yocto mailing list