[Fedora-livecd-list] livecd-creator on RHEL5/FC6
Rahul Sundaram
sundaram at fedoraproject.org
Wed Jan 23 14:39:58 UTC 2008
Mark McLoughlin wrote:
> On Wed, 2008-01-23 at 10:37 +0000, Mark McLoughlin wrote:
>> On Wed, 2008-01-23 at 00:47 +0530, Rahul Sundaram wrote:
>>> File "//usr/lib/python2.4/site-packages/imgcreate/fs.py", line 178, in expand
>>> fd = os.open(self.lofile, flags)
>>> OSError: [Errno 20] Not a directory: '/var/tmp/imgcreate-oWHPY1/iso-GPC7L3/LiveOS/osmin'
>> This is a different error from the one you were seeing. The error you
>> were seeing didn't happen in this run.
>>
>> And this error is just as nonsensical as the last. Basically:
>>
>> - open() failed with ENOTDIR, meaning that e.g. LiveOS is a file, not
>> a directory
>>
>> - yet, we've just run mkdir() with that same directory path, which
>> should have failed with ENOTDIR too, if that was really the case
>
> mkdir() fails with EEXIST, rather than ENOTDIR, if the last component
> of the path is a regular file.
>
> The problem is your kickstart:
>
> if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
> cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
> fi
>
> Try:
>
> if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
> mkdir -p $LIVE_ROOT/LiveOS/
> cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS/
> fi
Duh. I had to install anaconda-runtime too and I managed to create a
live cd and it even boots!. I will experiment with it for some more time
and submit it a package for EPEL. Thanks for all the patches and help.
Rahul
More information about the livecd
mailing list