public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Stage2 spec and source_subpath var
@ 2006-07-23 19:20 Luca Casagrande
  2006-07-23 20:12 ` Andrew Gaffney
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Casagrande @ 2006-07-23 19:20 UTC (permalink / raw
  To: gentoo-catalyst

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?

Thanks
Luca

-- 
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo 
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"

LINUX User #411601
jabber: casagrande@jabber.linux.it

 

-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-catalyst] Stage2 spec and source_subpath var
  2006-07-23 19:20 [gentoo-catalyst] Stage2 spec and source_subpath var Luca Casagrande
@ 2006-07-23 20:12 ` Andrew Gaffney
  2006-07-23 21:21   ` Luca Casagrande
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Gaffney @ 2006-07-23 20:12 UTC (permalink / raw
  To: gentoo-catalyst

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?

-- 
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-catalyst] Stage2 spec and source_subpath var
  2006-07-23 20:12 ` Andrew Gaffney
@ 2006-07-23 21:21   ` Luca Casagrande
  2006-07-23 21:28     ` Andrew Gaffney
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Casagrande @ 2006-07-23 21:21 UTC (permalink / raw
  To: gentoo-catalyst

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?

Thx for your help
Luca

-- 
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo 
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"

LINUX User #411601
jabber: casagrande@jabber.linux.it

 

-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-catalyst] Stage2 spec and source_subpath var
  2006-07-23 21:21   ` Luca Casagrande
@ 2006-07-23 21:28     ` Andrew Gaffney
  2006-07-23 21:35       ` Luca Casagrande
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Gaffney @ 2006-07-23 21:28 UTC (permalink / raw
  To: gentoo-catalyst

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
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-catalyst] Stage2 spec and source_subpath var
  2006-07-23 21:28     ` Andrew Gaffney
@ 2006-07-23 21:35       ` Luca Casagrande
  0 siblings, 0 replies; 5+ messages in thread
From: Luca Casagrande @ 2006-07-23 21:35 UTC (permalink / raw
  To: gentoo-catalyst

Alle 23:28, domenica 23 luglio 2006, Andrew Gaffney ha scritto:
> 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.

I don't understand how add package in a livecd-stage2.. in the livecd-stage1 i 
have found the livecd/packages var, but not in the stage2.
You mean, that first i need to run catalyst with the livecd-stage1 spec and 
then the stage2?

Thanks
Luca

-- 
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo 
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"

LINUX User #411601
jabber: casagrande@jabber.linux.it

 

-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-23 21:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-23 19:20 [gentoo-catalyst] Stage2 spec and source_subpath var Luca Casagrande
2006-07-23 20:12 ` Andrew Gaffney
2006-07-23 21:21   ` Luca Casagrande
2006-07-23 21:28     ` Andrew Gaffney
2006-07-23 21:35       ` Luca Casagrande

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox