Luca Casagrande wrote:
Alle 22:12, domenica 23 luglio 2006, Andrew Gaffney ha scritto:
Luca Casagrande wrote:
Hi to all!
Sorry for my stupid question, but i am moving to catalyst 2.0..the
directory to set source_subpath in the spec file, it's the one where i
extracted the stage2 files? After chroot in it, can i add file, packages,
etc to customize my livecd?
First, why are you extracting anything by hand? Second, why are you messing
with a stage2 in order to customize a LiveCD? What exactly are you trying
to do here?
Hi Andrew and thx for your answer!
I have built some live cd in the past using my gentoo install with
livecd-tools of knoppix, but now i wanna use catalyst...
Right now, for testing purpose, i wanna create a cd with some apps that are on
portage plus some files (data sample file to use with those apps). So I
unpacked the stage2 file, chroot inside it,merged all the package that i need
and copied all file inside home folder (after adding a user).
I thought that after this, i should run catalyst wich use my chroot as the
livecd system...am I missing something?
This is exactly the kind of thing catalyst is designed to do. If you're going to
use catalyst, why not actually let it do its job? You can add packages into the
livecd environment by adding them to 'livecd/packages' in your
livecd-stage1.spec. In livecd-stage2, you can add users, run a custom script
(called the fsscript) to make other modifications, apply an overlay of files
into the squashfs or the ISO root, and other assorted fun things.
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
|