Bardur Arantsson wrote:
Hello all,
[--snip--]
I added a print statement for self.settings["source_path"] and that prints
/var/tmp/catalyst/builds/stage3-x86-2006.0.tar.bz2
which seems rather strange to me. The (hopefully) relevant portion of my
stage2.spec file is as follows:
subarch: x86
version_stamp: CURRENT
target: livecd-stage2
rel_type: default
profile: default-linux/x86/2006.0
snapshot: 20060821
source_subpath: stage3-x86-2006.0
... and of course the source_subpath was the problem; for some reason
I'd completely forgotten that it's supposed to be a stage1. Changing this to
source_subpath: default/livecd-stage1-x86-CURRENT
(My version stamp is CURRENT) worked.
I think the livecd_stage2_target.py should probably give the user a
slightly more informative error message ;).
Maybe something like "Could not find directory $source_path. Your may be
source_subpath incorrectly set." would be in order?
The only thing resembling the file name above is the source_subpath
setting, but I'm not sure why that would get turned into a .tar.bz2 file
name by catalyst when catalyst itself clearly expects a directory name.
The "change to the name of a .tar.bz2" bit still puzzles me and I'm not
sure it's desirable behavior.
Cheers,
--
Bardur Arantsson
<[EMAIL PROTECTED]>
I haven't slept for ten days... because that would be too long.
Mitch Hedberg
--
[EMAIL PROTECTED] mailing list