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 much 
> 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 <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Wednesday, March 22, 2006 11:30:38 AM
> Subject: Re: [gentoo-catalyst] custom motd gets blanked
> 
> 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-update.sh tries to cat missing generic-motd.txt and 
> > minimal-motd.txt files into /etc/motd.  Bug entered on bugzilla: 
> > http://bugs.gentoo.org/show_bug.cgi?id=127186
> > 
> > Can cheat and change the > to >> in the line from livecdfs-update.sh that 
> > is the offender: 
> > 
> > gentoo-release-minimal )
> >                 cat /etc/generic.motd.txt /etc/minimal.motd.txt > /etc/motd
> >                 sed -i 's:^##GREETING:Welcome to the Gentoo Linux Minimal 
> > Installation CD!:' /etc/motd
> > 
> > Probably should check if custom motd being used and if so skip the Tweaking 
> > the MOTD section.
> 
> If you're not building a Gentoo release, you probably shouldn't be using the 
> gentoo-release-* types. They do all sorts of stuff that you typically 
> wouldn't 
> want, except on a Gentoo release.
> 
> -- 
> Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
> Gentoo Linux Developer                                   Installer Project
> 
> -- 
> [EMAIL PROTECTED] mailing list
> 
> 
> 
> 
-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to