2008-02-12 18:32:54 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "import distutils.sysconfig as d; print d.get_python_lib()")}
|
|
|
|
|
2007-09-25 21:41:38 +00:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
2009-07-22 14:16:48 +00:00
|
|
|
Summary: Tools for building live CDs
|
2007-03-23 19:41:58 +00:00
|
|
|
Name: livecd-tools
|
2009-09-16 18:07:32 +00:00
|
|
|
Version: 028
|
|
|
|
Release: 1%{?dist}
|
2008-02-12 18:32:54 +00:00
|
|
|
License: GPLv2
|
2007-03-23 19:41:58 +00:00
|
|
|
Group: System Environment/Base
|
2009-02-04 12:55:39 +00:00
|
|
|
URL: http://git.fedorahosted.org/git/livecd
|
2007-03-23 19:41:58 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2009-09-15 21:36:45 +00:00
|
|
|
Patch0: livecd-tools-027-make-liveusb-work-damnit.patch
|
2007-03-23 19:41:58 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2009-04-14 18:01:20 +00:00
|
|
|
Requires: python-imgcreate = %{version}-%{release}
|
2007-03-23 19:41:58 +00:00
|
|
|
Requires: mkisofs
|
2007-09-25 21:41:38 +00:00
|
|
|
Requires: isomd5sum
|
2007-08-28 21:25:34 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
Requires: syslinux
|
|
|
|
%endif
|
2009-01-19 16:28:48 +00:00
|
|
|
%ifarch ppc
|
2007-08-28 21:25:34 +00:00
|
|
|
Requires: yaboot
|
|
|
|
%endif
|
2008-02-12 18:32:54 +00:00
|
|
|
BuildRequires: python
|
2008-08-28 23:59:38 +00:00
|
|
|
BuildRequires: /usr/bin/pod2man
|
2007-08-28 21:25:34 +00:00
|
|
|
|
2007-03-23 19:41:58 +00:00
|
|
|
|
|
|
|
%description
|
2009-07-22 14:16:48 +00:00
|
|
|
Tools for generating live CDs on Fedora based systems including
|
2007-03-23 19:41:58 +00:00
|
|
|
derived distributions such as RHEL, CentOS and others. See
|
|
|
|
http://fedoraproject.org/wiki/FedoraLiveCD for more details.
|
|
|
|
|
2009-04-14 18:01:20 +00:00
|
|
|
%package -n python-imgcreate
|
|
|
|
Summary: Python modules for building system images
|
|
|
|
Group: System Environment/Base
|
|
|
|
Requires: util-linux
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: e2fsprogs
|
|
|
|
Requires: yum >= 3.2.18
|
|
|
|
Requires: squashfs-tools
|
|
|
|
Requires: pykickstart >= 0.96
|
|
|
|
Requires: dosfstools >= 2.11-8
|
2009-07-30 20:47:06 +00:00
|
|
|
Requires: system-config-keyboard >= 1.3.0
|
2009-04-14 18:01:20 +00:00
|
|
|
Requires: python-urlgrabber
|
|
|
|
Requires: libselinux-python
|
|
|
|
Requires: dbus-python
|
|
|
|
|
|
|
|
%description -n python-imgcreate
|
|
|
|
Python modules that can be used for building images for things
|
|
|
|
like live image or appliances.
|
|
|
|
|
|
|
|
|
2007-03-23 19:41:58 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-09-15 21:36:45 +00:00
|
|
|
%patch0 -p1
|
2007-03-23 19:41:58 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2009-04-14 18:01:20 +00:00
|
|
|
%doc AUTHORS COPYING README HACKING
|
2008-08-28 23:59:38 +00:00
|
|
|
%doc config/livecd-fedora-minimal.ks
|
|
|
|
%{_mandir}/man*/*
|
2007-03-23 19:41:58 +00:00
|
|
|
%{_bindir}/livecd-creator
|
2007-03-26 21:56:14 +00:00
|
|
|
%{_bindir}/livecd-iso-to-disk
|
2008-03-07 00:42:24 +00:00
|
|
|
%{_bindir}/livecd-iso-to-pxeboot
|
2008-02-12 18:32:54 +00:00
|
|
|
%{_bindir}/image-creator
|
2009-04-14 18:01:20 +00:00
|
|
|
|
|
|
|
%files -n python-imgcreate
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc API
|
2008-02-12 18:32:54 +00:00
|
|
|
%dir %{python_sitelib}/imgcreate
|
|
|
|
%{python_sitelib}/imgcreate/*.py
|
|
|
|
%{python_sitelib}/imgcreate/*.pyo
|
|
|
|
%{python_sitelib}/imgcreate/*.pyc
|
2007-03-23 19:41:58 +00:00
|
|
|
|
|
|
|
%changelog
|
2009-09-16 18:07:32 +00:00
|
|
|
* Wed Sep 16 2009 Warren Togami <wtogami@redhat.com> - 028-1
|
|
|
|
- Fix LiveUSB with live images
|
|
|
|
- Fix display of free space during livecd-iso-to-disk error (farrell)
|
|
|
|
|
2009-09-15 21:36:45 +00:00
|
|
|
* Tue Sep 15 2009 Warren Togami <wtogami@redhat.com> - 027-2
|
|
|
|
- test patch to make LiveUSB work again, need to be sure it doesn't
|
|
|
|
break LiveCD before committing in the next version
|
|
|
|
|
2009-09-10 20:09:59 +00:00
|
|
|
* Thu Sep 10 2009 Warren Togami <wtogami@redhat.com> - 027-1
|
|
|
|
- Support new dracut output filename /boot/initramfs-*
|
|
|
|
- Fix cleanup of fake /selinux directory during teardown Bug #522224
|
|
|
|
|
2009-08-24 20:43:19 +00:00
|
|
|
* Mon Aug 24 2009 Jeremy Katz <katzj@redhat.com> - 026-1
|
|
|
|
- More resize2fs -M usage
|
|
|
|
- Work with dracut-based initramfs
|
|
|
|
- Some error handling updates
|
|
|
|
|
2009-07-30 20:47:06 +00:00
|
|
|
* Thu Jul 30 2009 Jeremy Katz <katzj@redhat.com> - 025-1
|
|
|
|
- Bind mount /dev/shm also (#502921)
|
|
|
|
- Update man pages (Michel Duquaine, #505742)
|
|
|
|
- Use blkid instead of vol_id (mclasen, #506360)
|
|
|
|
- A few livecd-iso-to-disk tweaks (Martin Dengler, Jason Farrell)
|
|
|
|
- Another fix for SELinux being disabled (#508402)
|
|
|
|
- Use resize2fs -M and handle resize errors better
|
|
|
|
- Use isohybrid on the live image
|
|
|
|
- Use system-config-keyboard instead of rhpl
|
|
|
|
|
2009-07-25 11:09:54 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 024-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-06 18:03:30 +00:00
|
|
|
* Wed May 6 2009 Jeremy Katz <katzj@redhat.com> - 024-1
|
|
|
|
- Fix ppc image creation (#497193, help from jwboyer)
|
|
|
|
- Fixes for using ext[23] usb stick (wtogami)
|
|
|
|
- Check filesystem after resizing and raise an error if there are
|
|
|
|
problems (#497377)
|
|
|
|
|
2009-04-14 18:01:20 +00:00
|
|
|
* Tue Apr 14 2009 Jeremy Katz <katzj@redhat.com> - 023-1
|
|
|
|
- Don't prompt about overwriting when making usb stick (#491234)
|
|
|
|
- Fix up livecd-iso-to-pxeboot for new syslinux paths
|
|
|
|
- Fix --xo variable expansion (Alexander Boström)
|
|
|
|
- Name of EFI partitions doesn't matter for mactel mode (Jim Radford)
|
|
|
|
- Fix unterminated sed command (#492376)
|
|
|
|
- Handle kernel/squashfs mismatch when making usb stick in
|
|
|
|
--xo mode (Alexander Boström)
|
|
|
|
- Support all of the options for the 'firewall' kickstart directive
|
|
|
|
- Deal with syslinux com32 api incompat when making usb sticks (#492370)
|
|
|
|
- Add options to force fetching of repomd.xml every run (jkeating)
|
|
|
|
- Quiet restorecon (Marc Herbert)
|
|
|
|
- Fix traceback with syslinux disabled (#495269)
|
|
|
|
- Split python-imgcreate module into a subpackage
|
|
|
|
|
2009-03-09 15:04:56 +00:00
|
|
|
* Mon Mar 9 2009 Jeremy Katz <katzj@redhat.com> - 022-1
|
|
|
|
- Fixes for hybird GPT/MBR usb sticks (Stewart Adam)
|
|
|
|
- Support setting SELinux booleans (Dan Walsh)
|
|
|
|
- Fix unicode error messages (Felix Schwarz)
|
|
|
|
- Update man pages (Chris Curran, #484627)
|
|
|
|
- Support syslinux under /usr/share
|
|
|
|
- Remove some legacy support from livecd-iso-to-disk
|
|
|
|
- Basic support for multi-image usb sticks
|
|
|
|
|
2009-02-25 20:39:46 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 021-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-19 16:28:48 +00:00
|
|
|
* Mon Jan 19 2009 Jeremy Katz <katzj@redhat.com> - 021-1
|
|
|
|
- Start of support for hybrid GPT/MBR usb sticks (Stewart Adam)
|
|
|
|
- Fix for udev deprecated syntax (#480109)
|
|
|
|
- Keep cache with --cache (Jan Kratochvil, #479716)
|
|
|
|
- Use absolute path to cachedir (#479716)
|
|
|
|
- Support UDF for large ISO spins (Bruno Wolf, #476696)
|
|
|
|
- Improvements for encrypted /home setup (mdomsch, #475399)
|
|
|
|
- Don't allow spaces in labels (#475834)
|
|
|
|
- Fix --tmpdir relative path (dhuff)
|
|
|
|
- Support ext4 rootfs
|
|
|
|
- Fix device command version check (apevec)
|
|
|
|
- Allow URLs for specifying the kickstart config (bkearney)
|
|
|
|
- Fix macro name for excludedocs (bkearney)
|
|
|
|
- Fix up --base-on (#471656)
|
|
|
|
|
|
|
|
* Wed Nov 12 2008 Jeremy Katz <katzj@redhat.com> - 020-1
|
|
|
|
- Support setting up a swap file
|
|
|
|
- Verify integer args in livecd-iso-to-disk (#467257)
|
|
|
|
- Set up persistent /home on internal mtd0 for XO
|
|
|
|
- Default to resetting the overlay on XO
|
|
|
|
- Support copying the raw ext3fs to the usb stick instead of the squash
|
|
|
|
- Mactel fixes
|
|
|
|
- Align initrd properly on XO (#467093)
|
|
|
|
- Make initrd load addr work on newer XO firmwares
|
|
|
|
- Fix up Xen paths for Xen live images (Michael Ansel)
|
|
|
|
- Support --defaultdesktop (Orion Poplawski)
|
2008-11-29 16:48:08 +00:00
|
|
|
|
2008-10-10 14:26:57 +00:00
|
|
|
* Fri Oct 10 2008 Jeremy Katz <katzj@redhat.com> - 019-1
|
|
|
|
- livecd-iso-to-disk: Various other XO fixes
|
|
|
|
- Cleanup rpmdb locks after package installation
|
|
|
|
- Fix traceback due to lazy rhpl.keyboard import
|
|
|
|
- Fix using groups with options (jkeating)
|
|
|
|
- Support persistent /home on XO's internal flash
|
|
|
|
- Fix ramdisk load addr in boot/olpc.fth for XO
|
|
|
|
- Fix up boot from SD
|
|
|
|
- Fix extracting boot parameters for pxe (apevec)
|
|
|
|
- Make rpm macro information persist into the image (bkearney)
|
2009-04-14 18:01:20 +00:00
|
|
|
- Support %%packages --instLangs (bkearney)
|
2008-10-10 14:26:57 +00:00
|
|
|
|
2008-08-28 23:59:38 +00:00
|
|
|
* Thu Aug 28 2008 Jeremy Katz <katzj@redhat.com> - 018-1
|
|
|
|
- Use logging API for debugging messages (dhuff)
|
|
|
|
- Some initial support for booting live images on an XO
|
|
|
|
- Refactoring of mount code for appliance-creator (danpb, dhuff)
|
|
|
|
- Make --base-on actually work again
|
|
|
|
- Drop the image configs; these are now in the spin-kickstarts repo
|
|
|
|
- plymouth support
|
|
|
|
- Listen to bootloader --append in config
|
|
|
|
- Add man pages (Pedro Silva)
|
|
|
|
- Support booting from Intel based Macs via EFI on USB (#450193)
|
|
|
|
- Fixes for SELinux enforcing (eparis)
|
|
|
|
- Eject the CD on shutdown (#239928)
|
|
|
|
- Allow adding extra kernel args with livecd-iso-to-disk
|
|
|
|
- Support for persistent /home (#445218)
|
|
|
|
- Copy timezone to /etc/localtime (#445624)
|
|
|
|
- Ensure that commands run by livecd-creator exist
|
|
|
|
- Mount a tmpfs for some dirs (#447127)
|
|
|
|
|
2008-05-06 16:12:42 +00:00
|
|
|
* Tue May 6 2008 Bill Nottingham <notting@redhat.com> - 017-1
|
|
|
|
- fix F9 final configs
|
|
|
|
|
|
|
|
* Thu May 1 2008 Jeremy Katz <katzj@redhat.com> - 016-1
|
|
|
|
- Config changes all around, including F9 final configs
|
|
|
|
- Fix up the minimal image creation
|
|
|
|
- Fix odd traceback error on __del__ (#442443)
|
|
|
|
- Add late initscript and split things in half
|
|
|
|
- livecd-iso-to-disk: Check the available space on the stick (#443046)
|
|
|
|
- Fix partition size overriding (kanarip)
|
|
|
|
|
2008-03-07 00:42:24 +00:00
|
|
|
* Thu Mar 6 2008 Jeremy Katz <katzj@redhat.com> - 015-1
|
|
|
|
- Support for using live isos with pxe booting (Richard W.M. Jones and
|
|
|
|
Chris Lalancette)
|
|
|
|
- Fixes for SELinux being disabled (Warren Togami)
|
|
|
|
- Stop using mayflower for building the initrd; mkinitrd can do it now
|
|
|
|
- Create a minimal /dev rather than using the host /dev (Warren Togami)
|
|
|
|
- Support for persistent overlays when using a USB stick (based on support
|
|
|
|
by Douglas McClendon)
|
|
|
|
|
2008-02-12 18:32:54 +00:00
|
|
|
* Tue Feb 12 2008 Jeremy Katz <katzj@redhat.com> - 014-1
|
|
|
|
- Rework to provide a python API for use by other tools (thanks to
|
|
|
|
markmc for a lot of the legwork here)
|
|
|
|
- Fix creation of images with ext2 filesystems and no SELinux
|
|
|
|
- Don't require a yum-cache directory inside of the cachedir (#430066)
|
|
|
|
- Many config updates for rawhide
|
|
|
|
- Allow running live images from MMC/SD (#430444)
|
|
|
|
- Don't let a non-standard TMPDIR break things (Jim Meyering)
|
|
|
|
|
|
|
|
* Mon Oct 29 2007 Jeremy Katz <katzj@redhat.com> - 013-1
|
|
|
|
- Lots of config updates
|
|
|
|
- Support 'device foo' to say what modules go in the initramfs
|
|
|
|
- Support multiple kernels being installed
|
|
|
|
- Allow blacklisting kernel modules on boot with blacklist=foo
|
|
|
|
- Improve bootloader configs
|
|
|
|
- Split configs off for f8
|
|
|
|
|
2007-09-25 21:41:38 +00:00
|
|
|
* Tue Sep 25 2007 Jeremy Katz <katzj@redhat.com> - 012-1
|
|
|
|
- Allow %%post --nochroot to work for putting files in the root of the iso
|
|
|
|
- Set environment variables for when %%post is run
|
|
|
|
- Add progress for downloads (Colin Walters)
|
|
|
|
- Add cachedir option (Colin Walters)
|
|
|
|
- Fixes for ppc/ppc64 to work again
|
|
|
|
- Clean up bootloader config a little
|
|
|
|
- Enable swaps in the default desktop config
|
|
|
|
- Ensure all configs are installed (#281911)
|
|
|
|
- Convert method line to a repo for easier config reuse (jkeating)
|
|
|
|
- Kill the modprobe FATAL warnings (#240585)
|
|
|
|
- Verify isos with iso-to-disk script
|
|
|
|
- Allow passing xdriver for setting the xdriver (#291281)
|
|
|
|
- Add turboliveinst patch (Douglas McClendon)
|
|
|
|
- Make iso-to-disk support --resetmbr (#294041)
|
|
|
|
- Clean up filesystem layout (Douglas McClendon)
|
|
|
|
- Manifest tweaks for most configs
|
|
|
|
|
2007-08-28 21:25:34 +00:00
|
|
|
* Tue Aug 28 2007 Jeremy Katz <katzj@redhat.com> - 011-1
|
|
|
|
- Many config updates for Fedora 8
|
|
|
|
- Support $basearch in repo line of configs; use it
|
|
|
|
- Support setting up Xen kernels and memtest86+ in the bootloader config
|
|
|
|
- Handle rhgb setup
|
|
|
|
- Improved default fs label (Colin Walters)
|
|
|
|
- Support localboot from the bootloader (#252192)
|
|
|
|
- Use hidden menu support in syslinux
|
|
|
|
- Have a base desktop config included by the other configs (Colin Walters)
|
|
|
|
- Use optparse for optino parsing
|
|
|
|
- Remove a lot of command line options; things should be specified via the
|
|
|
|
kickstart config instead
|
|
|
|
- Beginnings of PPC support (David Woodhouse)
|
|
|
|
- Clean up kernel module inclusion to take advantage of files in Fedora
|
|
|
|
kernels listing storage drivers
|
|
|
|
|
2007-07-25 19:03:28 +00:00
|
|
|
* Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 010-1
|
|
|
|
- Separate out configs used for Fedora 7
|
|
|
|
- Add patch from Douglas McClendon to make images smaller
|
|
|
|
- Add patch from Matt Domsch to work with older syslinux without vesamenu
|
|
|
|
- Add support for using mirrorlists; use them
|
|
|
|
- Let livecd-iso-to-disk work with uncompressed images (#248081)
|
|
|
|
- Raise error if SELinux requested without being enabled (#248080)
|
|
|
|
- Set service defaults on level 2 also (#246350)
|
|
|
|
- Catch some failure cases
|
|
|
|
- Allow specifying tmpdir
|
|
|
|
- Add patch from nameserver specification from Elias Hunt
|
|
|
|
|
2007-05-30 20:17:39 +00:00
|
|
|
* Wed May 30 2007 Jeremy Katz <katzj@redhat.com> - 009-1
|
|
|
|
- miscellaneous live config changes
|
|
|
|
- fix isomd5 checking syntax error
|
|
|
|
|
2007-05-04 22:11:07 +00:00
|
|
|
* Fri May 4 2007 Jeremy Katz <katzj@redhat.com> - 008-1
|
|
|
|
- disable screensaver with default config
|
|
|
|
- add aic7xxx and sym53c8xx drivers to default initramfs
|
|
|
|
- fixes from johnp for FC6 support in the creator
|
|
|
|
- fix iso-to-stick to work on FC6
|
|
|
|
|
2007-04-24 15:33:38 +00:00
|
|
|
* Tue Apr 24 2007 Jeremy Katz <katzj@redhat.com> - 007-1
|
|
|
|
- Disable prelinking by default
|
|
|
|
- Disable some things that slow down the live boot substantially
|
|
|
|
- Lots of tweaks to the default package manifests
|
|
|
|
- Allow setting the root password (Jeroen van Meeuwen)
|
|
|
|
- Allow more specific network line setting (Mark McLoughlin)
|
|
|
|
- Don't pollute the host yum cache (Mark McLoughlin)
|
|
|
|
- Add support for mediachecking
|
|
|
|
|
2007-04-04 20:57:28 +00:00
|
|
|
* Wed Apr 4 2007 Jeremy Katz <katzj@redhat.com> - 006-1
|
|
|
|
- Many fixes to error handling from Mark McLoughlin
|
|
|
|
- Add the KDE config
|
|
|
|
- Add support for prelinking
|
|
|
|
- Fixes for installing when running from RAM or usb stick
|
|
|
|
- Add sanity checking to better ensure that USB stick is bootable
|
|
|
|
|
2007-03-29 15:31:17 +00:00
|
|
|
* Thu Mar 29 2007 Jeremy Katz <katzj@redhat.com> - 005-3
|
|
|
|
- have to use excludearch, not exclusivearch
|
|
|
|
|
2007-03-29 14:27:51 +00:00
|
|
|
* Thu Mar 29 2007 Jeremy Katz <katzj@redhat.com> - 005-2
|
|
|
|
- exclusivearch since it only works on x86 and x86_64 for now
|
|
|
|
|
2007-03-28 15:49:47 +00:00
|
|
|
* Wed Mar 28 2007 Jeremy Katz <katzj@redhat.com> - 005-1
|
|
|
|
- some shell quoting fixes
|
|
|
|
- allow using UUID or LABEL for the fs label of a usb stick
|
|
|
|
- work with ext2 formated usb stick
|
|
|
|
|
2007-03-26 21:56:14 +00:00
|
|
|
* Mon Mar 26 2007 Jeremy Katz <katzj@redhat.com> - 004-1
|
|
|
|
- add livecd-iso-to-disk for setting up the live CD iso image onto a usb
|
|
|
|
stick or similar
|
|
|
|
|
2007-03-23 19:41:58 +00:00
|
|
|
* Fri Mar 23 2007 Jeremy Katz <katzj@redhat.com> - 003-1
|
|
|
|
- fix remaining reference to run-init
|
|
|
|
|
|
|
|
* Thu Mar 22 2007 Jeremy Katz <katzj@redhat.com> - 002-1
|
|
|
|
- update for new version
|
|
|
|
|
|
|
|
* Fri Dec 22 2006 David Zeuthen <davidz@redhat.com> - 001-1%{?dist}
|
|
|
|
- Initial build.
|
|
|
|
|