lorax/lorax.spec

286 lines
10 KiB
RPMSpec
Raw Normal View History

# NOTE: This specfile is generated from upstream at https://github.com/rhinstaller/lorax
# NOTE: Please submit changes as a pull request
2011-05-03 09:17:32 +00:00
%define debug_package %{nil}
2010-12-22 09:15:24 +00:00
Name: lorax
Version: 35.5
Release: 1%{?dist}
2010-12-22 09:15:24 +00:00
Summary: Tool for creating the anaconda install images
License: GPLv2+
URL: https://github.com/weldr/lorax
# To generate Source0 do:
# git clone https://github.com/weldr/lorax
# git checkout -b archive-branch lorax-%%{version}-%%{release}
# tito build --tgz
Source0: %{name}-%{version}.tar.gz
2010-12-22 09:15:24 +00:00
BuildRequires: python3-devel
BuildRequires: make
BuildRequires: systemd-rpm-macros
Requires: lorax-templates
2010-12-22 09:15:24 +00:00
Requires: cpio
Requires: device-mapper
Requires: dosfstools
Requires: e2fsprogs
Requires: findutils
Requires: gawk
Requires: xorriso
Requires: glib2
Requires: glibc
Requires: glibc-common
Requires: gzip
Requires: isomd5sum
Requires: module-init-tools
Requires: parted
Requires: squashfs-tools >= 4.2
Requires: util-linux
- lorax-composer: Install selinux-policy-targeted in images (bcl@redhat.com) - Remove setfiles from mkrootfsimage (bcl@redhat.com) - New lorax documentation - 30.7 (bcl@redhat.com) - Remove SELinux Permissive checks (bcl@redhat.com) - Drop minor version from php package in blueprint (atodorov@redhat.com) - Use a temporary shared dir when testing (atodorov@redhat.com) - Copy blueprints used for testing to temporary directory (atodorov@redhat.com) - Add make targets for Jenkins (atodorov@redhat.com) - Add --no-system-repos to lorax-composer (bcl@redhat.com) - Install grubby-deprecated package for ARMv7 (javierm@redhat.com) - Teach test_cli.sh to execute test scripts via arguments (atodorov@redhat.com) - new test: build an image and deploy it on Azure (atodorov@redhat.com) - Fix typo in comment (atodorov@redhat.com) - Fix reporting of coverage results to coverall.io (bcl@redhat.com) - For OpenStack build image with rng-tools installed (atodorov@redhat.com) - Add tests for partitioned disk images (bcl@redhat.com) - Create a kpartx_disk_img function (bcl@redhat.com) - Add tests for pylorax.imgutils (bcl@redhat.com) - Add tests to test_creator.py (bcl@redhat.com) - Fix make_appliance and the libvirt.tmpl (bcl@redhat.com) - Add some tests for creator.py (bcl@redhat.com) - tests: Add executils test (bcl@redhat.com) - tests: Add sysutils test (bcl@redhat.com) - tests: Add discinfo test (bcl@redhat.com) - tests: Add treeinfo test (bcl@redhat.com) - Stop using build to run the tests, allow using podman (bcl@redhat.com) - new test: build and deploy an image in OpenStack (atodorov@redhat.com) - Fix typos in VM_NAME and cleanup command (atodorov@redhat.com) - new test: build and deploy images on vSphere (atodorov@redhat.com) - Update docs with info about ssh keys (atodorov@redhat.com)
2018-11-29 22:00:18 +00:00
Requires: xz-lzma-compat
Requires: xz
Requires: pigz
- lorax-composer: Install selinux-policy-targeted in images (bcl@redhat.com) - Remove setfiles from mkrootfsimage (bcl@redhat.com) - New lorax documentation - 30.7 (bcl@redhat.com) - Remove SELinux Permissive checks (bcl@redhat.com) - Drop minor version from php package in blueprint (atodorov@redhat.com) - Use a temporary shared dir when testing (atodorov@redhat.com) - Copy blueprints used for testing to temporary directory (atodorov@redhat.com) - Add make targets for Jenkins (atodorov@redhat.com) - Add --no-system-repos to lorax-composer (bcl@redhat.com) - Install grubby-deprecated package for ARMv7 (javierm@redhat.com) - Teach test_cli.sh to execute test scripts via arguments (atodorov@redhat.com) - new test: build an image and deploy it on Azure (atodorov@redhat.com) - Fix typo in comment (atodorov@redhat.com) - Fix reporting of coverage results to coverall.io (bcl@redhat.com) - For OpenStack build image with rng-tools installed (atodorov@redhat.com) - Add tests for partitioned disk images (bcl@redhat.com) - Create a kpartx_disk_img function (bcl@redhat.com) - Add tests for pylorax.imgutils (bcl@redhat.com) - Add tests to test_creator.py (bcl@redhat.com) - Fix make_appliance and the libvirt.tmpl (bcl@redhat.com) - Add some tests for creator.py (bcl@redhat.com) - tests: Add executils test (bcl@redhat.com) - tests: Add sysutils test (bcl@redhat.com) - tests: Add discinfo test (bcl@redhat.com) - tests: Add treeinfo test (bcl@redhat.com) - Stop using build to run the tests, allow using podman (bcl@redhat.com) - new test: build and deploy an image in OpenStack (atodorov@redhat.com) - Fix typos in VM_NAME and cleanup command (atodorov@redhat.com) - new test: build and deploy images on vSphere (atodorov@redhat.com) - Update docs with info about ssh keys (atodorov@redhat.com)
2018-11-29 22:00:18 +00:00
Requires: pbzip2
Requires: dracut >= 030
Requires: kpartx
Requires: psmisc
# Python modules
Requires: libselinux-python3
Requires: python3-mako
Requires: python3-kickstart >= 3.19
Requires: python3-dnf >= 3.2.0
Requires: python3-librepo
Requires: python3-pycdlib
%if 0%{?fedora}
# Fedora specific deps
%ifarch x86_64
Requires: hfsplus-tools
%endif
%endif
2010-12-22 09:15:24 +00:00
%ifarch %{ix86} x86_64
Requires: syslinux >= 6.03-1
Requires: syslinux-nonlinux >= 6.03-1
- Remove pungi patch - Remove pseudo code - Add a /bin/login shim for use only in the installation environment. - Set the hostname from a config file, not programmatically. - Add systemd and agetty to the installation environment. - Specify "cpio -H newc" instead of "cpio -c". - Provide shutdown on s390x (#694518) - Fix arch specific requires in spec file - Add s390 modules and do some cleanup of the template - Generate ssh keys on s390 - Don't remove tr, needed for s390 - Do not check if we have all commands - Change location of addrsize and mk-s390-cdboot - Shutdown is in another location - Do not skip broken packages - Don't install network-manager-netbook - Wait for subprocess to finish - Have to call os.makedirs - images dir already exists, we just need to set it - Do not remove libassuan. - The biarch is a function not an attribute - Create images directory in outputtree - Use gzip on ppc initrd - Create efibootdir if doing efi images - Get rid of create_gconf(). - gconf/metacity: have only one workspace. - Add yum-langpacks yum plugin to anaconda environment (notting) - Replace variables in yaboot.conf - Add sparc specific packages - Skip keymap creation on s390 - Copy shutdown and linuxrc.s390 on s390 - Add packages for s390 - Add support for sparc - Use factory to get the image classes - treeinfo has to be addressed as self.treeinfo - Add support for s390 - Add the xen section to treeinfo on x86_64 - Fix magic and mapping paths - Fix passing of prepboot and macboot arguments - Small ppc fixes - Check if the file we want to remove exists - Install x86 specific packages only on x86 - Change the location of zImage.lds - Added ppc specific packages - memtest and efika.forth are in /boot - Add support for ppc - Minor sparc pseudo code changes - Added sparc pseudo code (dgilmore) - Added s390 and x86 pseudo code - Added ppc pseudo code
2011-04-13 11:29:55 +00:00
%endif
%ifarch ppc64le
Requires: grub2
Requires: grub2-tools
%endif
%ifarch s390 s390x
Requires: openssh
Requires: s390utils >= 2.15.0-2
%endif
%ifarch %{arm}
Requires: uboot-tools
%endif
# Moved image-minimizer tool to lorax
- Update the README with relevant URLs (bcl@redhat.com) - Fix documentation for enabling lorax-composer.socket (bcl@redhat.com) - Add support for systemd socket activation (bcl@redhat.com) - Remove -boot-info-table from s390 boot.iso creation (#1478448) (bcl@redhat.com) - Update the generated html docs (bcl@redhat.com) - Add documentation for lorax-composer and composer-cli (bcl@redhat.com) - Move lorax-composer and composer-cli argument parsing into modules (bcl@redhat.com) - Update composer templates for use with Fedora (bcl@redhat.com) - Add new cmdline args to compose_args settings (bcl@redhat.com) - lorax-composer also requires tar (bcl@redhat.com) - Remove temporary files after run_compose (bcl@redhat.com) - Add --proxy to lorax-composer cmdline (bcl@redhat.com) - Pass the --tmp value into run_creator and cleanup after a crash (bcl@redhat.com) - Add --tmp to lorax-composer and set default tempdir (bcl@redhat.com) - Set lorax_templates to the correct directory (bcl@redhat.com) - Adjust the disk size estimates to match Anaconda (bcl@redhat.com) - Skip creating groups with the same name as a user (bcl@redhat.com) - Add user and group creation to blueprint (bcl@redhat.com) - Add blueprint customization support for hostname and ssh key (bcl@redhat.com) - Update setup.py for lorax-composer and composer-cli (bcl@redhat.com) - Add composer-cli and tests (bcl@redhat.com) - Fix the compose arguments for the Fedora version of Anaconda (bcl@redhat.com) - Add selinux check to lorax-composer (bcl@redhat.com) - Update test_server for blueprint and Yum to DNF changes. (bcl@redhat.com) - Convert Yum usage to DNF (bcl@redhat.com) - workspace read and write needs UTF-8 conversion (bcl@redhat.com) - Return an empty list if depsolve results are empty (bcl@redhat.com) - The git blob needs to be bytes (bcl@redhat.com) - Remove bin and sbin from nose (bcl@redhat.com) - Update the test blueprints (bcl@redhat.com) - Ignore more pylint errors (bcl@redhat.com) - Use default commit sort order instead of TIME (bcl@redhat.com) - Add lorax-composer and the composer kickstart templates (bcl@redhat.com) - Update pylorax.api.projects for DNF usage (bcl@redhat.com) - Update dnfbase (formerly yumbase) for DNF support (bcl@redhat.com) - Move core of livemedia-creator into pylorax.creator (bcl@redhat.com) - Update dnfbase tests (bcl@redhat.com) - Convert lorax-composer yum base object to DNF (bcl@redhat.com) - Use 2to3 to convert the python2 lorax-composer code to python3 (bcl@redhat.com) - Add the tests from lorax-composer branch (bcl@redhat.com) - Update .dockerignore (bcl@redhat.com) - Update lorax.spec for lorax-composer (bcl@redhat.com) - livemedia-creator: Move core functions into pylorax modules (bcl@redhat.com)
2018-05-14 22:35:12 +00:00
Provides: appliance-tools-minimizer = %{version}-%{release}
Obsoletes: appliance-tools-minimizer < 007.7-3
2010-12-22 09:15:24 +00:00
%description
Lorax is a tool for creating the anaconda install images.
It also includes livemedia-creator which is used to create bootable livemedia,
including live isos and disk images. It can use libvirtd for the install, or
Anaconda's image install feature.
%package docs
Summary: Lorax html documentation
Requires: lorax = %{version}-%{release}
%description docs
Includes the full html documentation for lorax, livemedia-creator, and the pylorax library.
%package lmc-virt
Summary: livemedia-creator libvirt dependencies
Requires: lorax = %{version}-%{release}
Requires: qemu
# Fedora edk2 builds currently only support these arches
%ifarch %{ix86} x86_64 %{arm} aarch64
Requires: edk2-ovmf
%endif
Recommends: qemu-kvm
%description lmc-virt
Additional dependencies required by livemedia-creator when using it with qemu.
%package lmc-novirt
Summary: livemedia-creator no-virt dependencies
Requires: lorax = %{version}-%{release}
Requires: anaconda-core
Requires: anaconda-tui
Requires: anaconda-install-env-deps
Requires: system-logos
Requires: python3-psutil
%description lmc-novirt
Additional dependencies required by livemedia-creator when using it with --no-virt
to run Anaconda.
%package templates-generic
Summary: Generic build templates for lorax and livemedia-creator
Requires: lorax = %{version}-%{release}
- Update the README with relevant URLs (bcl@redhat.com) - Fix documentation for enabling lorax-composer.socket (bcl@redhat.com) - Add support for systemd socket activation (bcl@redhat.com) - Remove -boot-info-table from s390 boot.iso creation (#1478448) (bcl@redhat.com) - Update the generated html docs (bcl@redhat.com) - Add documentation for lorax-composer and composer-cli (bcl@redhat.com) - Move lorax-composer and composer-cli argument parsing into modules (bcl@redhat.com) - Update composer templates for use with Fedora (bcl@redhat.com) - Add new cmdline args to compose_args settings (bcl@redhat.com) - lorax-composer also requires tar (bcl@redhat.com) - Remove temporary files after run_compose (bcl@redhat.com) - Add --proxy to lorax-composer cmdline (bcl@redhat.com) - Pass the --tmp value into run_creator and cleanup after a crash (bcl@redhat.com) - Add --tmp to lorax-composer and set default tempdir (bcl@redhat.com) - Set lorax_templates to the correct directory (bcl@redhat.com) - Adjust the disk size estimates to match Anaconda (bcl@redhat.com) - Skip creating groups with the same name as a user (bcl@redhat.com) - Add user and group creation to blueprint (bcl@redhat.com) - Add blueprint customization support for hostname and ssh key (bcl@redhat.com) - Update setup.py for lorax-composer and composer-cli (bcl@redhat.com) - Add composer-cli and tests (bcl@redhat.com) - Fix the compose arguments for the Fedora version of Anaconda (bcl@redhat.com) - Add selinux check to lorax-composer (bcl@redhat.com) - Update test_server for blueprint and Yum to DNF changes. (bcl@redhat.com) - Convert Yum usage to DNF (bcl@redhat.com) - workspace read and write needs UTF-8 conversion (bcl@redhat.com) - Return an empty list if depsolve results are empty (bcl@redhat.com) - The git blob needs to be bytes (bcl@redhat.com) - Remove bin and sbin from nose (bcl@redhat.com) - Update the test blueprints (bcl@redhat.com) - Ignore more pylint errors (bcl@redhat.com) - Use default commit sort order instead of TIME (bcl@redhat.com) - Add lorax-composer and the composer kickstart templates (bcl@redhat.com) - Update pylorax.api.projects for DNF usage (bcl@redhat.com) - Update dnfbase (formerly yumbase) for DNF support (bcl@redhat.com) - Move core of livemedia-creator into pylorax.creator (bcl@redhat.com) - Update dnfbase tests (bcl@redhat.com) - Convert lorax-composer yum base object to DNF (bcl@redhat.com) - Use 2to3 to convert the python2 lorax-composer code to python3 (bcl@redhat.com) - Add the tests from lorax-composer branch (bcl@redhat.com) - Update .dockerignore (bcl@redhat.com) - Update lorax.spec for lorax-composer (bcl@redhat.com) - livemedia-creator: Move core functions into pylorax modules (bcl@redhat.com)
2018-05-14 22:35:12 +00:00
Provides: lorax-templates = %{version}-%{release}
%description templates-generic
Lorax templates for creating the boot.iso and live isos are placed in
/usr/share/lorax/templates.d/99-generic
2010-12-22 09:15:24 +00:00
%prep
%setup -q -n %{name}-%{version}
2010-12-22 09:15:24 +00:00
%build
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
2010-12-22 09:15:24 +00:00
%files
%defattr(-,root,root,-)
%license COPYING
%doc AUTHORS
%doc docs/lorax.rst docs/livemedia-creator.rst docs/product-images.rst
%doc docs/*ks
%{python3_sitelib}/pylorax
%{python3_sitelib}/*.egg-info
2010-12-22 09:15:24 +00:00
%{_sbindir}/lorax
%{_sbindir}/mkefiboot
%{_sbindir}/livemedia-creator
2019-11-05 23:11:30 +00:00
%{_sbindir}/mkksiso
%{_bindir}/image-minimizer
2010-12-22 09:15:24 +00:00
%dir %{_sysconfdir}/lorax
%config(noreplace) %{_sysconfdir}/lorax/lorax.conf
%dir %{_datadir}/lorax
%{_mandir}/man1/lorax.1*
%{_mandir}/man1/livemedia-creator.1*
2019-11-05 23:11:30 +00:00
%{_mandir}/man1/mkksiso.1*
%{_tmpfilesdir}/lorax.conf
2010-12-22 09:15:24 +00:00
%files docs
%doc docs/html/*
%files lmc-virt
%files lmc-novirt
%files templates-generic
%dir %{_datadir}/lorax/templates.d
%{_datadir}/lorax/templates.d/*
2010-12-22 09:15:24 +00:00
%changelog
* Fri Jun 11 2021 Brian C. Lane <bcl@redhat.com> 35.5-1
- pylorax: Fix mksparse ftruncate size handling (bcl@redhat.com)
* Thu Jun 10 2021 Brian C. Lane <bcl@redhat.com> 35.4-1
- livemedia-creator: Check for mkfs.hfsplus (bcl@redhat.com)
- Drop retired icfg (zbyszek@in.waw.pl)
2021-06-04 09:51:30 +00:00
* Tue May 25 2021 Brian C. Lane <bcl@redhat.com> 35.3-1
- Add a context manager for dracut (bcl@redhat.com)
Resolves: rhbz#1962975
- Remove unneeded aajohan-comfortaa-fonts (bcl@redhat.com)
* Wed May 05 2021 Brian C. Lane <bcl@redhat.com> 35.2-1
- runtime-cleanup: Use branding package name instead of product.name (bcl@redhat.com)
- treebuilder: Add branding package to template variables (bcl@redhat.com)
- livemedia-creator: Use inst.ks on cmdline for virt (bcl@redhat.com)
- docs: Remove composer-cli.1 (bcl@redhat.com)
* Mon Apr 26 2021 Brian C. Lane <bcl@redhat.com> 35.1-1
- New lorax documentation - 35.1 (bcl@redhat.com)
- Makefile: Use podman as a user for testing and docs (bcl@redhat.com)
- composer-cli: Remove all traces of composer-cli (bcl@redhat.com)
- livemedia-creator: Add rhgb to live iso cmdline (#1943312) (bcl@redhat.com)
- tests: Fix pocketlint use of removed pylint messages (bcl@redhat.com)
- Disable X11 forwarding from installation environment. (vslavik@redhat.com)
- Remove display-related packages (vslavik@redhat.com)
- Drop trying to install reiserfs-utils (kevin@scrye.com)
- test: Fix URL to bots testmap (martin@piware.de)
- Change khmeros-base-fonts to khmer-os-system-fonts. (pnemade@fedoraproject.org)
- Fix output path in docs (vslavik@redhat.com)
- runtime-cleanup: don't wipe /usr/bin/report-cli (#1937550) (awilliam@redhat.com)
- xorg-x11-font-utils is now four packages, remove all of them (peter.hutterer@who-t.net)
- xorg-x11-server-utils was split up in Fedora 34, so adjust templates (kevin@scrye.com)
* Wed Mar 03 2021 Brian C. Lane <bcl@redhat.com> 35.0-1
- New lorax documentation - 35.0 (bcl@redhat.com)
- Makefile: Add test-in-podman and docs-in-podman build targets (bcl@redhat.com)
- isolinux.cfg: Rename the 'vesa' menu entry to 'basic' (bcl@redhat.com)
- composer-cli: Add support for start-ostree --url URL (bcl@redhat.com)
* Wed Mar 03 2021 Brian C. Lane <bcl@redhat.com>
- New lorax documentation - 35.0 (bcl@redhat.com)
- Makefile: Add test-in-podman and docs-in-podman build targets (bcl@redhat.com)
- isolinux.cfg: Rename the 'vesa' menu entry to 'basic' (bcl@redhat.com)
- composer-cli: Add support for start-ostree --url URL (bcl@redhat.com)
* Mon Feb 15 2021 Brian C. Lane <bcl@redhat.com> 34.9-1
- Use inst.rescue to trigger rescue mode (awilliam@redhat.com)
Resolves: rhbz#1928318
* Mon Feb 08 2021 Brian C. Lane <bcl@redhat.com> 34.8-1
- Use image dependencies metapackage (vslavik@redhat.com)
- tests: Include the fedora-updates repo when testing boot.iso building (bcl@redhat.com)
* Wed Jan 20 2021 Brian C. Lane <bcl@redhat.com> 34.7-1
- live/x86.tmpl: Copy livecd-iso-to-disk script, if installed (david.ward@ll.mit.edu)
- templates: Copy license files from the correct path (david.ward@ll.mit.edu)
- test: Fix vm.install for non-LVM cloud images (martin@piware.de)
* Wed Dec 16 2020 Brian C. Lane <bcl@redhat.com> 34.6-1
- Remove LD_PRELOAD libgomp.so.1 from lmc --no-virt (bcl@redhat.com)
- Add POSTIN scriptlet error to the log monitor list (bcl@redhat.com)
- Improve lmc no-virt error handling (bcl@redhat.com)
- lorax.spec: Drop GConf2 requirement (bcl@redhat.com)
* Mon Nov 30 2020 Brian C. Lane <bcl@redhat.com> 34.5-1
- Don't remove libldap_r libraries during runtime-cleanup.tmpl (spichugi@redhat.com)
- Do not use '--loglevel' option when running Anaconda (vtrefny@redhat.com)
- Makefile: quiet rsync use in testing (bcl@redhat.com)
- Switch to using GitHub Actions instead of Travis CI (bcl@redhat.com)
* Mon Nov 02 2020 Brian C. Lane <bcl@redhat.com> 34.4-1
- Update the default release version to 34 (bcl@redhat.com)
- Remove mdmonitor service from boot.iso (bcl@redhat.com)
- Switch to using upstream mk-s390image for s390 cdboot.img creation (bcl@redhat.com)
- sshd_config: Apply suggested changes (bcl@redhat.com)
- lorax.spec: Add BuildRequires on systemd-rpm-macros for tmpfilesdir macro (bcl@redhat.com)
* Wed Oct 07 2020 Brian C. Lane <bcl@redhat.com> 34.3-1
- composer: Fix open file warnings (bcl@redhat.com)
- ltmpl: Fix deprecated escape in docstring (bcl@redhat.com)
- tests: Fix open file warning in test_execWithRedirect (bcl@redhat.com)
- Cleanup imgutil open files and processes (bcl@redhat.com)
- tests: Remove test_del_execReadlines (bcl@redhat.com)
- Fix unclosed files (bcl@redhat.com)
- test: Use Python dev mode during testing (bcl@redhat.com)
- tests: Update composer-cli blueprint server tests (bcl@redhat.com)
- runtime-cleanup: Delete .pyc files (bcl@redhat.com)
- New lorax documentation - 34.3 (bcl@redhat.com)
- doc: Add Blueprint documentation and example to composer-cli.rst (bcl@redhat.com)
- docs: Update docs for lorax-composer removal (bcl@redhat.com)
- tests: Remove unused lorax-composer tests (bcl@redhat.com)
- Remove lorax-composer, it has been replaced by osbuild-composer (bcl@redhat.com)
* Tue Sep 29 2020 Brian C. Lane <bcl@redhat.com> 34.2-1
- runtime-cleanup: Remove ncurses package (bcl@redhat.com)
* Mon Sep 14 2020 Brian C. Lane <bcl@redhat.com> 34.1-1
- Fix broken single-item tuples in a few places (awilliam@redhat.com)
- Drop dpaa2 firmware on non-aarch64 arches (awilliam@redhat.com)
- Drop firmware for Mellanox Spectrum (awilliam@redhat.com)
- runtime-cleanup: big refresh of stale things (awilliam@redhat.com)
* Tue Sep 08 2020 Brian C. Lane <bcl@redhat.com> 34.0-1
- New lorax documentation - 34.0 (bcl@redhat.com)
- runtime-cleanup: strip a bunch of unnecessary firmwares (awilliam@redhat.com)
- runtime-install: specify polkit-gnome to avoid lxpolkit and GTK2 (awilliam@redhat.com)
- runtime-install: exclude gnome-firmware and sigrok-firmware (awilliam@redhat.com)
- runtime-cleanup: Drop video playback acceleration drivers (awilliam@redhat.com)
- runtime-install: don't install notification-daemon (awilliam@redhat.com)