Would it make sense to add anaconda (and before f8, anaconda-runtime) as requirements of livecd-tools?


Rahul Sundaram wrote:
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

--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list



--
_________________________________
Tim Wood, CLP, RHCT
719.338.7484 (tel)

The Data Wranglers
Web, Database & more since    since 1994
www.datawranglers.com

--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list

Reply via email to