2015-12-03 01:48:59 +00:00
|
|
|
# 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
|
2021-06-11 17:22:12 +00:00
|
|
|
Version: 35.5
|
2021-07-08 19:04:34 +00:00
|
|
|
Release: 2%{?dist}
|
2010-12-22 09:15:24 +00:00
|
|
|
Summary: Tool for creating the anaconda install images
|
|
|
|
|
|
|
|
License: GPLv2+
|
2018-04-09 20:45:56 +00:00
|
|
|
URL: https://github.com/weldr/lorax
|
2015-02-13 01:04:12 +00:00
|
|
|
# To generate Source0 do:
|
2018-04-09 20:45:56 +00:00
|
|
|
# git clone https://github.com/weldr/lorax
|
2015-02-13 01:04:12 +00:00
|
|
|
# git checkout -b archive-branch lorax-%%{version}-%%{release}
|
|
|
|
# tito build --tgz
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2021-07-08 19:04:34 +00:00
|
|
|
Patch1: lorax-35.5-grub2-fonts.patch
|
2010-12-22 09:15:24 +00:00
|
|
|
|
2015-05-16 00:14:32 +00:00
|
|
|
BuildRequires: python3-devel
|
2020-01-10 19:39:36 +00:00
|
|
|
BuildRequires: make
|
2020-10-07 18:20:35 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2012-06-01 10:25:33 +00:00
|
|
|
|
2016-02-13 00:00:07 +00:00
|
|
|
Requires: lorax-templates
|
|
|
|
|
2010-12-22 09:15:24 +00:00
|
|
|
Requires: cpio
|
|
|
|
Requires: device-mapper
|
|
|
|
Requires: dosfstools
|
2012-06-01 10:25:33 +00:00
|
|
|
Requires: e2fsprogs
|
|
|
|
Requires: findutils
|
|
|
|
Requires: gawk
|
2019-01-31 10:21:20 +00:00
|
|
|
Requires: xorriso
|
2012-09-01 03:15:32 +00:00
|
|
|
Requires: glib2
|
2012-06-01 10:25:33 +00:00
|
|
|
Requires: glibc
|
|
|
|
Requires: glibc-common
|
2011-05-02 07:27:54 +00:00
|
|
|
Requires: gzip
|
2012-06-01 10:25:33 +00:00
|
|
|
Requires: isomd5sum
|
|
|
|
Requires: module-init-tools
|
|
|
|
Requires: parted
|
2011-12-21 17:17:47 +00:00
|
|
|
Requires: squashfs-tools >= 4.2
|
2012-06-01 10:25:33 +00:00
|
|
|
Requires: util-linux
|
2018-11-29 22:00:18 +00:00
|
|
|
Requires: xz-lzma-compat
|
2012-06-01 10:25:33 +00:00
|
|
|
Requires: xz
|
2013-11-18 22:50:34 +00:00
|
|
|
Requires: pigz
|
2018-11-29 22:00:18 +00:00
|
|
|
Requires: pbzip2
|
2020-06-01 21:28:13 +00:00
|
|
|
Requires: dracut >= 030
|
2016-01-09 00:40:34 +00:00
|
|
|
Requires: kpartx
|
2020-06-18 19:10:50 +00:00
|
|
|
Requires: psmisc
|
2015-05-16 00:14:32 +00:00
|
|
|
|
|
|
|
# Python modules
|
|
|
|
Requires: libselinux-python3
|
|
|
|
Requires: python3-mako
|
2019-02-15 18:45:04 +00:00
|
|
|
Requires: python3-kickstart >= 3.19
|
2018-08-29 22:49:51 +00:00
|
|
|
Requires: python3-dnf >= 3.2.0
|
2018-09-07 17:11:25 +00:00
|
|
|
Requires: python3-librepo
|
2019-05-07 18:55:46 +00:00
|
|
|
Requires: python3-pycdlib
|
2013-02-28 20:05:06 +00:00
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
# Fedora specific deps
|
2013-08-21 17:39:27 +00:00
|
|
|
%ifarch x86_64
|
2015-05-16 00:14:32 +00:00
|
|
|
Requires: hfsplus-tools
|
2013-08-21 17:39:27 +00:00
|
|
|
%endif
|
2013-02-28 20:05:06 +00:00
|
|
|
%endif
|
2010-12-22 09:15:24 +00:00
|
|
|
|
2011-05-02 07:27:54 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2019-01-30 20:00:18 +00:00
|
|
|
Requires: syslinux >= 6.03-1
|
|
|
|
Requires: syslinux-nonlinux >= 6.03-1
|
2011-04-13 11:29:55 +00:00
|
|
|
%endif
|
|
|
|
|
2019-01-08 19:46:35 +00:00
|
|
|
%ifarch ppc64le
|
2013-09-03 22:30:15 +00:00
|
|
|
Requires: grub2
|
|
|
|
Requires: grub2-tools
|
2011-12-21 17:17:47 +00:00
|
|
|
%endif
|
|
|
|
|
2012-03-07 15:27:35 +00:00
|
|
|
%ifarch s390 s390x
|
|
|
|
Requires: openssh
|
2020-11-02 22:39:49 +00:00
|
|
|
Requires: s390utils >= 2.15.0-2
|
2012-03-07 15:27:35 +00:00
|
|
|
%endif
|
|
|
|
|
2014-04-27 02:34:55 +00:00
|
|
|
%ifarch %{arm}
|
|
|
|
Requires: uboot-tools
|
|
|
|
%endif
|
|
|
|
|
2014-04-03 00:17:21 +00:00
|
|
|
# Moved image-minimizer tool to lorax
|
2018-05-14 22:35:12 +00:00
|
|
|
Provides: appliance-tools-minimizer = %{version}-%{release}
|
2014-05-13 00:24:52 +00:00
|
|
|
Obsoletes: appliance-tools-minimizer < 007.7-3
|
2014-04-03 00:17:21 +00:00
|
|
|
|
2010-12-22 09:15:24 +00:00
|
|
|
%description
|
|
|
|
Lorax is a tool for creating the anaconda install images.
|
|
|
|
|
2011-12-21 17:17:47 +00:00
|
|
|
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.
|
|
|
|
|
2019-05-16 17:41:38 +00:00
|
|
|
%package docs
|
|
|
|
Summary: Lorax html documentation
|
|
|
|
Requires: lorax = %{version}-%{release}
|
|
|
|
|
|
|
|
%description docs
|
2020-10-07 18:20:35 +00:00
|
|
|
Includes the full html documentation for lorax, livemedia-creator, and the pylorax library.
|
2019-05-16 17:41:38 +00:00
|
|
|
|
2015-05-16 00:14:32 +00:00
|
|
|
%package lmc-virt
|
|
|
|
Summary: livemedia-creator libvirt dependencies
|
|
|
|
Requires: lorax = %{version}-%{release}
|
2016-03-30 21:37:40 +00:00
|
|
|
Requires: qemu
|
2016-12-07 00:29:03 +00:00
|
|
|
|
|
|
|
# Fedora edk2 builds currently only support these arches
|
|
|
|
%ifarch %{ix86} x86_64 %{arm} aarch64
|
2016-05-28 00:03:11 +00:00
|
|
|
Requires: edk2-ovmf
|
2016-12-07 00:29:03 +00:00
|
|
|
%endif
|
2016-03-30 21:37:40 +00:00
|
|
|
Recommends: qemu-kvm
|
2015-05-16 00:14:32 +00:00
|
|
|
|
|
|
|
%description lmc-virt
|
2016-03-30 21:37:40 +00:00
|
|
|
Additional dependencies required by livemedia-creator when using it with qemu.
|
2015-05-16 00:14:32 +00:00
|
|
|
|
|
|
|
%package lmc-novirt
|
|
|
|
Summary: livemedia-creator no-virt dependencies
|
|
|
|
Requires: lorax = %{version}-%{release}
|
|
|
|
Requires: anaconda-core
|
|
|
|
Requires: anaconda-tui
|
2020-05-05 21:41:12 +00:00
|
|
|
Requires: anaconda-install-env-deps
|
2018-02-23 21:26:03 +00:00
|
|
|
Requires: system-logos
|
2020-12-16 22:15:31 +00:00
|
|
|
Requires: python3-psutil
|
2015-05-16 00:14:32 +00:00
|
|
|
|
|
|
|
%description lmc-novirt
|
|
|
|
Additional dependencies required by livemedia-creator when using it with --no-virt
|
|
|
|
to run Anaconda.
|
|
|
|
|
2016-02-13 00:00:07 +00:00
|
|
|
%package templates-generic
|
|
|
|
Summary: Generic build templates for lorax and livemedia-creator
|
|
|
|
Requires: lorax = %{version}-%{release}
|
2018-05-14 22:35:12 +00:00
|
|
|
Provides: lorax-templates = %{version}-%{release}
|
2016-02-13 00:00:07 +00:00
|
|
|
|
|
|
|
%description templates-generic
|
|
|
|
Lorax templates for creating the boot.iso and live isos are placed in
|
|
|
|
/usr/share/lorax/templates.d/99-generic
|
2015-05-16 00:14:32 +00:00
|
|
|
|
2010-12-22 09:15:24 +00:00
|
|
|
%prep
|
2020-07-20 17:26:11 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2010-12-22 09:15:24 +00:00
|
|
|
|
2021-07-08 19:04:34 +00:00
|
|
|
%patch1 -p1
|
|
|
|
|
2010-12-22 09:15:24 +00:00
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2013-07-26 22:59:36 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
|
2010-12-22 09:15:24 +00:00
|
|
|
|
|
|
|
%files
|
2018-07-20 22:54:37 +00:00
|
|
|
%defattr(-,root,root,-)
|
2015-02-07 02:00:22 +00:00
|
|
|
%license COPYING
|
2019-05-16 17:41:38 +00:00
|
|
|
%doc AUTHORS
|
2021-04-26 23:11:54 +00:00
|
|
|
%doc docs/lorax.rst docs/livemedia-creator.rst docs/product-images.rst
|
2014-02-10 18:47:22 +00:00
|
|
|
%doc docs/*ks
|
2015-05-16 00:14:32 +00:00
|
|
|
%{python3_sitelib}/pylorax
|
|
|
|
%{python3_sitelib}/*.egg-info
|
2010-12-22 09:15:24 +00:00
|
|
|
%{_sbindir}/lorax
|
2011-12-21 17:17:47 +00:00
|
|
|
%{_sbindir}/mkefiboot
|
|
|
|
%{_sbindir}/livemedia-creator
|
2019-11-05 23:11:30 +00:00
|
|
|
%{_sbindir}/mkksiso
|
2014-04-03 00:17:21 +00:00
|
|
|
%{_bindir}/image-minimizer
|
2010-12-22 09:15:24 +00:00
|
|
|
%dir %{_sysconfdir}/lorax
|
|
|
|
%config(noreplace) %{_sysconfdir}/lorax/lorax.conf
|
|
|
|
%dir %{_datadir}/lorax
|
2019-02-15 18:45:04 +00:00
|
|
|
%{_mandir}/man1/lorax.1*
|
|
|
|
%{_mandir}/man1/livemedia-creator.1*
|
2019-11-05 23:11:30 +00:00
|
|
|
%{_mandir}/man1/mkksiso.1*
|
2019-01-30 20:00:18 +00:00
|
|
|
%{_tmpfilesdir}/lorax.conf
|
2010-12-22 09:15:24 +00:00
|
|
|
|
2019-05-16 17:41:38 +00:00
|
|
|
%files docs
|
|
|
|
%doc docs/html/*
|
|
|
|
|
2015-05-16 00:14:32 +00:00
|
|
|
%files lmc-virt
|
|
|
|
|
|
|
|
%files lmc-novirt
|
|
|
|
|
2016-02-13 00:00:07 +00:00
|
|
|
%files templates-generic
|
2017-11-28 17:13:20 +00:00
|
|
|
%dir %{_datadir}/lorax/templates.d
|
2016-02-13 00:00:07 +00:00
|
|
|
%{_datadir}/lorax/templates.d/*
|
|
|
|
|
2010-12-22 09:15:24 +00:00
|
|
|
%changelog
|
2021-07-08 19:04:34 +00:00
|
|
|
* Thu Jul 08 2021 Kevin Fenzi <kevin@scrye.com> - 35.5-2
|
|
|
|
- Add downstream patch to fix grub2 fonts location.
|
|
|
|
|
2021-06-11 17:22:12 +00:00
|
|
|
* Fri Jun 11 2021 Brian C. Lane <bcl@redhat.com> 35.5-1
|
|
|
|
- pylorax: Fix mksparse ftruncate size handling (bcl@redhat.com)
|
|
|
|
|
2021-06-10 18:09:05 +00:00
|
|
|
* 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
|
|
|
|
2021-05-25 16:30:56 +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)
|
|
|
|
|
2021-05-05 21:30:14 +00:00
|
|
|
* 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)
|
|
|
|
|
2021-04-26 23:11:54 +00:00
|
|
|
* 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)
|
2021-03-04 00:44:25 +00:00
|
|
|
* 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)
|
|
|
|
|
2021-02-15 17:09:57 +00:00
|
|
|
* 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
|
2021-02-08 18:49:30 +00:00
|
|
|
* 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)
|
2021-01-26 18:42:41 +00:00
|
|
|
|
2021-01-20 19:28:26 +00:00
|
|
|
* 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)
|
|
|
|
|
2020-12-16 22:15:31 +00:00
|
|
|
* 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)
|
|
|
|
|
2020-11-30 22:35:13 +00:00
|
|
|
* 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)
|
2020-11-27 05:08:33 +00:00
|
|
|
|
2020-11-02 22:39:49 +00:00
|
|
|
* 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)
|
|
|
|
|
2020-10-07 18:20:35 +00:00
|
|
|
* 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)
|
|
|
|
|
2020-09-29 22:13:52 +00:00
|
|
|
* Tue Sep 29 2020 Brian C. Lane <bcl@redhat.com> 34.2-1
|
|
|
|
- runtime-cleanup: Remove ncurses package (bcl@redhat.com)
|
|
|
|
|
2020-09-14 21:58:58 +00:00
|
|
|
* 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)
|
|
|
|
|
2020-09-08 19:01:26 +00:00
|
|
|
* 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)
|