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
Martin Gracik 2346c16
Version:        18.7
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 34ce5a5
Source0:        https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.gz
Martin Gracik 6d90247
Martin Gracik 16297df
BuildRequires:  python2-devel
Martin Gracik 829626c
Martin Gracik 829626c
Requires:       GConf2
Martin Gracik 6d90247
Requires:       cpio
Martin Gracik 6d90247
Requires:       device-mapper
Martin Gracik 6d90247
Requires:       dosfstools
Martin Gracik 829626c
Requires:       e2fsprogs
Martin Gracik 829626c
Requires:       findutils
Martin Gracik 829626c
Requires:       gawk
Martin Gracik 6d90247
Requires:       genisoimage
Martin Gracik 829626c
Requires:       glibc
Martin Gracik 829626c
Requires:       glibc-common
Martin Gracik 16297df
Requires:       gzip
Martin Gracik 829626c
Requires:       isomd5sum
Martin Gracik 829626c
Requires:       libselinux-python
Martin Gracik 829626c
Requires:       module-init-tools
Martin Gracik 829626c
Requires:       parted
Martin Gracik 829626c
Requires:       python-mako
7695dd2
Requires:       squashfs-tools >= 4.2
Martin Gracik 829626c
Requires:       util-linux
Martin Gracik 829626c
Requires:       xz
Martin Gracik 0153a7c
Requires:       yum
Martin Gracik 2346c16
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 0153a7c
%ifarch s390 s390x
Martin Gracik 0153a7c
Requires:       openssh
Martin Gracik 0153a7c
%endif
Martin Gracik 0153a7c
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
Martin Gracik 2346c16
* Mon Jun 04 2012 Martin Gracik <mgracik@redhat.com> 18.7-1
Martin Gracik 2346c16
- Comment on why selinux needs to be in permissive or disabled
Martin Gracik 2346c16
  (mgracik@redhat.com)
