Hi Florin,<br><br>You are right. The error I get is:<br><br><pre style="color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px">
<span style="font-family:courier new,monospace"><font>Configuring netbase.
Configuring procps.
Configuring packagegroup-core-boot-genivi.
Configuring u-boot-sabre-sd.
Configuring u-boot-sabre-lite.
Configuring run-postinsts.
Configuring u-boot-sabre-aiquad.
Collected errors:
* check_data_file_clashes: Package node-state-manager wants to install file /home/sujith/MEL7/foton-upstream/atp-build/tmp/work/mx6q-poky-linux-gnueabi/foton-image/4.0.0-r0/rootfs/etc/dbus-1/system.d/org.genivi.NodeStateManager.conf
But that file is already provided by package * node-startup-controller
* opkg_install_cmd: Cannot install package packagegroup-core-p2.
ERROR: Function failed: do_rootfs (see /home/sujith/MEL7/foton-upstream/atp-build/tmp/work/mx6q-poky-linux-gnueabi/foton-image/4.0.0-r0/temp/log.do_rootfs.14894 for further information)</font></span></pre><span style="font-family:courier new,monospace"><font><br>
This is one solution that came to my mind.<br><br>Thanks,<br><br>Sujith H<br><br></font></span><br><div class="gmail_quote">On Tue, Jun 4, 2013 at 6:45 PM, Florin Sarbu <span dir="ltr"><<a href="mailto:florin.sarbu@windriver.com" target="_blank">florin.sarbu@windriver.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
please provide a log with the actual error. The attached patch
does not contain a solution to your problem in my opinion.<br>
<br>
Thank you,<br>
Florin<div><div class="h5"><br>
<br>
On 06/04/2013 01:13 PM, sujith h wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
Hi,<br>
<br>
When package_ipk is used, then opkg fails to install
node-state-manager<br>
during the do_rootfs phase of foton-image. But this behavior is
not seen<br>
when rpm is used. opkg fails to install when
org.genivi.NodeStateManager.conf<br>
is there in etc/dbus-1/dbus-1/system.d/ directory provided by
node-startup-controller. <br>
When rpm packaging is used then node-state-manager's
org.genivi.NodeStateManager.conf <br>
is forcefully installed.<br>
<br>
Thanks,<br>
<br>
Sujith H<br>
<br>
<div class="gmail_quote">On Tue, Jun 4, 2013 at 3:33 PM, Sujith H
<span dir="ltr"><<a href="mailto:sujith.h@gmail.com" target="_blank">sujith.h@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Sujith H <<a href="mailto:Sujith_Haridasan@mentor.com" target="_blank">Sujith_Haridasan@mentor.com</a>><br>
<br>
Issue found while building foton-image when PACKAGE_CLASSES<br>
set to "package_ipk". This patch will fix the issue.<br>
This patch has to be applied to branch 4.0.<br>
<br>
Signed-off-by: Sujith H <<a href="mailto:Sujith_Haridasan@mentor.com" target="_blank">Sujith_Haridasan@mentor.com</a>><br>
---<br>
 .../node-startup-controller/<a href="http://node-startup-controller_1.0.2.bb" target="_blank">node-startup-controller_1.0.2.bb</a>    Â
 | 3 +++<br>
 .../node-startup-controller/<a href="http://node-startup-controller_git.bb" target="_blank">node-startup-controller_git.bb</a>
      | 3 +++<br>
 2 files changed, 6 insertions(+)<br>
<br>
diff --git a/recipes-extended/node-startup-controller/<a href="http://node-startup-controller_1.0.2.bb" target="_blank">node-startup-controller_1.0.2.bb</a>
b/recipes-extended/node-startup-controller/<a href="http://node-startup-controller_1.0.2.bb" target="_blank">node-startup-controller_1.0.2.bb</a><br>
index 470bb97..fd3e1c9 100644<br>
--- a/recipes-extended/node-startup-controller/<a href="http://node-startup-controller_1.0.2.bb" target="_blank">node-startup-controller_1.0.2.bb</a><br>
+++ b/recipes-extended/node-startup-controller/<a href="http://node-startup-controller_1.0.2.bb" target="_blank">node-startup-controller_1.0.2.bb</a><br>
@@ -55,3 +55,6 @@ FILES_${PN}-nsm-dummy = "\<br>
 FILES_${PN}-nsm-dummy-dbg = "\<br>
   ${libdir}/${PN}-1/.debug/nsm-dummy \<br>
   "<br>
+do_install_append() {<br>
+ Â Â rm -f
${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf<br>
+}<br>
diff --git a/recipes-extended/node-startup-controller/<a href="http://node-startup-controller_git.bb" target="_blank">node-startup-controller_git.bb</a>
b/recipes-extended/node-startup-controller/<a href="http://node-startup-controller_git.bb" target="_blank">node-startup-controller_git.bb</a><br>
index 0d3b90c..2fec5da 100644<br>
--- a/recipes-extended/node-startup-controller/<a href="http://node-startup-controller_git.bb" target="_blank">node-startup-controller_git.bb</a><br>
+++ b/recipes-extended/node-startup-controller/<a href="http://node-startup-controller_git.bb" target="_blank">node-startup-controller_git.bb</a><br>
@@ -51,3 +51,6 @@ FILES_${PN}-nsm-dummy = "\<br>
 FILES_${PN}-nsm-dummy-dbg = "\<br>
    ${libdir}/${PN}-1/.debug/nsm-dummy \<br>
    "<br>
+do_install_append() {<br>
+ Â Â rm -f
${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf<br>
+}<br>
<span><font color="#888888">--<br>
1.8.1.4<br>
<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
à´¸àµà´œà´¿à´¤àµ ഹരിദാസനàµ<br>
Bangalore<br>
<Project>Contributor to KDE project<br>
<a href="http://fci.wikia.com/wiki/Anti-DRM-Campaign" target="_blank">http://fci.wikia.com/wiki/Anti-DRM-Campaign</a><br>
<Blog> <a href="http://sujithh.info" target="_blank">http://sujithh.info</a><br>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>à´¸àµà´œà´¿à´¤àµ ഹരിദാസനàµ<br>Bangalore<br><Project>Contributor to KDE project<br><a href="http://fci.wikia.com/wiki/Anti-DRM-Campaign" target="_blank">http://fci.wikia.com/wiki/Anti-DRM-Campaign</a><br>
<Blog> <a href="http://sujithh.info" target="_blank">http://sujithh.info</a><br>