ishcherb / rpms / lorax

Forked from rpms/lorax 6 years ago
Clone
Martin Gracik 75675ef
%define debug_package %{nil}
Martin Gracik 75675ef
Martin Gracik 6d90247
Name:           lorax
95fffac
Version:        17.27
7695dd2
Release:        1%{?dist}
Martin Gracik 6d90247
Summary:        Tool for creating the anaconda install images
Martin Gracik 6d90247
Martin Gracik 6d90247
Group:          Applications/System
Martin Gracik 6d90247
License:        GPLv2+
Martin Gracik 6d90247
URL:            http://git.fedorahosted.org/git/?p=lorax.git
Martin Gracik 2ed0e16
Source0:        https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.gz
Martin Gracik 6d90247
Martin Gracik 16297df
BuildRequires:  python2-devel
8540173
Requires:       python-mako
8540173
Requires:       gawk
8540173
Requires:       glibc-common
Martin Gracik 6d90247
Requires:       cpio
8540173
Requires:       module-init-tools
Martin Gracik 6d90247
Requires:       device-mapper
Martin Gracik 5f9bce2
Requires:       findutils
8540173
Requires:       GConf2
Martin Gracik 5f9bce2
Requires:       isomd5sum
8540173
Requires:       glibc
Martin Gracik 5f9bce2
Requires:       util-linux
8540173
Requires:       dosfstools
4a5532e
Requires:       hfsplus-tools
8540173
Requires:       genisoimage
8540173
Requires:       parted
8540173
Requires:       gzip
Martin Gracik 5f9bce2
Requires:       xz
8540173
Requires:       squashfs-tools >= 4.2
8540173
Requires:       e2fsprogs
Martin Gracik 027e082
Requires:       yum
10da064
Requires:       pykickstart
Martin Gracik 6d90247
Martin Gracik 16297df
%ifarch %{ix86} x86_64
7695dd2
Requires:       syslinux >= 4.02-5
Martin Gracik 77fd217
%endif
Martin Gracik 77fd217
Martin Gracik 16297df
%ifarch %{sparc}
Martin Gracik 77fd217
Requires:       silo
Martin Gracik 77fd217
%endif
Martin Gracik 77fd217
7695dd2
%ifarch ppc ppc64
7695dd2
Requires:       kernel-bootwrapper
7695dd2
%endif
7695dd2
Martin Gracik 027e082
%ifarch s390 s390x
Martin Gracik 027e082
Requires:       openssh
Martin Gracik 027e082
%endif
Martin Gracik 027e082
Martin Gracik 6d90247
%description
Martin Gracik 6d90247
Lorax is a tool for creating the anaconda install images.
Martin Gracik 6d90247
7695dd2
It also includes livemedia-creator which is used to create bootable livemedia,
7695dd2
including live isos and disk images. It can use libvirtd for the install, or
7695dd2
Anaconda's image install feature.
7695dd2
Martin Gracik 6d90247
%prep
Martin Gracik 6d90247
%setup -q
Martin Gracik 6d90247
Martin Gracik 6d90247
%build
Martin Gracik 6d90247
Martin Gracik 6d90247
%install
Martin Gracik 6d90247
rm -rf $RPM_BUILD_ROOT
Martin Gracik 6d90247
make DESTDIR=$RPM_BUILD_ROOT install
Martin Gracik 6d90247
Martin Gracik 6d90247
%files
Martin Gracik 6d90247
%defattr(-,root,root,-)
7695dd2
%doc COPYING AUTHORS README.livemedia-creator
Martin Gracik 6d90247
%{python_sitelib}/pylorax
Martin Gracik 6d90247
%{python_sitelib}/*.egg-info
Martin Gracik 6d90247
%{_sbindir}/lorax
7695dd2
%{_sbindir}/mkefiboot
7695dd2
%{_sbindir}/livemedia-creator
Martin Gracik 6d90247
%dir %{_sysconfdir}/lorax
Martin Gracik 6d90247
%config(noreplace) %{_sysconfdir}/lorax/lorax.conf
Martin Gracik 6d90247
%dir %{_datadir}/lorax
Martin Gracik 6d90247
%{_datadir}/lorax/*
Martin Gracik 6d90247
Martin Gracik 6d90247
Martin Gracik 6d90247
%changelog
95fffac
* Thu Sep 13 2012 Brian C. Lane <bcl@redhat.com> 17.27-1
95fffac
- Do not remove shared-mime-info (#825960)
95fffac
- livemedia-creator: add some error checking (bcl@redhat.com)
95fffac
10da064
* Mon Jun 11 2012 Brian C. Lane <bcl@redhat.com> 17.26-1
10da064
- livemedia-creator: Hook up arch option (bcl@redhat.com)
10da064
- livemedia-creator: Add appliance creation (bcl@redhat.com)
10da064
- livemedia-creator: handle failed mount for ami (bcl@redhat.com)
10da064
- Add the ppc magic file (mgracik@redhat.com)
10da064
- Install proper branding packages from repo (#813969) (mgracik@redhat.com)
10da064
4a5532e
* Fri May 18 2012 Martin Gracik <mgracik@redhat.com> 17.25-1
4a5532e
- Use --mac for isohybrid only if doing macboot images (mgracik@redhat.com)
4a5532e
4a5532e
* Fri May 18 2012 Martin Gracik <mgracik@redhat.com> 17.24-1
4a5532e
- Add --nomacboot option (mgracik@redhat.com)
4a5532e
- linuxrc.s390 is dead in anaconda (dan@danny.cz)
Martin Gracik c587e35
- livemedia-creator: check kickstart for display modes (#819660)
4a5532e
  (bcl@redhat.com)
4a5532e
- livemedia-creator: Removed unused ImageMount class (bcl@redhat.com)
4a5532e
- livemedia-creator: cleanup after a crash (bcl@redhat.com)
4a5532e
- livemedia-creator: start using /var/tmp instead of /tmp (bcl@redhat.com)
4a5532e
- livemedia-creator: make libvirt module optional (bcl@redhat.com)
4a5532e
4a5532e
* Thu May 10 2012 Martin Gracik <mgracik@redhat.com> 17.23-1
4a5532e
- Use gz not bz2 for source (mgracik@redhat.com)
4a5532e
4a5532e
* Thu May 10 2012 Martin Gracik <mgracik@redhat.com> 17.22-1
4a5532e
- Rebuild. (mgracik@redhat.com)
4a5532e
4a5532e
* Thu May 10 2012 Martin Gracik <mgracik@redhat.com> 17.21-1
4a5532e
- new package built with tito
4a5532e
4a5532e
* Wed May 09 2012 Martin Gracik <mgracik@redhat.com> 17.19-1
4a5532e
- Add nhn-nanum-fonts
4a5532e
  Resolves: rhbz#818127
4a5532e
- add name field to .treeinfo its a concatination of family and version (dgilmore)
4a5532e
- include the new cmsfs-fuse interface (dhorak)
4a5532e
- Fix typo in help
4a5532e
  Resolves: rhbz#819476
4a5532e
4a5532e
* Wed May 09 2012 Daniel Mach <dmach@redhat.com> 17.18-2
4a5532e
- Disable macboot.img on RHEL
Martin Gracik 0e49143
4a5532e
* Tue May 08 2012 Brian C. Lane <bcl@redhat.com> 17.18-1
4a5532e
- stop moving /run (#818918) (bcl)
4a5532e
4a5532e
* Thu May 03 2012 Brian C. Lane <bcl@redhat.com> 17.17-1
91c91ee
- Added BCM4331 firmware (#817151) (mgracik)
91c91ee
- mkefiboot: Add support for disk label files (mjg)
4a5532e
- Include /usr/bin/ntfsinfo. (#816664) (dlehman)
91c91ee
- Add /etc/sysctl.d/anaconda.conf, set kernel.printk=1 (#816022) (wwoods)
4a5532e
4a5532e
* Mon Apr 23 2012 Brian C. Lane <bcl@redhat.com> 17.16-1
66b8420
- add media check menu option (bcl)
66b8420
- remove unneeded dracut bootargs (bcl)
4a5532e
- remove 'loadkeys' stub (#804306) (wwoods)
4a5532e
4a5532e
* Fri Apr 20 2012 Martin Gracik <mgracik@redhat.com> 17.15-1
4a5532e
- Don't remove dosfstools (#806648)
4a5532e
- Leave some of the grub2 utilities in the install image (#749323)
Martin Gracik 7fc69e0
- mkefiboot: Copy Mac bootloader, rather than linking it (mjg)
4a5532e
- Remove workdir if it was created by lorax (#807964)
Martin Gracik 7fc69e0
- add gdisk to install image (#811083) (bcl)
4a5532e
4a5532e
* Wed Apr 11 2012 Martin Gracik <mgracik@redhat.com> 17.14-1
4a5532e
- Don't use --allbut for xfsprogs cleanup (#804779)
4a5532e
- Log all removed files
4a5532e
- Add spice-vdagent to initrd (#804739)
4a5532e
- Add ntfs-3g to initrd (#804302)
Martin Gracik 92f0d3b
- ntfs-3g now uses /usr/lib (#810039) (bcl)
Martin Gracik 92f0d3b
4a5532e
* Wed Mar 28 2012 Brian C. Lane <bcl@redhat.com> 17.13-1
4a5532e
- add iscsi-initiator-utils (#804522) (bcl)
4a5532e
- use cache outside the installtree (bcl)
4a5532e
4a5532e
* Wed Mar 21 2012 Brian C. Lane <bcl@redhat.com> 17.12-1
eeac508
- mkefiboot: Make Apple boot images appear in the startup preferences (mjg)
eeac508
- add symlink from /mnt/install -> /run/install (wwoods)
4a5532e
4a5532e
* Fri Mar 16 2012 Brian C. Lane <bcl@redhat.com> 17.10-1
4a5532e
- merge noloader patches
e12ed7c
- Don't trash all the initscripts 'fedora*' services (wwoods)
e12ed7c
- remove anaconda-copy-ks.sh (wwoods)
e12ed7c
- add anaconda dracut module (wwoods)
e12ed7c
- runtime-postinstall: remove references to loader (wwoods)
e12ed7c
- runtime-postinstall: remove keymap stuff (wwoods)
e12ed7c
- Add the icfg package (#771733) (mgracik)
e12ed7c
- Log the output of mkfs (#769928) (mgracik)
e12ed7c
- livemedia-creator: update TreeBuilder use for isolabel (bcl)
e12ed7c
4a5532e
* Wed Mar 07 2012 Martin Gracik <mgracik@redhat.com> 17.9-1
4a5532e
- Fix product name replacing in templates
4a5532e
  Resolves: rhbz#799919
4a5532e
4a5532e
* Tue Mar 06 2012 Brian C. Lane <bcl@redhat.com> 17.8-1
656f286
- livemedia-creator: update README (bcl)
656f286
- example livemedia kickstart for ec2 (bcl)
656f286
- livemedia-creator: console=ttyS0 not /dev/ttyS0 (bcl)
656f286
- livemedia-creator: Add support for making ami images (bcl)
4a5532e
4a5532e
* Tue Feb 28 2012 Martin Gracik <mgracik@redhat.com> 17.7-1
4a5532e
- Don't remove btrfs utils (#796511)
4a5532e
- Remove root and ip parameters from generic.prm (#796572)
4a5532e
- Check if the volume id is not longer than 32 chars (#786832)
4a5532e
- Add option to specify volume id on command line (#786834)
4a5532e
- Install nhn-nanum-gothic-fonts (#790266)
4a5532e
- Change the locale to C (#786833)
4a5532e
- Don't use mk-s390-cdboot (dhorak)
4a5532e
- use internal implementation of the addrsize utility
4a5532e
- Make sure var/run is not a symlink on s390x (#787217)
4a5532e
- Create var/run/dbus directory on s390x (#787217)
4a5532e
- iputils is small and required by dhclient-script
4a5532e
- missing version bump in specfile
4a5532e
4a5532e
* Mon Feb 20 2012 Brian C. Lane <bcl@redhat.com> 17.6-1
165869e
- use --prefix=/run/initramfs when building initramfs (wwoods)
165869e
- dhclient-script needs cut and arping (bcl)
165869e
- Fix missing CalledProcessError import (bcl)
4a5532e
4a5532e
* Wed Feb 15 2012 Brian C. Lane <bcl@redhat.com> 17.5-1
679598a
- metacity now depends on gsettings-desktop-schemas (bcl)
679598a
- Add findiso to grub config (mjg)
4a5532e
4a5532e
* Mon Feb 13 2012 Brian C. Lane <bcl@redhat.com> 17.4-1
4095c26
- Change the squashfs image section in .treeinfo (mgracik)
4095c26
- Add path to squashfs image to the treeinfo (mgracik)
4095c26
- Add runtime basename variable to the template (mgracik)
4a5532e
- add memtest to the boot.iso for x86 (#787234) (bcl)
4a5532e
- Add dracut args to grub.conf (bcl)
4095c26
db05212
* Wed Feb 08 2012 Brian C. Lane <bcl@redhat.com> 17.3-1
db05212
- keep convertfs.sh script in image (#787893) (bcl)
db05212
- Add dracut convertfs module (#787893) (bcl)
db05212
- fix templates to work with F17 usrmove (tflink)
db05212
- changing hfs to hfsplus so that the correct mkfs binary is called (tflink)
db05212
- Add luks, md and dm dracut args to bootloaders (bcl)
db05212
- update lorax and livemedia_creator to use isfinal (bcl)
db05212
- lorax: copy kickstarts into sysroot (#743135) (bcl)
db05212
- livemedia-creator: Mount iso if rootfs is LiveOS (bcl)
db05212
- Log output of failed command (mgracik)
db05212
- Add packages required for gtk3 and the new anaconda UI. (clumens)
db05212
Martin Gracik 411f9cd
* Thu Jan 12 2012 Martin Gracik <mgracik@redhat.com> 17.2-1
Martin Gracik 411f9cd
- Allow specifying buildarch on the command line (#771382) (mgracik)
Martin Gracik 411f9cd
- lorax: Don't touch /etc/mtab in cleanup (bcl)
Martin Gracik 411f9cd
- Update TODO and POLICY to reflect the current state of things (wwoods)
Martin Gracik 411f9cd
- consider %ghost files part of the filelists in templates (wwoods)
Martin Gracik 411f9cd
- lorax: Add option to exclude packages (bcl)
Martin Gracik 411f9cd
- dracut needs kbd directories (#769932) (bcl)
Martin Gracik 411f9cd
- better debug, handle relative output paths (bcl)
Martin Gracik 411f9cd
7695dd2
* Wed Dec 21 2011 Brian C. Lane <bcl@redhat.com> 17.1-1
7695dd2
- lorax: check for output directory early and quit (bcl)
7695dd2
- lorax: Add --proxy command (bcl)
7695dd2
- lorax: add --config option (bcl)
7695dd2
- Modify spec file for livemedia-creator (bcl)
7695dd2
- Add no-virt mode to livemedia-creator (bcl)
7695dd2
- Add livemedia-creator README and example ks (bcl)
7695dd2
- Add config files for live media (bcl)
7695dd2
- Add livemedia-creator (bcl)
7695dd2
- Allow a None to be passed as size to create_runtime (bcl)
7695dd2
- Add execWith utils from anaconda (bcl)
7695dd2
- Changes needed for livecd creation (bcl)
7695dd2
- dracut has moved to /usr/bin (bcl)
7695dd2
7695dd2
* Mon Oct 21 2011 Will Woods <wwoods@redhat.com> 17.0-1
7695dd2
- Merges the 'treebuilder' branch of lorax
7695dd2
- images are split into two parts again (initrd.img, LiveOS/squashfs.img)
7695dd2
- base memory use reduced to ~200M (was ~550M in F15, ~320MB in F16)
7695dd2
- initrd.img is now built by dracut
7695dd2
- booting now requires correct "root=live:..." argument
7695dd2
- boot.iso is EFI hybrid capable (copy iso to USB stick, boot from EFI)
7695dd2
- Better support for Apple EFI (now with custom boot icon!)
7695dd2
- new syslinux config (#734170)
7695dd2
- add fpaste to installer environment (#727842)
7695dd2
- rsyslog.conf: hardcode hostname for virtio forwarding (#744544)
7695dd2
- Use a predictable ISO Volume Label (#732298)
7695dd2
- syslinux-vesa-splash changed filename (#739345)
7695dd2
- don't create /etc/sysconfig/network (#733425)
7695dd2
- xauth and libXmu are needed for ssh -X (#731046)
7695dd2
- add libreport plugins (#729537), clean up libreport
7695dd2
- keep nss certs for libreport (#730438)
7695dd2
- keep ModemManager (#727946)
7695dd2
- keep vmmouse binaries (#723831)
7695dd2
- change isbeta to isfinal, default to isFinal=False (#723901)
7695dd2
- use pungi's installroot rather than making our own (#722481)
7695dd2
- keep ntfsresize around (#722711)
7695dd2
- replace cjkuni-uming-fonts with wqy-microhei-fonts (#709962)
7695dd2
- install all firmware packages (#703291, #705392)
7695dd2
- keep libmodman and libproxy (#701622)
7695dd2
- write the lorax verion in the .buildstamp (#689697)
7695dd2
- disable rsyslogd rate limiting on imuxsock (#696943)
7695dd2
- disable debuginfo package
Martin Gracik 16297df
Martin Gracik 77fd217
* Wed Apr 13 2011 Martin Gracik <mgracik@redhat.com> 0.5-1
Martin Gracik 77fd217
- Remove pungi patch
Martin Gracik 77fd217
- Remove pseudo code
Martin Gracik 77fd217
- Add a /bin/login shim for use only in the installation environment.
Martin Gracik 77fd217
- Set the hostname from a config file, not programmatically.
Martin Gracik 77fd217
- Add systemd and agetty to the installation environment.
Martin Gracik 77fd217
- Specify "cpio -H newc" instead of "cpio -c".
Martin Gracik 77fd217
- Provide shutdown on s390x (#694518)
Martin Gracik 77fd217
- Fix arch specific requires in spec file
Martin Gracik 77fd217
- Add s390 modules and do some cleanup of the template
Martin Gracik 77fd217
- Generate ssh keys on s390
Martin Gracik 77fd217
- Don't remove tr, needed for s390
Martin Gracik 77fd217
- Do not check if we have all commands
Martin Gracik 77fd217
- Change location of addrsize and mk-s390-cdboot
Martin Gracik 77fd217
- Shutdown is in another location
Martin Gracik 77fd217
- Do not skip broken packages
Martin Gracik 77fd217
- Don't install network-manager-netbook
Martin Gracik 77fd217
- Wait for subprocess to finish
Martin Gracik 77fd217
- Have to call os.makedirs
Martin Gracik 77fd217
- images dir already exists, we just need to set it
Martin Gracik 77fd217
- Do not remove libassuan.
Martin Gracik 77fd217
- The biarch is a function not an attribute
Martin Gracik 77fd217
- Create images directory in outputtree
Martin Gracik 77fd217
- Use gzip on ppc initrd
Martin Gracik 77fd217
- Create efibootdir if doing efi images
Martin Gracik 77fd217
- Get rid of create_gconf().
Martin Gracik 77fd217
- gconf/metacity: have only one workspace.
Martin Gracik 77fd217
- Add yum-langpacks yum plugin to anaconda environment (notting)
Martin Gracik 77fd217
- Replace variables in yaboot.conf
Martin Gracik 77fd217
- Add sparc specific packages
Martin Gracik 77fd217
- Skip keymap creation on s390
Martin Gracik 77fd217
- Copy shutdown and linuxrc.s390 on s390
Martin Gracik 77fd217
- Add packages for s390
Martin Gracik 77fd217
- Add support for sparc
Martin Gracik 77fd217
- Use factory to get the image classes
Martin Gracik 77fd217
- treeinfo has to be addressed as self.treeinfo
Martin Gracik 77fd217
- Add support for s390
Martin Gracik 77fd217
- Add the xen section to treeinfo on x86_64
Martin Gracik 77fd217
- Fix magic and mapping paths
Martin Gracik 77fd217
- Fix passing of prepboot and macboot arguments
Martin Gracik 77fd217
- Small ppc fixes
Martin Gracik 77fd217
- Check if the file we want to remove exists
Martin Gracik 77fd217
- Install x86 specific packages only on x86
Martin Gracik 77fd217
- Change the location of zImage.lds
Martin Gracik 77fd217
- Added ppc specific packages
Martin Gracik 77fd217
- memtest and efika.forth are in /boot
Martin Gracik 77fd217
- Add support for ppc
Martin Gracik 77fd217
- Minor sparc pseudo code changes
Martin Gracik 77fd217
- Added sparc pseudo code (dgilmore)
Martin Gracik 77fd217
- Added s390 and x86 pseudo code
Martin Gracik 77fd217
- Added ppc pseudo code
Martin Gracik 77fd217
Martin Gracik 89526c3
* Mon Mar 14 2011 Martin Gracik <mgracik@redhat.com> 0.4-1
Martin Gracik 89526c3
- Add the images-xen section to treeinfo on x86_64
Martin Gracik 89526c3
- Print a message when no arguments given (#684463)
Martin Gracik 89526c3
- Mako template returns unicode strings (#681003)
Martin Gracik 89526c3
- The check option in options causes ValueError
Martin Gracik 89526c3
- Disable all ctrl-alt-arrow metacity shortcuts
Martin Gracik 89526c3
- Remove the locale-archive explicitly
Martin Gracik 89526c3
- Use xz when compressing the initrd
Martin Gracik 89526c3
- Keep the source files for locales and get rid of the binary form
Martin Gracik 89526c3
- Add /sbin to $PATH (for the tty2 terminal)
Martin Gracik 89526c3
- Create /var/run/dbus directory in installtree
Martin Gracik 89526c3
- Add mkdir support to template
Martin Gracik 89526c3
- gpart is present only on i386 arch (#672611)
Martin Gracik 89526c3
- util-linux-ng changed to util-linux
2903a0d
Martin Gracik ef6161a
* Mon Jan 24 2011 Martin Gracik <mgracik@redhat.com> 0.3-1
Martin Gracik ef6161a
- Don't remove libmount package
Martin Gracik ef6161a
- Don't create mtab symlink, already exists
Martin Gracik ef6161a
- Exit with error if we have no lang-table
Martin Gracik ef6161a
- Fix file logging
Martin Gracik ef6161a
- Overwrite the /etc/shadow file
Martin Gracik ef6161a
- Use [images-xen] section for PAE and xen kernels
Martin Gracik ef6161a
Martin Gracik 815ea2e
* Fri Jan 14 2011 Martin Gracik <mgracik@redhat.com> 0.2-2
Martin Gracik 815ea2e
- Fix the gnome themes
Martin Gracik 815ea2e
- Add biosdevname package
Martin Gracik 815ea2e
- Edit .bash_history file
Martin Gracik 815ea2e
- Add the initrd and kernel lines to .treeinfo
Martin Gracik 815ea2e
- Don't remove the gamin package from installtree
Martin Gracik 815ea2e
Martin Gracik 6d90247
* Wed Dec 01 2010 Martin Gracik <mgracik@redhat.com> 0.1-1
Martin Gracik 6d90247
- First packaging of the new lorax tool.