1 |
On Wed, 2006-03-22 at 08:48 -0800, Tod Herman wrote: |
2 |
> 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. |
3 |
|
4 |
Since usage of livecd/motd isn't valid for gentoo-release-* I have |
5 |
instead made it pretty simple. If you're using livecd/motd and |
6 |
gentoo-release-* you will get a warning, and your custom motd will be |
7 |
ignored. |
8 |
|
9 |
I really wish people would *not* use gentoo-release-* when building |
10 |
anything that tries to be different from a Gentoo release. ;] |
11 |
|
12 |
> ----- Original Message ---- |
13 |
> From: Andrew Gaffney <agaffney@g.o> |
14 |
> To: gentoo-catalyst@l.g.o |
15 |
> Sent: Wednesday, March 22, 2006 11:30:38 AM |
16 |
> Subject: Re: [gentoo-catalyst] custom motd gets blanked |
17 |
> |
18 |
> Tod Herman wrote: |
19 |
> > 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 |
20 |
> > |
21 |
> > Can cheat and change the > to >> in the line from livecdfs-update.sh that is the offender: |
22 |
> > |
23 |
> > gentoo-release-minimal ) |
24 |
> > cat /etc/generic.motd.txt /etc/minimal.motd.txt > /etc/motd |
25 |
> > sed -i 's:^##GREETING:Welcome to the Gentoo Linux Minimal Installation CD!:' /etc/motd |
26 |
> > |
27 |
> > Probably should check if custom motd being used and if so skip the Tweaking the MOTD section. |
28 |
> |
29 |
> If you're not building a Gentoo release, you probably shouldn't be using the |
30 |
> gentoo-release-* types. They do all sorts of stuff that you typically wouldn't |
31 |
> want, except on a Gentoo release. |
32 |
> |
33 |
> -- |
34 |
> Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
35 |
> Gentoo Linux Developer Installer Project |
36 |
> |
37 |
> -- |
38 |
> gentoo-catalyst@g.o mailing list |
39 |
> |
40 |
> |
41 |
> |
42 |
> |
43 |
-- |
44 |
Chris Gianelloni |
45 |
Release Engineering - Strategic Lead |
46 |
x86 Architecture Team |
47 |
Games - Developer |
48 |
Gentoo Linux |