[oe] [PATCH 3/3] base-files-3.0.14 configuration files
Peter Gsellmann
pgsellmann at portner-elektronik.at
Mon Mar 21 12:33:17 UTC 2011
Hi Phil!
Am Montag, 21. März 2011, 12:54:42 schrieb Phil Blundell:
> On Mon, 2011-03-21 at 12:36 +0100, Peter Gsellmann wrote:
> > setting ONLINE_PACKAGE_MANAGEMENT = "none" precludes the use of CONFFILES_* in all recipes??
>
> It doesn't preclude it, but it does render CONFFILES fairly useless.
>
> It looks like the CONFFILES_micro = "" in this particular recipe was
> added by me in 2b4ab236. I guess I probably did this to avoid having
> nonexistent files show up in CONFFILES (since micro doesn't ship stuff
> like motd at all). I don't recall whether I did this just for neatness
> or whether OE was actually issuing a diagnostic for that situation.
>
> I guess it might make some sense to just set CONFFILES_micro = ""
> globally in micro.conf rather than doing it in individual recipes.
>
> > As i can see, ONLINE_PACKAGE_MANAGEMENT is misused for micro image.
>
> What do you mean?
Sorry, no misuse, but wrong cause assumed by me.
CONFFILES_${PN}_micro should not be empty but contain nsswitch.conf
and hostname as these are the only you allow to exist.
Would this work for you?
CONFFILES_${PN}_micro = "${sysconfdir}/hostname ${sysconfdir}/nsswitch.conf"
Even if nothing on your target is honoring the configness of these files at least it is documented.
Peter
More information about the Openembedded-devel
mailing list