From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1FM8bE-0007Xp-5g
	for garchives@archives.gentoo.org; Wed, 22 Mar 2006 19:02:28 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2MJ23HK022612;
	Wed, 22 Mar 2006 19:02:03 GMT
Received: from smtp03.gnvlscdb.sys.nuvox.net (smtp.nuvox.net [64.89.70.9])
	by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2MJ223Y015107
	for <gentoo-catalyst@lists.gentoo.org>; Wed, 22 Mar 2006 19:02:03 GMT
Received: from cgianelloni.nuvox.net (216.215.202.4.nw.nuvox.net [216.215.202.4])
	by smtp03.gnvlscdb.sys.nuvox.net (8.12.11/8.12.11) with SMTP id k2MJ2C0F004662
	for <gentoo-catalyst@lists.gentoo.org>; Wed, 22 Mar 2006 14:02:12 -0500
Received: by cgianelloni.nuvox.net (sSMTP sendmail emulation); Wed, 22 Mar 2006 13:58:14 -0500
Subject: Re: [gentoo-catalyst] custom motd gets blanked
From: Chris Gianelloni <wolf31o2@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
In-Reply-To: <20060322164831.79249.qmail@web30210.mail.mud.yahoo.com>
References: <20060322164831.79249.qmail@web30210.mail.mud.yahoo.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pQJkehNAH9ec9T6Wb67P"
Organization: Gentoo Linux
Date: Wed, 22 Mar 2006 13:58:13 -0500
Message-Id: <1143053894.9002.34.camel@cgianelloni.nuvox.net>
Precedence: bulk
List-Post: <mailto:gentoo-catalyst@lists.gentoo.org>
List-Help: <mailto:gentoo-catalyst+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-catalyst+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-catalyst+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-catalyst.gentoo.org>
X-BeenThere: gentoo-catalyst@gentoo.org
Reply-to: gentoo-catalyst@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.4.2.1 
X-Archives-Salt: 87996ca8-883a-4b71-8c3c-c0718c658fae
X-Archives-Hash: fbaf89696bed7761d6577c1b155380ce


--=-pQJkehNAH9ec9T6Wb67P
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2006-03-22 at 08:48 -0800, Tod Herman wrote:
> and yet I suspect the blanked file wasn't intended.  also suspect that mu=
ch of the "all sorts of stuff" the rest of the scripts do is wanted.

Since usage of livecd/motd isn't valid for gentoo-release-* I have
instead made it pretty simple.  If you're using livecd/motd and
gentoo-release-* you will get a warning, and your custom motd will be
ignored.

I really wish people would *not* use gentoo-release-* when building
anything that tries to be different from a Gentoo release.  ;]

> ----- Original Message ----
> From: Andrew Gaffney <agaffney@gentoo.org>
> To: gentoo-catalyst@lists.gentoo.org
> Sent: Wednesday, March 22, 2006 11:30:38 AM
> Subject: Re: [gentoo-catalyst] custom motd gets blanked
>=20
> Tod Herman wrote:
> > When building livecd with custom motd, the custom motd gets moved into =
the build environment correctly, but then get's blanked when the livecdfs-u=
pdate.sh tries to cat missing generic-motd.txt and minimal-motd.txt files i=
nto /etc/motd.  Bug entered on bugzilla: http://bugs.gentoo.org/show_bug.cg=
i?id=3D127186
> >=20
> > Can cheat and change the > to >> in the line from livecdfs-update.sh th=
at is the offender:=20
> >=20
> > gentoo-release-minimal )
> >                 cat /etc/generic.motd.txt /etc/minimal.motd.txt > /etc/=
motd
> >                 sed -i 's:^##GREETING:Welcome to the Gentoo Linux Minim=
al Installation CD!:' /etc/motd
> >=20
> > Probably should check if custom motd being used and if so skip the Twea=
king the MOTD section.
>=20
> If you're not building a Gentoo release, you probably shouldn't be using =
the=20
> gentoo-release-* types. They do all sorts of stuff that you typically wou=
ldn't=20
> want, except on a Gentoo release.
>=20
> --=20
> Andrew Gaffney                            http://dev.gentoo.org/~agaffney=
/
> Gentoo Linux Developer                                   Installer Projec=
t
>=20
> --=20
> gentoo-catalyst@gentoo.org mailing list
>=20
>=20
>=20
>=20
--=20
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

--=-pQJkehNAH9ec9T6Wb67P
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBEIZ5FkT4lNIS36YERAtQ5AJwNFgTOwGlrDdqCCAXGJuySWe/ltwCeNGOW
Rq1U1ZV2id8tpscqmKi8z2g=
=D1a9
-----END PGP SIGNATURE-----

--=-pQJkehNAH9ec9T6Wb67P--
-- 
gentoo-catalyst@gentoo.org mailing list