Hmm, I managed to create my own custom CD's, thanks.
My question was a theoretical one. I simply don't understand why
10- and 20- do their configuration in different ways. 10- just does
a bunch of things in the post) script itself, while 20- creates
/etc/init.d/livecd and puts all the stuff in there, and then deletes it? :S
Thanks,
-Amir
On 1/14/07, Thomas Chung <tchung(a)fedoraproject.org> wrote:
On 1/13/07, Amir Sela <amirse(a)gmail.com> wrote:
> Hi,
> I've been trying to figure out the way livecd-creator works, and generally
> it's going well, other than one thing. The way I understood it, the post)
> segment runs to configure the livecd once it's created. That makes sense
> to me and I plan to implement it myself. This is how it works in
> 10-fedora-livecd-base.conf. But why does 20-fedora-livecd-gnome.conf has
> this elaborate scheme of creating /etc/init.d/livecd inside the livecd, and
> then deleting it? I assume this runs somehow, but first of all I don't see how
> it runs (init.d scripts, AFAIK, run when you actually boot the system, and since
> it gets deleted in the next sections and removed from /etc/rc?.d, why would it
> run?). Second, even if it does run (which it obviously does), why implement it
> like that and not like 10-fedora-livecd-base.conf script?
> I hope I'm making some sense... To make it short and sweet - it looks like
> there's an implementation difference between 10 and 20 and I don't see why,
> or how it works in 20..
> Any explanations would be great.
> Thanks a lot,
I'm not sure if I understand your questions but I think you're trying
build your own custom LiveCD with games packages hence
fedora-livecd-games.
Here is what I had to do to build fedora-livecd-office and
fedora-livecd-development LiveCD.
First, update fedora-livecd.spec and build fedora-livecd-office and
fedora-livecd-development rpms simliar to fedora-livecd-desktop rpm.
Then, copy those rpms into your livecd install local repostitory
(rpms). Make sure to get the latest kernel rpm from updates/testing
and run createrepo in your i386 updates and rpms dir.
Now, run your own livecd build script to include (--package option)
your own custom rpm.
You'll find all the files mentioned above in following location:
http://fedoranews.org/tchung/livecd/20070111/rpms/
Regards,
--
Thomas Chung
http://fedoraproject.org/wiki/ThomasChung
--
Fedora-livecd-list mailing list
Fedora-livecd-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list