Martin Gracik 2346c16
- Verify the yum transaction (mgracik@redhat.com)
Martin Gracik 2346c16
- Do not remove shared-mime-info (#825960) (mgracik@redhat.com)
Martin Gracik 2346c16
- Add a --required switch to installpkg (mgracik@redhat.com)
Martin Gracik 2346c16
- livemedia-creator: Hook up arch option (bcl@redhat.com)
Martin Gracik 2346c16
- livemedia-creator: Add appliance creation (bcl@redhat.com)
Martin Gracik 2346c16
- livemedia-creator: handle failed mount for ami (bcl@redhat.com)
Martin Gracik 2346c16
Martin Gracik 829626c
* Fri Jun 01 2012 Martin Gracik <mgracik@redhat.com> 18.6-1
Martin Gracik 829626c
- Fix the rpm call (mgracik@redhat.com)
Martin Gracik 829626c
- Use selinux python module to get enforcing mode (mgracik@redhat.com)
Martin Gracik 829626c
Martin Gracik 829626c
* Thu May 31 2012 Martin Gracik <mgracik@redhat.com> 18.5-1
Martin Gracik 829626c
- Don't remove sha256sum from the install image (mgracik@redhat.com)
Martin Gracik 829626c
- Check if selinux is not in Enforcing mode (#824835) (mgracik@redhat.com)
Martin Gracik 829626c
- Install rpcbind (#824835) (mgracik@redhat.com)
Martin Gracik 829626c
- Remove hfsplus-tools dependency (#818913) (mgracik@redhat.com)
Martin Gracik 829626c
- Copy mapping and magic to BOOTDIR on ppc (#815550) (mgracik@redhat.com)
Martin Gracik 829626c
- Automatic commit of package [lorax] release [18.4-1]. (mgracik@redhat.com)
Martin Gracik 829626c
Martin Gracik 34ce5a5
* Fri May 25 2012 Martin Gracik <mgracik@redhat.com> 18.4-1
Martin Gracik 34ce5a5
- Initialized to use tito.
Martin Gracik 34ce5a5
- Use gz not bz2 for source
Martin Gracik 34ce5a5
- remove 'loadkeys' stub (#804306)
Martin Gracik 34ce5a5
- add name field to .treeinfo its a concatination of family and version
Martin Gracik 34ce5a5
- Fix typo in help (#819476)
Martin Gracik 34ce5a5
- include the new cmsfs-fuse interface
Martin Gracik 34ce5a5
- linuxrc.s390 is dead in anaconda
Martin Gracik 34ce5a5
- Add the ppc magic file
Martin Gracik 34ce5a5
- Install proper branding packages from repo (#813969)
Martin Gracik 34ce5a5
- Use --mac for isohybrid only if doing macboot images
Martin Gracik 34ce5a5
- Add --nomacboot option
Martin Gracik 34ce5a5
- Add packages needed for NTP functionality in the installer
Martin Gracik 34ce5a5
- livemedia-creator: check kickstart for display modes (#819660)
Martin Gracik 34ce5a5
- livemedia-creator: Removed unused ImageMount class
Martin Gracik 34ce5a5
- livemedia-creator: cleanup after a crash
Martin Gracik 34ce5a5
- livemedia-creator: start using /var/tmp instead of /tmp
Martin Gracik 34ce5a5
- livemedia-creator: make libvirt module optional
Martin Gracik 34ce5a5
- stop moving /run (#818918)
Martin Gracik 34ce5a5
a2e0413
* Thu May 03 2012 Brian C. Lane <bcl@redhat.com> 18.3-1
a2e0413
- Added BCM4331 firmware (#817151) (mgracik)
a2e0413
- mkefiboot: Add support for disk label files (mjg)
a2e0413
- Add 'tmux' to runtime image (wwoods)
a2e0413
- Add /etc/sysctl.d/anaconda.conf, set kernel.printk=1 (#816022) (wwoods)
a2e0413
- reduce image size from 2GB to 1GB (wwoods)
a2e0413
- keep all filesystem tools (wwoods)
a2e0413
- Leave some of the grub2 utilities in the install image (#749323) (mgracik)
a2e0413
- add media check menu option (bcl)
a2e0413
- remove unneeded dracut bootargs (bcl)
a2e0413
- mkefiboot: Copy Mac bootloader, rather than linking it (mjg)
a2e0413
- Remove workdir if it was created by lorax (#807964) (mgracik)
a2e0413
- add gdisk to install image (#811083) (bcl)
a2e0413
- Don't use --allbut for xfsprogs cleanup (#804779) (mgracik)
a2e0413
- Log all removed files (mgracik)
a2e0413
- Add spice-vdagent to initrd (#804739) (mgracik)
a2e0413
- Add ntfs-3g to initrd (#804302) (mgracik)
a2e0413
- ntfs-3g now uses /usr/lib (#810039) (bcl)
a2e0413
dc216ab
* Fri Mar 30 2012 Brian C. Lane <bcl@redhat.com> 18.2-1
dc216ab
- Merge noloader commits from f17-branch (bcl)
dc216ab
- mkefiboot: Make Apple boot images appear in the startup preferences (mjg)
dc216ab
- add symlink from /mnt/install -> /run/install (wwoods)
dc216ab
- Don't trash all the initscripts 'fedora*' services (wwoods)
dc216ab
- remove anaconda-copy-ks.sh (wwoods)
dc216ab
- add anaconda dracut module (wwoods)
dc216ab
- runtime-postinstall: remove references to loader (wwoods)
dc216ab
- runtime-postinstall: remove keymap stuff (wwoods)
dc216ab
- Add the icfg package (#771733) (mgracik)
dc216ab
- Log the output of mkfs (#769928) (mgracik)
dc216ab
- Fix product name replacing in templates (#799919) (mgracik)
dc216ab
- Fix requires (mgracik)
dc216ab
- use cache outside the installtree (bcl)
dc216ab
- add iscsi-initiator-utils (#804522) (bcl)
dc216ab
- livemedia-creator: update TreeBuilder use for isolabel (bcl)
dc216ab
dc216ab
* Tue Mar 06 2012 Brian C. Lane <bcl@redhat.com> 18.1-1
75afb14
- livemedia-creator: update README (bcl)
75afb14
- example livemedia kickstart for ec2 (bcl)
75afb14
- livemedia-creator: console=ttyS0 not /dev/ttyS0 (bcl)
75afb14
- livemedia-creator: Add support for making ami images (bcl)
dc216ab
- Don't remove btrfs utils (#796511) (mgracik)
dc216ab
- Remove root and ip parameters from generic.prm (#796572) (mgracik)
dc216ab
- Check if the volume id is not longer than 32 chars (#786832) (mgracik)
dc216ab
- Add option to specify volume id on command line (#786834) (mgracik)
dc216ab
- Install nhn-nanum-gothic-fonts (#790266) (mgracik)
dc216ab
- Change the locale to C (#786833) (mgracik)
dc216ab
- iputils is small and required by dhclient-script (bcl)
dc216ab
- util-linux-ng is now util-linux (bcl)
dc216ab
dc216ab
* Mon Feb 20 2012 Brian C. Lane <bcl@redhat.com> 18.0-1
41ef9b0
- use --prefix=/run/initramfs when building initramfs (wwoods)
41ef9b0
- dhclient-script needs cut and arping (bcl)
41ef9b0
- Fix missing CalledProcessError import (bcl)
41ef9b0
- metacity now depends on gsettings-desktop-schemas (bcl)
41ef9b0
- Add findiso to grub config (mjg)
dc216ab
- add memtest to the boot.iso for x86 (#787234) (bcl)
dc216ab
- Don't use mk-s390-cdboot (dhorak) (mgracik)
dc216ab
- Add dracut args to grub.conf (bcl)
41ef9b0
- Change the squashfs image section in .treeinfo (mgracik)
41ef9b0
- Add path to squashfs image to the treeinfo (mgracik)
41ef9b0
- Add runtime basename variable to the template (mgracik)
dc216ab
- use internal implementation of the addrsize utility (dan)
dc216ab
- Make sure var/run is not a symlink on s390x (#787217) (mgracik)
dc216ab
- Create var/run/dbus directory on s390x (#787217) (mgracik)
41ef9b0
41ef9b0
* Wed Feb 08 2012 Brian C. Lane <bcl@redhat.com> 17.3-1
41ef9b0
- keep convertfs.sh script in image (#787893) (bcl)
41ef9b0
- Add dracut convertfs module (#787893) (bcl)
41ef9b0
- fix templates to work with F17 usrmove (tflink)
41ef9b0
- changing hfs to hfsplus so that the correct mkfs binary is called (tflink)
41ef9b0
- Add luks, md and dm dracut args to bootloaders (bcl)
41ef9b0
- update lorax and livemedia_creator to use isfinal (bcl)
41ef9b0
- lorax: copy kickstarts into sysroot (#743135) (bcl)
41ef9b0
- livemedia-creator: Mount iso if rootfs is LiveOS (bcl)
41ef9b0
- Log output of failed command (mgracik)
41ef9b0
- Add packages required for gtk3 and the new anaconda UI. (clumens)
41ef9b0
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.