From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5D4BA198006 for ; Mon, 25 Feb 2013 23:08:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C044E07FE; Mon, 25 Feb 2013 23:08:03 +0000 (UTC) Received: from vms173005pub.verizon.net (vms173005pub.verizon.net [206.46.173.5]) by pigeon.gentoo.org (Postfix) with ESMTP id B7B42E07FE for ; Mon, 25 Feb 2013 23:08:02 +0000 (UTC) Received: from odin.tremily.us ([unknown] [72.68.84.219]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MIS00NTZTLD3B20@vms173005.mailsrvcs.net> for gentoo-catalyst@lists.gentoo.org; Mon, 25 Feb 2013 17:08:02 -0600 (CST) Received: by odin.tremily.us (Postfix, from userid 1000) id EE15A8C20E4; Mon, 25 Feb 2013 18:08:00 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; t=1361833680; bh=SYXlk+24PKtz/c6WRyxTcd/m99Ez/Yt6/yg6T8s01SA=; h=Date:From:To:Subject:References:In-Reply-To; b=L8Di3UxjNX4WxfgKH7TFX9fLRDPjXhe0V8rd83kn08vcmMwxgeo8CvCJiewpGyrJi YbtIHpRuddsJ3Mzgn8EeyNP04ELt3CeO7hVrjPT+zWxv5QpGoV+uwjVehhTyFQaVJB OZJU2O4FAvShKhcFsDuP3lK89+ThRIvfSE6E07Xs= Date: Mon, 25 Feb 2013 18:08:00 -0500 From: "W. Trevor King" To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] timezone during stage4 Message-id: <20130225230800.GA15991@odin.tremily.us> References: <20130225220746.16846.qmail@stuge.se> <20130225221710.GA15373@odin.tremily.us> <20130225225547.20684.qmail@stuge.se> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=45Z9DzgjV8m4Oswq Content-disposition: inline In-reply-to: <20130225225547.20684.qmail@stuge.se> OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8; url=http://tremily.us/pubkey.txt User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 77703e77-481e-45aa-aa02-5a7021a1447a X-Archives-Hash: 0e0a5b1eef6d34d80c2c68801b2a9672 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. > > >=20 > > > What to do? > >=20 > > Use stage4/root_overlay? >=20 > 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 `/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 --=20 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 --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRK+7OAAoJEEUbTsx0l5OMw9QP/j6IsF98I1jOkPmwAywutSOC PQbgNdBMtzgNEqM4BmyYlwuQn+1E/6t3sD0Xz40RvHsHOqsPU8E03Ten5HOxxLcl 3UcM9aZ9DH7EfaDJst5nn9425Y1Cj4R9xvw5bz9eZY+z0qI0mMqGjH7K9QCBY0GG IMK7lS+HZacVCTg3FceJ6oU8Wmt5zpXy/1/XFlL4FGhFP9Qt5z2+V/YmTsjV4f7J J1RO296H20BnDbL3NLqcmmAIqJxCc/buHmHQ3HUHj3LFIs4rQZvy75LZS/plrgB5 rSakwA2ULJZb/xt5l1UnS2Z0jiBmB9bv5nA8zum5QjK7Z50+LofO9zLkMrjjT6d3 ShZj6b3yoygFTNRgs8kWPchcoDZg/vCOgqxWSR9uT3FYdEgYH9lOZuiP5kQW29sx jifogbcSJd68TRzJ3YtdxkNFMoQmHtu8duwVZFabdtFBnZ8aAWPhNzvTmcs4pDTH NwvKREeziwbXWQVYUMgj6/zSTa0Mv/FjE4/GyRx119rOB+BXd5DxwtTaMbVdtWdz vCsiBR5Qd12LFr3/yPQtUZHnCgK5Mkqapkcn1eL3sGDwRj/aJxVgpKrter8dEldc aYf2556u+l7Gqf14Oxd2vUBwLjjXKxrUyXGdo8ZJSRu20N2l/DVi1dlogbYoPZn2 UstC2136vc1SNSWFRf80 =pC0T -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--