Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27885 - Run script in /mnt/cdrom on boot
Summary: Run script in /mnt/cdrom on boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 75140
  Show dependency tree
 
Reported: 2003-09-03 17:50 UTC by Luke-Jr
Modified: 2005-07-12 10:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2003-09-03 17:50:08 UTC
It would be nice if the LiveCDs ran some script in /mnt/cdrom when they booted,
so users could (somewhat) easilly make changes to the LiveCD by writing a script
to run after it booted...

Reproducible: Always
Steps to Reproduce:
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-10-09 18:53:44 UTC
Should be possible in catalyst, if it isnt, then please open a bug with them.
Comment 2 Luke-Jr 2004-10-09 19:08:50 UTC
Shouldn't need to be handled by catalyst. This is a request for a script outside of the gcloop to be executed, so CDs can be reauthored without using catalyst. Is this really FIXED?
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2004-10-10 06:43:58 UTC
I think /etc/conf.d/local.start serves this purpose. I'm assuming it works the same way on the newer livecd's?
Comment 4 Luke-Jr 2004-10-10 07:40:37 UTC
But isn't /etc/conf.d/local.start within the gcloop? Thus, it would not be possible to modify it with standard CD programs. catalyst or some other gcloop creator would be neccesary.
The script for this bug would need to exist directly on the CD's filesystem.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-10 14:07:26 UTC
So what you're asking for is a pre-determined script name that the LiveCD will try to execute once booted, that exists outside of the loop, and is therefore easily modified/changed?
Comment 6 Luke-Jr 2004-10-10 14:19:27 UTC
Right. It's much easier to simply add a tbz2 and a script to extract it on the CD outside the gcloop and reburn it than it is to modify the gcloop contents. There's numerous other possible uses, also.
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2005-07-03 13:49:21 UTC
I don't really see the point of this - the script is going to have to be in
/mnt/cdrom and you might as well put your changes in there as well. Either way,
patches welcome.
Comment 8 Luke-Jr 2005-07-03 18:36:12 UTC
The changes *would* be in /mnt/cdrom... the advantage is that the changes do not
need to be made within the [g]cloop/squashfs image, but are uncompressed on the CD.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-05 09:11:38 UTC
I'm on the genkernel alias now...
Comment 10 Tim Yamin (RETIRED) gentoo-dev 2005-07-12 10:46:28 UTC
This should actually be fixed in 3.2.0_preX+; just create cdupdate.sh on the ISO
and it'll get executed.