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
f4c9e04
Version:        16.4.9
f4c9e04
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 815ea2e
Source0:        https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.bz2
Martin Gracik 6d90247
Martin Gracik 16297df
BuildRequires:  python2-devel
Martin Gracik 6d90247
Requires:       python-mako
Martin Gracik 6d90247
Requires:       gawk
Martin Gracik 6d90247
Requires:       glibc-common
Martin Gracik 6d90247
Requires:       cpio
Martin Gracik 6d90247
Requires:       module-init-tools
Martin Gracik 6d90247
Requires:       device-mapper
Martin Gracik 6d90247
Requires:       findutils
Martin Gracik 6d90247
Requires:       GConf2
Martin Gracik 6d90247
Requires:       isomd5sum
Martin Gracik 6d90247
Requires:       glibc
f964a20
Requires:       util-linux
Martin Gracik 6d90247
Requires:       dosfstools
f964a20
Requires:       hfsplus-tools
Martin Gracik 6d90247
Requires:       genisoimage
Martin Gracik 6d90247
Requires:       parted
Martin Gracik 16297df
Requires:       gzip
Martin Gracik 16297df
Requires:       xz
f964a20
Requires:       squashfs-tools >= 4.2
f964a20
Requires:       e2fsprogs
f964a20
Requires:       yum
Martin Gracik 6d90247
Martin Gracik 16297df
%ifarch %{ix86} x86_64
Martin Gracik 77fd217
Requires:       syslinux
Martin Gracik 77fd217
%endif
Martin Gracik 77fd217
Martin Gracik 16297df
%ifarch %{sparc}
Martin Gracik 77fd217
Requires:       silo
Martin Gracik 77fd217
%endif
Martin Gracik 77fd217
Martin Gracik 6d90247
%description
Martin Gracik 6d90247
Lorax is a tool for creating the anaconda install images.
Martin Gracik 6d90247
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,-)
Martin Gracik 6d90247
%doc COPYING AUTHORS
Martin Gracik 6d90247
%{python_sitelib}/pylorax
Martin Gracik 6d90247
%{python_sitelib}/*.egg-info
Martin Gracik 6d90247
%{_sbindir}/lorax
e9387dc
%{_sbindir}/mkefiboot
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
f4c9e04
* Thu May 03 2012 Brian C. Lane <bcl@redhat.com> 16.4.9-1
f4c9e04
- mkefiboot: Add support for disk label files (mjg)
f4c9e04
- mkefiboot: Copy Mac bootloader, rather than linking it (mjg)
f4c9e04
- mkefiboot: Make Apple boot images appear in the startup preferences (mjg)
f4c9e04
f964a20
* Wed Mar 07 2012 Brian C. Lane <bcl@redhat.com> 16.4.8-2
f964a20
- Add new requires for imgutils and mkefiboot
f964a20
e9387dc
* Tue Mar 06 2012 Brian C. Lane <bcl@redhat.com> 16.4.8-1
e9387dc
- add mkefiboot and imgutils.py (bcl)
e9387dc
- Do not remove /usr/bin/env (mgracik)
0613f4e
Martin Gracik e541d77
* Mon Oct 17 2011 Martin Gracik <mgracik@redhat.com> 16.4.7-1
Martin Gracik e541d77
- Changes required for grub2 (dgilmore)
Martin Gracik e541d77
- Add fpaste to install environment (#727842)
Martin Gracik e541d77
- rsyslgod config: hardcode the hostname for virtio forwarding.
Martin Gracik e541d77
4593282
* Tue Oct 11 2011 Brian C. Lane <bcl@brianlane.com> 16.4.6-1
4593282
- xen-kbdfront is a module not a package (#740378) (mgracik)
4593282
- copy kickstarts into sysroot (#743135) (bcl)
4593282
Martin Gracik 8bd8e7e
* Mon Oct 03 2011 Martin Gracik <mgracik@redhat.com> 16.4.5-1
Martin Gracik 8bd8e7e
- Ignore remove errors
Martin Gracik 8bd8e7e
- Check if /proc is mounted (#741722)
Martin Gracik 8bd8e7e
- Add xen-kbdfront package to initrd (#740378)
Martin Gracik 8bd8e7e
- Don't use mk-s390-cdboot (dhorak)
Martin Gracik 8bd8e7e
- Use own addrsize implementation (dhorak)
Martin Gracik 8bd8e7e
Martin Gracik ea1bb4f
* Mon Sep 19 2011 Martin Gracik <mgracik@redhat.com> 16.4.4-1
Martin Gracik ea1bb4f
- syslinux-vesa-splash changed filename (#739345)
Martin Gracik ea1bb4f
Martin Gracik 82343c8
* Fri Sep 16 2011 Martin Gracik <mgracik@redhat.com> 16.4.3-1
Martin Gracik 82343c8
- Do not create the sysconfig/network file (#733425)
Martin Gracik 82343c8
- New syslinux theme (#734170)
Martin Gracik 82343c8
Martin Gracik 00af8f8
* Thu Aug 25 2011 Martin Gracik <mgracik@redhat.com> 16.4.2-1
Martin Gracik 00af8f8
- Do not remove ModemManager files (#727946)
Martin Gracik 00af8f8
- Raise an exception if isohybrid cannot be run on x86
Martin Gracik 00af8f8
- Use --noprefix when calling dracut
Martin Gracik 00af8f8
- Do not remove the fedora-release packages
Martin Gracik 00af8f8
- Remove fedora-storage-init so it can't start raid/lvm. (#729640) (dlehman)
Martin Gracik 00af8f8
Martin Gracik a88c61c
* Mon Aug 15 2011 Martin Gracik <mgracik@redhat.com> 16.4.1-1
Martin Gracik a88c61c
- Do not remove nss certificates (#730438)
Martin Gracik a88c61c
- Remove dogtail from the image, as it's blocking tree composition. (clumens)
Martin Gracik a88c61c
- Add libreport required packages (#729537)
5ec1354
Martin Gracik 6f0b2fa
* Tue Jul 26 2011 Martin Gracik <mgracik@redhat.com> 16.4-1
Martin Gracik 6f0b2fa
- Add nss libraries to the image.
Martin Gracik 6f0b2fa
Martin Gracik f8503d8
* Tue Jul 26 2011 Martin Gracik <mgracik@redhat.com> 16.3-1
Martin Gracik f8503d8
- Remove the sysvinit-tools removals from the template
Martin Gracik f8503d8
- Do not remove vmmouse binaries (#723831)
Martin Gracik f8503d8
Martin Gracik 6c15861
* Tue Jul 26 2011 Martin Gracik <mgracik@redhat.com> 16.2-1
Martin Gracik 6c15861
- Change IsBeta to IsFinal
Martin Gracik 6c15861
Martin Gracik b78dd7b
* Thu Jul 21 2011 Martin Gracik <mgracik@redhat.com> 16.1-1
Martin Gracik b78dd7b
- Default to isBeta (#723901)
Martin Gracik b78dd7b
Martin Gracik a84704a
* Tue Jul 19 2011 Martin Gracik <mgracik@redhat.com> 16.0-1
Martin Gracik a84704a
- Prepend dracut to the temporary initramfs directory (#722999)
Martin Gracik a84704a
- Don't change the installroot (#722481)
Martin Gracik a84704a
- Do not remove ntfsprogs (#722711)
Martin Gracik a84704a
- Create dracut initramfs for each kernel (#722466)
Martin Gracik a84704a
- Change cjkuni-uming fonts for wgy-microhei (#709962)
Martin Gracik a84704a
- Remove check for required commands
Martin Gracik a84704a
- Remove outputtree.py
Martin Gracik a84704a
- Remove unused code
Martin Gracik a84704a
Martin Gracik c5461bc
* Fri Jun 24 2011 Martin Gracik <mgracik@redhat.com> 0.7-1
Martin Gracik c5461bc
- Use bcj filter for compressing squashfs ramdisk
Martin Gracik c5461bc
- Add 'squashfs' compression type
Martin Gracik c5461bc
- refactor: split make_initramfs_runtime out of compress()
Martin Gracik c5461bc
- refactor: rename "compression speed" -> "compression args"
Martin Gracik c5461bc
- Install all firmware packages (#705392)
Martin Gracik c5461bc
- Use initrd.addrsize, not initrd_addrsize (#703862)
Martin Gracik c5461bc
- Do not remove libmodman (#701622)
Martin Gracik c5461bc
- Add firmware for Intel Wireless WiFi Link 6030 Adapters (#703291)
Martin Gracik c5461bc
- Do not remove libproxy (#701622)
Martin Gracik c5461bc
- Use process-specific name for dm devices.
Martin Gracik c5461bc
Martin Gracik 75675ef
* Tue May 03 2011 Martin Gracik <mgracik@redhat.com> 0.6-3
Martin Gracik 75675ef
- Disable debuginfo package
Martin Gracik 75675ef
Martin Gracik 16297df
* Mon May 02 2011 Martin Gracik <mgracik@redhat.com> 0.6-1
Martin Gracik 16297df
- Disable rsyslogd rate limiting on imuxsock.
Martin Gracik 16297df
- Use crc32 check when compressing with xz
Martin Gracik 16297df
- Allow compression type be specified in lorax.conf
Martin Gracik 16297df
- Use xz and gzip commands instead of libraries
Martin Gracik 16297df
- Add the udf module to the image.
Martin Gracik 16297df
- Preserve anaconda's /usr/bin so anaconda-cleanup is in the image.
Martin Gracik 16297df
- Use arch macros in the lorax.spec
Martin Gracik 16297df
- use reqs not regs for files to backup (dgilmore)
Martin Gracik 16297df
- Reflect changes made in ntfs-3g and ntfsprogs packages (#696706)
Martin Gracik 16297df
- getkeymaps resides in /usr/libexec/anaconda
Martin Gracik 16297df
- workdir is a local variable, not a class attribute
Martin Gracik 16297df
- Add sparcv9 to arch map
Martin Gracik 16297df
- Change the location of *.b files on sparc
Martin Gracik 16297df
- Change BuildRequires to python2-devel
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.