livecd/overlay

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

livecd/overlay

Ted Kosan
Hello,

I am using Catalyst 2.0 rc5 and the livecd/overlay variable is not working.

I checked my old catalyst-1.1.10.10 installation and found the following code (
which references livecd/overlay ) in the modules/livecd_stage2_target.py file:

198          if self.settings.has_key("livecd/overlay"):
199          cmd("rsync -a "+self.settings["livecd/overlay"]+"/* "+\
200          self.settings["cdroot_path"],"LiveCD overlay copy failed.")

but the same file in catalyst 2.0 rc5 does not have this code and when I grep
the /usr/lib/catalyst2 directory, the only reference I find to livecd/overlay
is the following:

./modules/livecd_stage2_target.py:22:                  
"livecd/readme","livecd/motd","livecd/overlay",\

Is this a bug?

Thanks,

Ted Kosan
--
[hidden email] mailing list

Reply | Threaded
Open this post in threaded view
|

Re: livecd/overlay

Eric Edgar
Ted,

    No this is not a bug.  Many functions that are common across a couple
targets have been moved into the generic_stage_target.py file.. the code
you are looking for is there.  Others have reported that this
functionality is working.  Perhaps you have a typo.  Otherwise please
post your spec file and any other troubleshooting information you may
have available.

Rocket

On 12:10 Thu 08 Dec     , Ted Kosan wrote:

> Hello,
>
> I am using Catalyst 2.0 rc5 and the livecd/overlay variable is not working.
>
> I checked my old catalyst-1.1.10.10 installation and found the following code (
> which references livecd/overlay ) in the modules/livecd_stage2_target.py file:
>
> 198          if self.settings.has_key("livecd/overlay"):
> 199          cmd("rsync -a "+self.settings["livecd/overlay"]+"/* "+\
> 200          self.settings["cdroot_path"],"LiveCD overlay copy failed.")
>
> but the same file in catalyst 2.0 rc5 does not have this code and when I grep
> the /usr/lib/catalyst2 directory, the only reference I find to livecd/overlay
> is the following:
>
> ./modules/livecd_stage2_target.py:22:                  
> "livecd/readme","livecd/motd","livecd/overlay",\
>
> Is this a bug?
>
> Thanks,
>
> Ted Kosan
> --
> [hidden email] mailing list
>
>

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: livecd/overlay

Ted Kosan
Rocket wrote:

> No this is not a bug.  Many functions that are common across a couple
> targets have been moved into the generic_stage_target.py file. the code
> you are looking for is there.  Others have reported that this
> functionality is working.  Perhaps you have a typo.

First I would like to say that the 2.0 code looks extremely nice!  I am finding
it very easy to read through and understand what it is doing.

As for the livecd/overlay problem I am having, I think it is indeed a bug :-)

Here is line 1004 from the rc5 generic_stage_target.py file:

   and os.path.exists(self.settings["spec_prefix"]+"/overlay"):

I think it should read:

   and os.path.exists(self.settings[self.settings["spec_prefix"]+"/overlay"]):


Anyway, that fixed my problem :-)


Ted


--
[hidden email] mailing list