[OE-core] how does files/fs-perms.txt affect building base-files rpm?

Robert P. J. Day rpjday at crashcourse.ca
Sat Mar 11 08:30:06 UTC 2017


  potentially a dumb question, but do the settings in
files/fs-perms.txt affect the building of the base-files rpm just as
they would affect the building of any other rpm?

  i can see the structure of the base-files recipe, whose do_install()
routine manually installs a ton of stuff, with very specific file and
directory modes, which is fine. and assuming fs-perms.txt is applied
after that, does that mean that whatever is in that fs-perms.txt file
will override any settings already in place as built by the base-files
recipe?

  also, as i understand it, given that fs-perms.txt is used to set
file and directory modes for all created packages, does that mean that
any discrepancy between a package and what is already in the root
filesystem will cause a package installation error?

  i already ran across the situation where a package was built
assuming a volatile log directory, but the running image it was being
installed into had a regular /var/log directory, and that caused the
package installation to fail. am i correct in assuming that is normal
behaviour?

  thank you kindly.

rday

-- 

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

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




More information about the Openembedded-core mailing list