On Wed, Feb 15, 2012 at 7:36 PM, Mark Hatle <[email protected]>wrote:
> On 2/15/12 3:21 PM, Brandon Stafford wrote: > >> Hi all, >> >> In trying to build core-image-basic for qemuarm, I ran into an error: >> extract_archive: Cannot create symlink from ./var/run to 'volatile/run': >> File >> exists. >> >> (The full error message is posted here: http://pastebin.com/QPic3uHx ) >> >> The issue is most likely that something created the directory of > "/var/run", and then the later base-files attempted to create the symlink > which caused the failure. --Mark > Thanks for the suggestion, Mark. It appears that dbus is the source of the conflict. If I add /volatile to the paths, as in the patch below, the error disappears. I can't test it in actual operation because of subsequent errors. Is this the right fix? diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 2a25256..9dc40cf 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc @@ -81,9 +81,9 @@ do_install() { > ${D}${sysconfdir}/default/volatiles/99_dbus - mkdir -p ${D}${localstatedir}/run/dbus ${D}${localstatedir}/lib/dbus + mkdir -p ${D}${localstatedir}/volatile/run/dbus ${D}${localstatedir}/volatile/lib/dbus - chown messagebus:messagebus ${D}${localstatedir}/run/dbus ${D}${localstatedir}/lib/dbus + chown messagebus:messagebus ${D}${localstatedir}/volatile/run/dbus ${D}${localstatedir}/volatile/lib/dbus chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper chmod 4755 ${D}${libexecdir}/dbus-daemon-launch-helper Cheers, Brandon
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
