1 |
On 10/02/09 23:27, Andrew Gaffney wrote: |
2 |
> lurker wrote: |
3 |
>> On 10/02/09 22:28, Mike Frysinger wrote: |
4 |
>>> try grepping the init.d scripts. or look at the source scripts |
5 |
>>> from catalyst itself (iirc, there's a "livecd support" dir or |
6 |
>>> some such). |
7 |
>> |
8 |
>> I've recursively grepped every file in /usr/lib/catalyst, |
9 |
>> /usr/share/genkernel, /etc and the initrd, and I found nothing. |
10 |
>> Have I missed anything (I must have!)? |
11 |
> |
12 |
> The files you're looking for are part of livecd-tools. There's a |
13 |
> function called livecd_fix_inittab() in livecd-functions.sh that |
14 |
> rewrites the CD's inittab to call the bashlogin script instead of a |
15 |
> login process. |
16 |
|
17 |
Thanks a lot! |
18 |
|
19 |
> However, I'm not sure what actually calls the livecd_fix_inittab() |
20 |
> function in the first place. |
21 |
|
22 |
FYI, after some grepping I found from where it is called: /sbin/rc, |
23 |
around row 500 (this is with baselayout-1.12.11.1). |
24 |
|
25 |
I could be off here, but wouldn't it be better if catalyst made these |
26 |
changes to /etc/inittab in livecd-stage2 instead? |