On Mon, Feb 25, 2013 at 11:55:47PM +0100, Peter Stuge wrote: > W. Trevor King wrote: > > > I copy a file in the fsscript, but that of course happens *after* the > > > above `date` output has already been compiled in. > > > > > > What to do? > > > > Use stage4/root_overlay? > > root_overlay comes just before fsscript so it doesn't really solve > the problem.
Ah, sorry. I was unable to find documentation for command invocation order, but `<target>/root_overlay` is advertised as being suitable for config files. It would make sense to me if this was dropped in before emerging packages (for cases like this), but it would also make sense if this was dropped in after emerging packages (e.g. to override config files clobbered by the new packages). I suppose it's currently the latter. > My above idea of copying /etc/localtime into the chroot during > chroot_setup and either just removing it or replacing it with a > file from an optional to-be-added spec file parameter seems like it > would work - how do people feel about that? FWIW, I'd prefer an early-acting root_overlay analog. Also a single new spec file parameter, but you get the added flexibility of handling any additional pre-emerge setup you need. I don't know what additional setup you might need, but if we've missed timezones, we're probably missing something else ;). Cheers, Trevor -- This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
signature.asc
Description: OpenPGP digital signature
