Openembedded Core Discussions
 help / color / mirror / Atom feed
* appears to be inconsistency re: base-files between oe-core and meta-angstrom
@ 2013-08-29 10:29 Robert P. J. Day
  2013-08-29 10:49 ` Martin Jansa
  0 siblings, 1 reply; 11+ messages in thread
From: Robert P. J. Day @ 2013-08-29 10:29 UTC (permalink / raw)
  To: OE Core mailing list


  trying to build a "hardware-bringup-image" defined in angstrom layer
and running into:

ERROR: QA Issue: Fixup Perms: Unable to correct directory link, target already exists: /var/log -> /var/volatile/log
ERROR: QA Issue: Fixup Perms: Unable to correct directory link, target already exists: /var/run -> /run
ERROR: QA Issue: Fixup Perms: Unable to correct directory link, target already exists: /var/tmp -> /var/volatile/tmp

this would *appear* to be because oe-core defines, in
base-files_3.0.14.bb:

volatiles = "log tmp"
... snip ...
        for d in ${volatiles}; do
                ln -sf volatile/$d ${D}${localstatedir}/$d
        done
        ln -snf ../run ${D}${localstatedir}/run
        ln -snf ../run/lock ${D}${localstatedir}/lock

which seems to want to create /var/{run,log,tmp} as symlinks, but over
in meta-angstrom, we have base-files_3.0.14.bbappend which seems to
want to create them as actual directories instead:

dirs755 += "${localstatedir}/cache \
            ${localstatedir}/run \
            ${localstatedir}/log \
            ${localstatedir}/lock \
            ${localstatedir}/lock/subsys \
            ${localstatedir}/tmp \
            ${localstatedir}/volatile/tmp \
            /run \
           "

or am i misreading something?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-08-30 12:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-29 10:29 appears to be inconsistency re: base-files between oe-core and meta-angstrom Robert P. J. Day
2013-08-29 10:49 ` Martin Jansa
2013-08-29 11:00   ` Robert P. J. Day
2013-08-29 11:27     ` Martin Jansa
2013-08-29 11:37       ` Robert P. J. Day
2013-08-29 11:49         ` Phil Blundell
2013-08-29 11:56           ` Robert P. J. Day
2013-08-29 11:57           ` Richard Purdie
2013-08-29 16:14             ` Chris Larson
2013-08-30 12:21             ` Robert P. J. Day
2013-08-29 11:49         ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox