[OE-core] appears to be inconsistency re: base-files between oe-core and meta-angstrom

Martin Jansa martin.jansa at gmail.com
Thu Aug 29 10:49:13 UTC 2013


On Thu, Aug 29, 2013 at 06:29:17AM -0400, Robert P. J. Day wrote:
> 
>   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:

Expectations from base-files .bbappend and FILESYSTEM_PERMS_TABLES need
to be consistent, is it possible that you're using .bbappend from
angstrom and not FILESYSTEM_PERMS_TABLES set by angstrom config?

conf/distro/include/angstrom-core-tweaks.inc:FILESYSTEM_PERMS_TABLES = "fs-perms-angstrom.txt"

> 
> 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
> ========================================================================
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130829/d508540f/attachment-0002.sig>


More information about the Openembedded-core mailing list