Gentoo Archives: gentoo-catalyst

From: James Dio <jim-list@××××××.com>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Can't set LiveCD MOTD
Date: Sat, 16 Apr 2005 20:13:59
Message-Id: 1113683538.12757.2.camel@jimboy
In Reply to: Re: [gentoo-catalyst] Can't set LiveCD MOTD by Ryan Lynch
1 I've noticed similar problems.
2
3 On Fri, 2005-04-15 at 11:22 -0400, Ryan Lynch wrote:
4 > On Fri, 15 Apr 2005 11:10:01 -0400
5 > Chris Gianelloni <wolf31o2@g.o> wrote:
6 >
7 > > On Thu, 2005-04-14 at 17:51 -0400, Ryan Lynch wrote:
8 > > > I'm building a livecd for a project I'm working on, and I'm trying to use a custom MOTD. I'm using the default runscript, and I've added this line to my stage 2 specfile:
9 > > > livecd/motd: /root/livecd/motd.txt
10 > > > However, each time I create an ISO, /etc/motd is blank. Any thoughts?
11 > >
12 > > Well, the code from livecd/runscript/default-runscript.sh responsible
13 > > for this little snippet is:
14 > >
15 > > # move over the motd (if applicable)
16 > > if [ -n "${clst_livecd_motd}" ]
17 > > then
18 > > cp -a ${clst_livecd_motd} ${clst_chroot_path}/etc/motd
19 > > else
20 > > ...
21 > > fi
22 > >
23 > > It should be copying your file verbatim.
24 > >
25 > > Are you seeing any error messages?
26 > >
27 > > --
28 > > Chris Gianelloni
29 > > Release Engineering - Strategic Lead/QA Manager
30 > > Games - Developer
31 > > Gentoo Linux
32 > I don't see any error messages at all. In fact I even tried going into the runscript, commenting out that section and just putting in "cp -a /root/livecd/motd.txt ${clst_chroot_path}/etc/motd", and I stll came up with a blank motd. Anyway, I'll try it out with this new version of catalyst, and see if anything is different.
33 > --
34 > gentoo-catalyst@g.o mailing list
35 >
36 >
37 >
38 --
39 James Dio
40 www.psunit.com
41 jim@××××××.com #Normal EMAIL
42 jim-list@××××××.com #Mailing list

Attachments

File name MIME type
signature.asc application/pgp-signature