Bug 8110 - insane.bbclass: check the /etc/<files> are set by CONFFILES
Summary: insane.bbclass: check the /etc/<files> are set by CONFFILES
Status: RESOLVED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: 1.9 M3
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-08-06 07:05 UTC by Robert Yang
Modified: 2015-08-06 15:24 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2015-08-06 07:05:51 UTC
The files under /etc/ usually should be set by CONFFILES, this is good for package manager.
Comment 1 Randy MacLeod 2015-08-06 15:23:27 UTC
As discussed previously, starting here:
   http://lists.openembedded.org/pipermail/openembedded-core/2014-December/thread.html#100001
and answered here:
   http://lists.openembedded.org/pipermail/openembedded-core/2014-December/100006.html

we can't declare all of /etc/ to be CONFFILES.

As Mike Looijmans said:

   FHS may have written that somewhere, but if you just take a quick look at
   what is in /etc/, you'll find that actual configuration files are quite 
   rare, but there are tons of scripts and distro related files there. 
   Whether or not a file there is supposed to be edited by the end-user 
   is something of a distro decision.

   Also, "configuration file" does not necessarily mean that the USER is 
   in control. A configuration file may also simply distinguish machine
   capabilities or software features.

   We'll end up having to patch hundreds of recipes with a CONFFILES="" 
   or similar line.

So I'm closing the enhancement. If you have a more narrowly specified idea, please open a new enhancement.
Comment 2 Randy MacLeod 2015-08-06 15:24:10 UTC
See previous comment.