[Fedora-livecd-list] Potential Code Reorganization

Thomas Chung tchung at fedoraproject.org
Sat Jan 6 19:07:16 UTC 2007


On 1/6/07, Adam Dutko <dutko.adam at gmail.com> wrote:
> First off, I'd like to say "Thank you!" to David for the wonderful code
> base.  :-)  This morning I started reading through the code for the
> livecd-creator component and I think it might be beneficial to insert a
> check into the main routine to check the users system for essential tools
> (toolsets) before continuing with the build process.  I suggest this be done
> because my first build failed because I did not have squashfs-tools
> installed and hence, did not have the mksquashfs program to complete the
> build.
>
>    Maybe it can be something as easy as:
>
>    if ( open('/sbin/mksquashfs', 'r') ):
>    print "Squash-tools installed, continuing with build..."
> else:
>    print "Please install the 'squash-tools' rpm using yum then try again."
>    quit


Actually, livecd-tools already requires squashfs-tools.

$ rpm -q --requires livecd-tools
/bin/bash
/usr/bin/python
coreutils
e2fsprogs
mkisofs
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
squashfs-tools
util-linux
yum
yum >= 3.0.0

Regards,
-- 
Thomas Chung
http://fedoraproject.org/wiki/ThomasChung




More information about the Fedora-livecd-list mailing list