Hey, 

I was typing out a question here, and ended up realizing something - I
did a little extra googling and found the answer before sending, but
just to contribute I will still send the question and attach the
answer.. because its sort of weird.

QUESTION:

I am building a LiveCD (trying to convert some of the SoShal stuff over
to Ubuntu from Gentoo for sake of managing it better), anyways - I've
got everything pretty much set up except when I boot, "something" seems
to over write the original /etc/event.d/ttyX files from the squashfs
that is on the LiveCD.

Does anyone know what mechanism this is, and how to override it?

I've done some googling and I think it has something to do with the way
casper sets up the system?

ANSWER:

It does have to do with the way casper sets up the system

I found this:

sed -i -e "s|^exec.*|exec /bin/login -f $USERNAME </dev/$(basename $f)
> /dev/$(basename $f) 2>\&1|" $f

in

/usr/share/initramfs-tools/scripts/casper-bottom/25configure_init 

I haven't actually tested out the theory yet, but I am going to disable
that script from running and if that doesn't work, I will get it to
write the actual proper config for the file.

--Greg


_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to