diff --git a/.gitignore b/.gitignore index e69de29..997379e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,191 @@ +/lorax-19.0.tar.gz +/lorax-19.1.tar.gz +/lorax-19.2.tar.gz +/lorax-19.3.tar.gz +/lorax-19.4.tar.gz +/lorax-19.5.tar.gz +/lorax-19.6.tar.gz +/lorax-19.7.tar.gz +/lorax-19.8.tar.gz +/lorax-20.0.tar.gz +/lorax-20.1.tar.gz +/lorax-20.2.tar.gz +/lorax-20.3.tar.gz +/lorax-20.4.tar.gz +/lorax-21.0.tar.gz +/lorax-21.1.tar.gz +/lorax-21.2.tar.gz +/lorax-21.3.tar.gz +/lorax-21.4.tar.gz +/lorax-21.5.tar.gz +/lorax-21.6.tar.gz +/lorax-21.7.tar.gz +/lorax-21.8.tar.gz +/lorax-21.9.tar.gz +/lorax-21.10.tar.gz +/lorax-21.11.tar.gz +/lorax-21.12.tar.gz +/lorax-21.13.tar.gz +/lorax-21.14.tar.gz +/lorax-21.15.tar.gz +/lorax-21.16.tar.gz +/lorax-21.17.tar.gz +/lorax-21.18.tar.gz +/lorax-21.19.tar.gz +/lorax-21.20.tar.gz +/lorax-21.21.tar.gz +/lorax-21.22.tar.gz +/lorax-21.23.tar.gz +/lorax-21.24.tar.gz +/lorax-21.25.tar.gz +/lorax-21.26.tar.gz +/lorax-21.27.tar.gz +/lorax-21.28.tar.gz +/lorax-21.29.tar.gz +/lorax-21.30.tar.gz +/lorax-21.31.tar.gz +/lorax-22.0.tar.gz +/lorax-22.1.tar.gz +/lorax-22.2.tar.gz +/lorax-22.3.tar.gz +/lorax-22.4.tar.gz +/lorax-23.0.tar.gz +/lorax-23.1.tar.gz +/lorax-23.2.tar.gz +/lorax-23.3.tar.gz +/lorax-23.4.tar.gz +/lorax-23.5.tar.gz +/lorax-23.6.tar.gz +/lorax-23.7.tar.gz +/lorax-23.8.tar.gz +/lorax-23.9.tar.gz +/lorax-23.10.tar.gz +/lorax-23.11.tar.gz +/lorax-23.12.tar.gz +/lorax-23.13.tar.gz +/lorax-23.14.tar.gz +/lorax-24.0.tar.gz +/lorax-24.1.tar.gz +/lorax-24.2.tar.gz +/lorax-24.3.tar.gz +/lorax-24.4.tar.gz +/lorax-24.5.tar.gz +/lorax-24.6.tar.gz +/lorax-24.7.tar.gz +/lorax-24.8.tar.gz +/lorax-24.9.tar.gz +/lorax-24.10.tar.gz +/lorax-24.11.tar.gz +/lorax-24.12.tar.gz +/lorax-24.13.tar.gz +/lorax-24.14.tar.gz +/lorax-25.1.tar.gz +/lorax-25.2.tar.gz +/lorax-25.3.tar.gz +/lorax-25.4.tar.gz +/lorax-25.5.tar.gz +/lorax-25.6.tar.gz +/lorax-25.7.tar.gz +/lorax-25.8.tar.gz +/lorax-25.9.tar.gz +/lorax-25.10.tar.gz +/lorax-25.11.tar.gz +/lorax-25.12.tar.gz +/lorax-25.13.tar.gz +/lorax-25.14.tar.gz +/lorax-25.15.tar.gz +/lorax-25.16.tar.gz +/lorax-26.0.tar.gz +/lorax-26.1.tar.gz +/lorax-26.2.tar.gz +/lorax-26.3.tar.gz +/lorax-26.4.tar.gz +/lorax-26.5.tar.gz +/lorax-26.6.tar.gz +/lorax-26.7.tar.gz +/lorax-27.0.tar.gz +/lorax-27.1.tar.gz +/lorax-27.2.tar.gz +/lorax-27.3.tar.gz +/lorax-27.4.tar.gz +/lorax-27.5.tar.gz +/lorax-27.6.tar.gz +/lorax-27.7.tar.gz +/lorax-27.8.tar.gz +/lorax-27.9.tar.gz +/lorax-27.10.tar.gz +/lorax-27.11.tar.gz +/lorax-28.0.tar.gz +/lorax-28.1.tar.gz +/lorax-28.2.tar.gz +/lorax-28.3.tar.gz +/lorax-28.4.tar.gz +/lorax-28.5.tar.gz +/lorax-28.6.tar.gz +/lorax-28.7.tar.gz +/lorax-28.8.tar.gz +/lorax-29.0.tar.gz +/lorax-29.1.tar.gz +/lorax-29.2.tar.gz +/lorax-29.3.tar.gz +/lorax-29.4.tar.gz +/lorax-29.5.tar.gz +/lorax-29.6.tar.gz +/lorax-29.7.tar.gz +/lorax-29.8.tar.gz +/lorax-29.9.tar.gz +/lorax-29.10.tar.gz +/lorax-29.11.tar.gz +/lorax-29.12.tar.gz +/lorax-29.13.tar.gz +/lorax-29.14.tar.gz +/lorax-29.15.tar.gz +/lorax-30.0.tar.gz +/lorax-30.1.tar.gz +/lorax-30.2.tar.gz +/lorax-30.3.tar.gz +/lorax-30.4.tar.gz +/lorax-30.5.tar.gz +/lorax-30.6.tar.gz +/lorax-30.7.tar.gz +/lorax-30.8.tar.gz +/lorax-30.9.tar.gz +/lorax-30.10.tar.gz +/lorax-30.12.tar.gz +/lorax-30.13.tar.gz +/lorax-30.14.tar.gz +/lorax-30.15.tar.gz +/lorax-30.16.tar.gz +/lorax-31.0.tar.gz +/lorax-31.1.tar.gz +/lorax-31.2.tar.gz +/lorax-31.3.tar.gz +/lorax-31.4.tar.gz +/lorax-31.5.tar.gz +/lorax-31.6.tar.gz +/lorax-31.7.tar.gz +/lorax-31.8.tar.gz +/lorax-31.9.tar.gz +/lorax-31.10.tar.gz +/lorax-32.0.tar.gz +/lorax-32.1.tar.gz +/lorax-32.2.tar.gz +/lorax-32.3.tar.gz +/lorax-32.4.tar.gz +/lorax-32.5.tar.gz +/lorax-32.6.tar.gz +/lorax-32.7.tar.gz +/lorax-33.0.tar.gz +/lorax-33.1.tar.gz +/lorax-33.2.tar.gz +/lorax-33.3.tar.gz +/lorax-33.4.tar.gz +/lorax-33.5.tar.gz +/lorax-33.6.tar.gz +/lorax-33.7.tar.gz +/lorax-33.8.tar.gz +/lorax-33.9.tar.gz +/lorax-34.0.tar.gz +/lorax-34.1.tar.gz +/lorax-34.2.tar.gz +/lorax-34.3.tar.gz diff --git a/0001-Ensure-proc-exists-before-trying-to-touch-proc-modul.patch b/0001-Ensure-proc-exists-before-trying-to-touch-proc-modul.patch new file mode 100644 index 0000000..c346175 --- /dev/null +++ b/0001-Ensure-proc-exists-before-trying-to-touch-proc-modul.patch @@ -0,0 +1,45 @@ +From 6ba02f734c481dfb7fa3feab11b6831b449d82cb Mon Sep 17 00:00:00 2001 +From: Adam Williamson +Date: Mon, 15 Jun 2020 17:05:02 -0700 +Subject: [PATCH] Ensure /proc exists before trying to touch /proc/modules + +The last few Rawhide composes failed because, when we try to +touch /proc/modules here (in treebuilder.py), /proc does not +exist in the inroot. I tried and failed all afternoon to figure +out *why* it suddenly doesn't exist; I'd still like to know, but +this at least should make it not an issue. `exist_ok=True` means +that if the dir already exists we'll do nothing and carry on. + +Signed-off-by: Adam Williamson +--- + src/pylorax/creator.py | 1 + + src/pylorax/treebuilder.py | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/pylorax/creator.py b/src/pylorax/creator.py +index 7075d325..fc090a26 100644 +--- a/src/pylorax/creator.py ++++ b/src/pylorax/creator.py +@@ -256,6 +256,7 @@ def rebuild_initrds_for_live(opts, sys_root_dir, results_dir): + raise Exception("No initrds found, cannot rebuild_initrds") + + # Hush some dracut warnings. TODO: bind-mount proc in place? ++ os.makedirs(joinpaths(sys_root_dir, "/proc"), exist_ok=True) + open(joinpaths(sys_root_dir,"/proc/modules"),"w") + + if opts.ostree: +diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py +index cbb8872f..c30df638 100644 +--- a/src/pylorax/treebuilder.py ++++ b/src/pylorax/treebuilder.py +@@ -309,6 +309,7 @@ class TreeBuilder(object): + raise Exception("No kernels found, cannot rebuild_initrds") + + # Hush some dracut warnings. TODO: bind-mount proc in place? ++ os.makedirs(joinpaths(self.vars.inroot, "/proc"), exist_ok=True) + open(joinpaths(self.vars.inroot,"/proc/modules"),"w") + for kernel in self.kernels: + if prefix: +-- +2.27.0 + diff --git a/lorax.spec b/lorax.spec new file mode 100644 index 0000000..c8d9110 --- /dev/null +++ b/lorax.spec @@ -0,0 +1,675 @@ +# NOTE: This specfile is generated from upstream at https://github.com/rhinstaller/lorax +# NOTE: Please submit changes as a pull request +%define debug_package %{nil} + +Name: lorax +Version: 34.3 +Release: 1%{?dist} +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 + +BuildRequires: python3-devel +BuildRequires: make +BuildRequires: systemd-rpm-macros + +Requires: lorax-templates + +Requires: GConf2 +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 +Requires: xz-lzma-compat +Requires: xz +Requires: pigz +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 + +%ifarch %{ix86} x86_64 +Requires: syslinux >= 6.03-1 +Requires: syslinux-nonlinux >= 6.03-1 +%endif + +%ifarch ppc64le +Requires: grub2 +Requires: grub2-tools +%endif + +%ifarch s390 s390x +Requires: openssh +%endif + +%ifarch %{arm} +Requires: uboot-tools +%endif + +# Moved image-minimizer tool to lorax +Provides: appliance-tools-minimizer = %{version}-%{release} +Obsoletes: appliance-tools-minimizer < 007.7-3 + +%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 + +%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} +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 + +%package -n composer-cli +Summary: A command line tool for use with the lorax-composer API server + +# From Distribution +Requires: python3-urllib3 +Requires: python3-toml + +%description -n composer-cli +A command line tool for use with the lorax-composer API server. Examine blueprints, +build images, etc. from the command line. + +%prep +%setup -q -n %{name}-%{version} + +%build + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install + +%files +%defattr(-,root,root,-) +%license COPYING +%doc AUTHORS +%doc docs/composer-cli.rst docs/lorax.rst docs/livemedia-creator.rst docs/product-images.rst +%doc docs/lorax-composer.rst +%doc docs/*ks +%{python3_sitelib}/pylorax +%{python3_sitelib}/*.egg-info +%{_sbindir}/lorax +%{_sbindir}/mkefiboot +%{_sbindir}/livemedia-creator +%{_sbindir}/mkksiso +%{_bindir}/image-minimizer +%{_bindir}/mk-s390-cdboot +%dir %{_sysconfdir}/lorax +%config(noreplace) %{_sysconfdir}/lorax/lorax.conf +%dir %{_datadir}/lorax +%{_mandir}/man1/lorax.1* +%{_mandir}/man1/livemedia-creator.1* +%{_mandir}/man1/mkksiso.1* +%{_tmpfilesdir}/lorax.conf + +%files docs +%doc docs/html/* + +%files lmc-virt + +%files lmc-novirt + +%files templates-generic +%dir %{_datadir}/lorax/templates.d +%{_datadir}/lorax/templates.d/* + +%files -n composer-cli +%{_bindir}/composer-cli +%{python3_sitelib}/composer/* +%{_sysconfdir}/bash_completion.d/composer-cli +%{_mandir}/man1/composer-cli.1* + +%changelog +* Wed Oct 07 2020 Brian C. Lane 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 34.2-1 +- runtime-cleanup: Remove ncurses package (bcl@redhat.com) + +* Mon Sep 14 2020 Brian C. Lane 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 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) + +* Tue Sep 08 2020 Brian C. Lane 33.9-1 +- config_files: Update aarch64, ppc, and sparc timeouts to 60s (bcl@redhat.com) +- templates: Ensure nano is installed for the runtime environment (ngompa13@gmail.com) +- tests: Ignore W0707 raise-missing-from warnings (bcl@redhat.com) +- Switch VMware testing env to improve stability results (chrobert@redhat.com) +- tests: Allow skipping image build in compose sanity test (atodorov@redhat.com) + +* Thu Jul 23 2020 Brian C. Lane 33.8-1 +- composer-cli: Make start-ostree parent and ref optional (bcl@redhat.com) +- composer-cli: Add a get_arg function (bcl@redhat.com) +- Set BACKEND=osbuild-composer if running that test scenario (atodorov@redhat.com) +- tests: Don't check info after compose cancel with osbuild-composer (atodorov@redhat.com) +- tests: Compare blueprints as TOML objects, not strings (atodorov@redhat.com) +- tests: Remove lorax-composer specific checks (atodorov@redhat.com) +- tests: Remove compose after we're done (atodorov@redhat.com) +- tests: don't use beakerlib in blueprint (lars@karlitski.net) +- tests: don't depend on internal state of composer (lars@karlitski.net) +- tests: Do not rely on example blueprints (atodorov@redhat.com) +- tests: Special case compose types for osbuild-composer (atodorov@redhat.com) +- tests: Don't check example blueprints if we don't have to (atodorov@redhat.com) +- tests: Use BACKEND env variable instead of hard-coded values (atodorov@redhat.com) +- tests: Disable non-cli test scenarios b/c osbuild-composer (atodorov@redhat.com) + +* Mon Jul 20 2020 Brian C. Lane 33.7-1 +- Add log entry about dracut and /proc (bcl@redhat.com) +- Skip creating empty /proc/modules for dracut (bcl@redhat.com) +- lorax: Install fcoe-utils (vponcova@redhat.com) +- lorax: Enable swap on zram (vponcova@redhat.com) +- Fix EFI booting for ISOs generated by `mkksiso` (michel@michel-slm.name) +- tests: Disable cloud-init status check (atodorov@redhat.com) + +* Thu Jun 18 2020 Brian C. Lane 33.6-1 +- lorax.spec: Add psmisc for fuser debugging of failed umounts in pylorax.imgutils (bcl@redhat.com) +- composer-cli: Disable retry counter on connection timeout (bcl@redhat.com) +- composer-cli: Change timeout to 5 minutes (bcl@redhat.com) + +* Thu Jun 11 2020 Brian C. Lane 33.5-1 +- lorax-composer: Add deprecation notice to documentation (bcl@redhat.com) +- composer-cli: Return a better error with no value (bcl@redhat.com) +- tests: Add tests for composer-cli compose start JSON POST (bcl@redhat.com) +- composer-cli: Update bash completion for start-ostree (bcl@redhat.com) +- composer-cli: Add new start-ostree command (bcl@redhat.com) +- composer-cli: Add support for --size to compose start (bcl@redhat.com) +- include generic.ins for s390 boot iso (dan@danny.cz) +- test: Put VM image overlay into /var/tmp (martin@piware.de) + +* Mon Jun 01 2020 Brian C. Lane 33.4-1 +- Revert "lorax: Remove vmlinuz from install.img /boot" (bcl@redhat.com) +- composer-cli: Add osbuild-composer to connection failure message (bcl@redhat.com) +- composer-cli: Update docs to mention osbuild-composer and debug options (bcl@redhat.com) +- lorax-composer: Check compose/status for invalid characters (bcl@redhat.com) +- lorax-composer: deleting an unknown workspace should return an error (bcl@redhat.com) +- lorax-composer: Check for valid characters in the undo commit (bcl@redhat.com) +- drop 32-bit support from ppc live image grub.cfg (dan@danny.cz) +- mksquashfs: Catch errors with mksquashfs and report them (bcl@redhat.com) + +* Tue May 05 2020 Brian C. Lane 33.3-1 +- Don't use f-string without interpolation (atodorov@redhat.com) +- lmc-no-virt: Add requirement on anaconda-install-env-deps (bcl@redhat.com) +- rsyslog: Disable journal ratelimits during install (bcl@redhat.com) + +* Tue Apr 28 2020 Brian C. Lane 33.2-1 +- New lorax documentation - 33.2 (bcl@redhat.com) +- test: Work around invalid fedora baseurls (marusak.matej@gmail.com) +- lorax: Add --skip-branding cmdline argument (bcl@redhat.com) +- Update datastore for VMware testing (chrobert@redhat.com) + +* Mon Mar 30 2020 Brian C. Lane 33.1-1 +- lorax: Remove vmlinuz from install.img /boot (bcl@redhat.com) + +* Fri Mar 20 2020 Brian C. Lane 33.0-1 +- tests: Add tests for _install_branding with and without variant (bcl@redhat.com) +- lorax: Update how the release package is chosen (bcl@redhat.com) +- ltmpl: Fix package logging format (bcl@redhat.com) + Resolves: rhbz#1815000 + + +* Mon Mar 16 2020 Brian C. Lane 32.7-1 +- lorax: Write package lists in run_transaction (bcl@redhat.com) +- Add dig and comm to the boot.iso (bcl@redhat.com) +- lorax-composer: Add 'weldr' to indicate it supports the weldr API (bcl@redhat.com) +- lorax: Cleanup the removefrom --allbut files (bcl@redhat.com) +- lorax: Add eject back into the boot.iso (bcl@redhat.com) + +* Wed Feb 12 2020 Brian C. Lane 32.6-1 +- New lorax documentation - 32.6 (bcl@redhat.com) +- Update mock documentation to remove --old-chroot (bcl@redhat.com) +- Use .tasks file to trigger removal of stale cloud resources (atodorov@redhat.com) +- tests: OpenStack - apply tags and delete by tags (atodorov@redhat.com) +- tests: Azure - apply tags and delete by tags (atodorov@redhat.com) +- tests: VMware - delete only VMs named Composer-Test-* (atodorov@redhat.com) +- tests: AWS - apply tags when creating resoures and delete by tags (atodorov@redhat.com) +- Reflect fonts packages from comps (akira@tagoh.org) +- lorax: Catch rootfs out of space failures (bcl@redhat.com) +- pylint: whitelist the rpm module (bcl@redhat.com) +- tests: Move the list of packages out of Dockerfile.test into a file (bcl@redhat.com) +- tests: remove ALI_DIR after we're done using the cli (atodorov@redhat.com) +- Test & cleanup script for Alibaba cloud (atodorov@redhat.com) +- tests: run ssh commands in batch mode (jrusz@redhat.com) +- lorax: Log dnf solver debug data in ./debugdata/ (bcl@redhat.com) +- tests: remove --test=2 from compose_sanity (jrusz@redhat.com) + +* Thu Jan 16 2020 Brian C. Lane 32.5-1 +- New lorax documentation - 32.5 (bcl@redhat.com) +- tests: Use mock from unittest (bcl@redhat.com) +- Add --dracut-conf cmdline argument to lorax and livemedia-creator (bcl@redhat.com) +- Add tests for metapackages and package name globs (bcl@redhat.com) +- executils: Drop bufsize=1 from execReadlines (bcl@redhat.com) +- tests: unittest and pytest expect functions to start with test_ (bcl@redhat.com) +- Update to_timeval usage to use format_iso8601 (bcl@redhat.com) +- ltmpl: Update to use collections.abc (bcl@redhat.com) +- test: Use pytest instead of nose (bcl@redhat.com) +- tests: Check for cloud-init presence in azure image (jrusz@redhat.com) +- tests: check for failed compose before trying to cancel (jrusz@redhat.com) +- tests: Enable Elastic Network Adapter support for AWS (atodorov@redhat.com) +- lorax-composer: Enable ami on aarch64 (bcl@redhat.com) + +* Fri Jan 10 2020 Brian C. Lane 32.4-1 +- livemedia-creator: workaround glibc limitation when starting anaconda (dan@danny.cz) +- AWS test: take into account different instance type for non x86 (atodorov@redhat.com) +- Add test for canceling a running compose (jrusz@redhat.com) +- composer-cli: Increase DELETE timeout to 120s (bcl@redhat.com) +- anaconda_cleanup: Remove anaconda.pid if it is left behind (bcl@redhat.com) +- New lorax documentation - 32.4 (bcl@redhat.com) +- docs: Add documentation for new mkksiso --volid feature (bcl@redhat.com) +- mkksiso: Add the option to set the ISO volume label (florian.achleitner@prime-sign.com) +- spec: Add missing BuildRequires: make (florian.achleitner@prime-sign.com) +- tests: Use wildcard versions for packages (bcl@redhat.com) +- composer-cli: Only display the available compose types (bcl@redhat.com) +- fix typo in api docstring (obudai@redhat.com) +- Remove all repo files & install composer-cli from host repos (atodorov@redhat.com) +- Always remove lorax-composer & composer-cli RPMs before installing them (atodorov@redhat.com) +- Always remove existing VM image before building new one (atodorov@redhat.com) +- Add git to Dockerfile.test (bcl@redhat.com) + +* Mon Nov 18 2019 Brian C. Lane 32.3-1 +- lorax-composer: Add cloud-init support to the vhd image (bcl@redhat.com) +- tests: add docker variable to .travis.yml (jrusz@redhat.com) +- tests: Changed Docker to podman in Makefile (jrusz@redhat.com) +- tests: fix blueprints tag test (jrusz@redhat.com) +- test: fix serializing repo_to_source test (jrusz@redhat.com) +- composer-cli: Return int from handle_api_result not bool (bcl@redhat.com) +- mkksiso: copy all the directories over to tmpdir (bcl@redhat.com) +- Add dmidecode on supported architectures (bcl@redhat.com) +- docs: Remove --title from list of lmc variables (bcl@redhat.com) +- Drop old lorax.spec changelog entries (pre-F31) (bcl@redhat.com) + +* Tue Nov 05 2019 Brian C. Lane 32.2-1 +- New lorax documentation - 32.2 (bcl@redhat.com) +- tests: Add 'test_mkksiso' tests (bcl@redhat.com) +- mkksiso: Add documentation (bcl@redhat.com) +- mkksiso: Add a tool to add a kickstart to an existing boot.iso (bcl@redhat.com) +- tests: Add a lorax boot.iso test (bcl@redhat.com) +- test: Add wait_boot method for root logins (bcl@redhat.com) +- tests: Ensure failure if beakerlib results file not found (atodorov@redhat.com) +- tests: Documentation updates (atodorov@redhat.com) +- tests: Use host repositories for make vm (atodorov@redhat.com) +- Remove unused make targets (atodorov@redhat.com) +- DRY when setting up, running & parsing results for beakerlib tests (atodorov@redhat.com) +- tests: Disable mirrors (atodorov@redhat.com) +- tests: Use journalctl -g to check for failed login (bcl@redhat.com) +- tests: Fix check_root_account when used with tar liveimg test (bcl@redhat.com) +- tests: Use the same asserts as before (atodorov@redhat.com) +- tests: switch to using podman instead of docker (atodorov@redhat.com) +- tests: Remove nested vm from tar liveimg kickstart test (bcl@redhat.com) +- tests: Use --http0.9 for curl ssh test (bcl@redhat.com) +- test: Boot the live-iso faster, and login using ssh key (bcl@redhat.com) +- test: Split up the test class to allow booting other images (bcl@redhat.com) +- tests: Split testing the image into a separate script (bcl@redhat.com) +- Add live iso support to s390 (bcl@redhat.com) +- docs: Override macboot/nomacboot documentation (bcl@redhat.com) +- Disable some compose types on other architectures (bcl@redhat.com) +- lorax: Drop unused --title option (bcl@redhat.com) +- tests: Document Azure setup (atodorov@redhat.com) +- tests: unskip Azure scenario (atodorov@redhat.com) + +* Wed Oct 16 2019 Brian C. Lane 32.1-1 +- Bump default platform and releasever to 32 (bcl@redhat.com) +- New lorax documentation - 32.1 (bcl@redhat.com) +- docs: Fix Sphinx errors in docstrings (bcl@redhat.com) +- vm.install: Turn on verbose output (bcl@redhat.com) +- tests: Switch the azure examples used in the lifted tests to use aws (bcl@redhat.com) +- Remove lifted azure support (bcl@redhat.com) +- composer-cli: Add providers info command (bcl@redhat.com) +- composer-cli: Fix error handling in providers push (bcl@redhat.com) +- composer-cli: Fix upload log output (bcl@redhat.com) +- Add list to bash completion for composer-cli upload (bcl@redhat.com) +- Update composer-cli documentation (bcl@redhat.com) +- Add composer and lifted to coverage report (bcl@redhat.com) +- composer-cli: Add starting an upload to compose start (bcl@redhat.com) +- composer-cli: Add providers template command (bcl@redhat.com) +- bash_completion: Add support for new composer-cli commands (bcl@redhat.com) +- composer-cli: Add support for providers command (bcl@redhat.com) +- composer-cli: Add support for upload command (bcl@redhat.com) +- Increase ansible verbosity to 2 (bcl@redhat.com) +- lifted: Add support for AWS upload (bcl@redhat.com) +- lifted: Improve logging for upload playbooks (bcl@redhat.com) +- Add upload status examples to compose route docstrings (bcl@redhat.com) +- tests: Add tests for deleting unknown upload and profile (bcl@redhat.com) +- Add docstrings to the new upload functions in pylorax.api.queue (bcl@redhat.com) +- Change /compose/uploads/delete to /upload/delete (bcl@redhat.com) +- tests: Add test for /compose/uploads/delete (bcl@redhat.com) +- tests: Add tests for /compose/uploads/schedule (bcl@redhat.com) +- Add profile support to /uploads/schedule/ (bcl@redhat.com) +- tests: Fix comments about V1 API results including uploads data (bcl@redhat.com) +- lifted: Make sure inputs cannot have path elements (bcl@redhat.com) +- Use consistent naming for upload uuids (bcl@redhat.com) +- tests: Add tests for new upload routes (bcl@redhat.com) +- Fix some docstrings in the v1 API (bcl@redhat.com) +- lifted: Make sure providers list is always sorted (bcl@redhat.com) +- Add /upload/providers/delete route (bcl@redhat.com) +- lifted: Add delete_profile function and tests (bcl@redhat.com) +- Add support for starting a compose upload with the profile (bcl@redhat.com) +- lifted: Add a function to load the settings for a provider's profile (bcl@redhat.com) +- Fix pylint errors in lifted.upload (bcl@redhat.com) +- tests: Add yamllint of the lifted playbooks (bcl@redhat.com) +- tests: Add tests for the new lifted module (bcl@redhat.com) +- All providers should have 'supported_types' (bcl@redhat.com) +- lifted directories should be under share_dir and lib_dir (bcl@redhat.com) +- tests: Add tests for API v1 (bcl@redhat.com) +- Make sure V0 API doesn't return uploads information (bcl@redhat.com) +- Automatically upload composed images to the cloud (egoode@redhat.com) +- Add load and dump to pylorax.api.toml (egoode@redhat.com) +- Support CI testing against a bots project PR (martin@piware.de) +- Makefile: Don't clobber an existing bots checkout (martin@piware.de) +- lorax-composer: Handle RecipeError in commit_recipe_directory (bcl@redhat.com) +- test: Disable pylint subprocess check check (bcl@redhat.com) + +* Mon Sep 30 2019 Brian C. Lane 32.0-1 +- aarch64: Fix live-iso creation on aarch64 (bcl@redhat.com) +- Add test for running composer with --no-system-repos option (jikortus@redhat.com) +- [tests] Use functions for starting and stopping lorax-composer (jikortus@redhat.com) +- Makefile: Update bots target for moved GitHub project (sanne.raymaekers@gmail.com) +- Keep the zramctl utility from util-linux on boot.iso (mkolman@redhat.com) +- Skip kickstart tar test for fedora-30/tar scenario (atodorov@redhat.com) +- Enable fedora-30/tar test scenario (atodorov@redhat.com) +- [tests] Collect compose logs after each build (atodorov@redhat.com) +- [tests] Use a function to wait for compose to finish (jikortus@redhat.com) +- When launching AWS instances wait for the one we just launched (atodorov@redhat.com) +- tests: Add kickstart tar installation test (jikortus@redhat.com) +- tests: add option to disable kernel command line parameters check (jikortus@redhat.com) +- tests: Use a loop to wait for VM and sshd to start (bcl@redhat.com) +- creator.py: include dmsquash-live-ntfs by default (gmt@be-evil.net) +- Skip Azure test b/c misconfigured infra & creds (atodorov@redhat.com) +- tests: Drop tito from the Dockerfile.test (bcl@redhat.com) +- tests: Drop sort from compose types test (bcl@redhat.com) +- Revert "tests: Fix the order of liveimg-tar live-iso" (atodorov@redhat.com) +- New test: assert toml files in git workspace (atodorov@redhat.com) + +* Tue Aug 20 2019 Brian C. Lane 31.10-1 +- tests: Update gpg key to fedora 32 (bcl@redhat.com) +- tests: Fix the order of liveimg-tar live-iso (bcl@redhat.com) +- tests: Use server-2.repo instead of single.repo (bcl@redhat.com) +- lorax-composer: Add support for dnf variables to repo sources (bcl@redhat.com) +- Use smarter multipath detection logic. (dlehman@redhat.com) +- tests: Expand test coverage of the v0 and v1 sources API (bcl@redhat.com) +- tests: Temporarily work around rpm and pylint issues (bcl@redhat.com) +- lorax-composer: Add v1 API for projects/source/ (bcl@redhat.com) +- Add /api/v1/ handler with no routes (bcl@redhat.com) +- Move common functions into pylorax.api.utils (bcl@redhat.com) +- Document the release process steps (bcl@redhat.com) +- lorax-composer: Add liveimg-tar image type (bcl@redhat.com) +- livemedia-creator: Use --compress-arg in mksquashfs (bcl@redhat.com) +- livemedia-creator: Remove unused --squashfs_args option (bcl@redhat.com) +- Only use repos with valid urls for test_server.py (bcl@redhat.com) +- lorax-composer: Clarify groups documentation (bcl@redhat.com) + +* Mon Jul 29 2019 Brian C. Lane 31.9-1 +- New lorax documentation - 31.9 (bcl@redhat.com) +- Remove .build-id from install media (riehecky@fnal.gov) +- lorax-composer: Add squashfs_only False to all image types (bcl@redhat.com) +- tests: Update test_creator.py (bcl@redhat.com) +- docs: Add anaconda-live to fedora-livemedia.ks example (bcl@redhat.com) +- livemedia-creator: Use make_runtime for all runtime creation (bcl@redhat.com) +- livemedia-creator: Add support for a squashfs only runtime image (bcl@redhat.com) +- Update rst formatting. Refs #815 (atodorov@redhat.com) +- don't skip Xorg packages on s390x to allow local GUI installation under KVM (dan@danny.cz) +- Use binary mode to tail the file (bcl@redhat.com) +- Return most relevant log file from /compose/log (egoode@redhat.com) +- Use passwd --status for locked root account check (jikortus@redhat.com) +- tests: Use liveuser account for live-iso boot check (bcl@redhat.com) +- Mention python3-magic in HACKING.md (egoode@redhat.com) +- tests: Add check to make sure the compose actually finished (bcl@redhat.com) +- test: check the number of tests that ran (atodorov@redhat.com) +- lorax: Add debug log of command line options (riehecky@fnal.gov) +- lorax: provide runtime lorax config in debug log (riehecky@fnal.gov) +- Remove whitespace in v0_blueprints_new (jacobdkozol@gmail.com) +- Add test for VALID_BLUEPRINT_NAME check (jacobdkozol@gmail.com) +- Add seperate validation for blueprint names (jacobdkozol@gmail.com) +- Leave lscpu in the image for additional debugging (riehecky@fnal.gov) +- tests: set skip_if_unavailable in test repos (lars@karlitski.net) +- test/README.md: Add section explaining GitHub integration (lars@karlitski.net) + +* Fri Jun 28 2019 Brian C. Lane 31.8-1 +- Also search for pxeboot kernel and initrd pairs (hadess@hadess.net) +- Assert that RuntimeErrors have correct messages (egoode@redhat.com) +- More descriptive error for a bad ref in repos.git (egoode@redhat.com) +- Remove unused shell script (atodorov@redhat.com) +- test: Output results for cockpit's log.html (lars@karlitski.net) +- Do not generate journal.xml from beakerlib (atodorov@redhat.com) +- tests: Add RUN_TESTS to Makefile so you can pass in targets (bcl@redhat.com) +- tests: Add tests for recipe checking functions (bcl@redhat.com) +- lorax-composer: Add basic case check to check_recipe_dict (bcl@redhat.com) +- lorax-composer: Add basic recipe checker function (bcl@redhat.com) +- Revert "test: Disable test_live_iso test" (lars@karlitski.net) +- test: Fix test_blueprint_sanity (lars@karlitski.net) +- tests: rpm now returns str, drop decode() call (bcl@redhat.com) +- tests: Drop libgit2 install from koji (bcl@redhat.com) + +* Tue Jun 18 2019 Brian C. Lane 31.7-1 +- New lorax documentation - 31.7 (bcl@redhat.com) +- Update qemu arguments to work correctly with nographic (bcl@redhat.com) +- Switch to new toml library (bcl@redhat.com) +- composer-cli: Update diff support for customizations and repos.git (bcl@redhat.com) +- Add support for customizations and repos.git to /blueprints/diff/ (bcl@redhat.com) +- tests: Update custom-base with customizations (bcl@redhat.com) +- Move the v0 API documentation into the functions (bcl@redhat.com) +- Update the /api/v0/ route handling to use the flask_blueprints Blueprint class (bcl@redhat.com) +- Extend Flask Blueprint class to allow skipping routes (bcl@redhat.com) +- Remove PR template (atodorov@redhat.com) +- Increase retry count/sleep times when waiting for lorax to start (atodorov@redhat.com) +- Revert "remove the check for qemu-kvm" (atodorov@redhat.com) +- Revert "remove the check for /usr/bin/docker in the setup phase" (atodorov@redhat.com) +- [tests] Define unbound variables in test scripts (atodorov@redhat.com) +- [tests] Handle blueprints in setup_tests/teardown_tests correctly (atodorov@redhat.com) +- [tests] grep|cut for IP address in a more robust way (atodorov@redhat.com) +- Remove quotes around file test in make vm (atodorov@redhat.com) +- test: Don't wait on --sit when test succeeds (lars@karlitski.net) +- Monkey-patch beakerlib to fail on first assert (lars@karlitski.net) +- test_cli.sh: Return beakerlib's exit code (lars@karlitski.net) +- Don't send CORS headers (lars@karlitski.net) +- tests: Set BLUEPRINTS_DIR in all cases (lars@karlitski.net) +- tests: Fail on script errors (lars@karlitski.net) +- Add API integration test (lars@karlitski.net) +- composer: Set up a custom HTTP error handler (lars@karlitski.net) +- Split live-iso and qcow2 and update test scenario execution (atodorov@redhat.com) +- Configure $PACKAGE for beakerlib reports (atodorov@redhat.com) +- Use cloud credentials during test if they exist (atodorov@redhat.com) +- Don't execute compose/blueprint sanity tests in Travis CI (atodorov@redhat.com) +- test: Add --list option to test/check* scripts (lars@karlitski.net) +- test: Add --sit argument to check-* scripts (lars@karlitski.net) +- test: Custom main() function (lars@karlitski.net) +- Use ansible instead of awscli (jstodola@redhat.com) +- Fix path to generic.prm (jstodola@redhat.com) +- Update example fedora-livemedia.ks (bcl@redhat.com) +- Update composer live-iso template (bcl@redhat.com) +- test: Disable test_live_iso test (lars@karlitski.net) +- tests: Source lib.sh from the right directory (lars@karlitski.net) +- Revert "Add rpmfluff temporarily" (bcl@redhat.com) +- tests: Update tmux version to 2.9a (bcl@redhat.com) +- test: Install beakerlib on non-RHEL images (martin@piware.de) +- tests: Fail immediately when image build fails (lars@karlitski.net) +- test: Install beakerlib wehn running on rhel (lars@karlitski.net) +- test: Generalize fs resizing in vm.install (lars@karlitski.net) +- tests: Re-enable kvm (lars@karlitski.net) +- test: Fix vm.install to be idempotent (lars@karlitski.net) +- tests: Don't depend on kvm for tar and qcow2 tests (lars@karlitski.net) +- test_compose_tar: Work around selinux policy change (lars@karlitski.net) +- test_compose_tar: Be less verbose (lars@karlitski.net) +- test_compose_tar: Fix docker test (lars@karlitski.net) +- tests: Extract images to /var/tmp, not /tmp (lars@karlitski.net) +- Use Cockpit's test images and infrastructure (lars@karlitski.net) +- pylint: Remove unused false positive (lars@karlitski.net) + +* Thu May 16 2019 Brian C. Lane 31.6-1 +- Add kernel to ext4-filesystem template (bcl@redhat.com) +- Create a lorax-docs package with the html docs (bcl@redhat.com) +- Add new documentation branches to index.rst (bcl@redhat.com) + +* Tue May 07 2019 Brian C. Lane 31.5-1 +- Add python3-pycdlib to Dockerfile.test (bcl@redhat.com) +- Replace isoinfo with pycdlib (bcl@redhat.com) +- Add test for passing custom option on kernel command line (jikortus@redhat.com) +- Use verify_image function as a helper for generic tests (jikortus@redhat.com) + +* Thu May 02 2019 Brian C. Lane 31.4-1 +- tests: Update openssh-server to v8.* (bcl@redhat.com) +- New lorax documentation - 31.4 (bcl@redhat.com) +- Change customizations.firewall to append items instead of replace (bcl@redhat.com) +- Update customizations.services documentation (bcl@redhat.com) +- lorax-composer: Add services support to blueprints (bcl@redhat.com) +- Add rpmfluff temporarily (bcl@redhat.com) +- lorax-composer: Add firewall support to blueprints (bcl@redhat.com) +- lorax-composer: Add locale support to blueprints (bcl@redhat.com) +- lorax-composer: Fix customizations when creating a recipe (bcl@redhat.com) +- Update docs for new timezone section (bcl@redhat.com) +- lorax-composer: Add timezone support to blueprint (bcl@redhat.com) +- Proposal for adding to the blueprint customizations (bcl@redhat.com) +- Add test for starting compose with deleted blueprint (jikortus@redhat.com) +- Update VMware info for VMware testing (chrobert@redhat.com) +- tests: Cleanup on failure of in_tempdir (bcl@redhat.com) +- Change [[modules]] to [[packages]] in tests (atodorov@redhat.com) +- Add new test to verify compose paths exist (atodorov@redhat.com) +- Add new sanity tests for blueprints (atodorov@redhat.com) +- Fixes for locked root account test (jikortus@redhat.com) + +* Fri Apr 05 2019 Brian C. Lane 31.3-1 +- Add -iso-level 3 when the install.img is > 4GiB (bcl@redhat.com) +- Correct "recipes" use to "blueprints" in composer-cli description (kwalker@redhat.com) +- Fix keeping files on Amazon s3 (jstodola@redhat.com) +- Allow to keep objects in AWS (jstodola@redhat.com) +- Fix the google cloud boot console settings (dshea@redhat.com) +- Add a compose type for alibaba. (dshea@redhat.com) +- Add a new compose type for Hyper-V (dshea@redhat.com) +- Add a compose check for google cloud images. (dshea@redhat.com) +- Add a compose type for Google Compute Engine (dshea@redhat.com) +- Add a new output type, tar-disk. (dshea@redhat.com) +- Support compressing single files. (dshea@redhat.com) +- Add an option to align the image size to a multiplier. (dshea@redhat.com) + +* Mon Apr 01 2019 Brian C. Lane 31.2-1 +- Add documentation references to lorax-composer service files (bcl@redhat.com) +- Add more tests for gitrpm.py (bcl@redhat.com) +- lorax-composer: Fix installing files from [[repos.git]] to / (bcl@redhat.com) +- New lorax documentation - 31.1 (bcl@redhat.com) +- Make it easier to generate docs for the next release (bcl@redhat.com) + +* Tue Mar 26 2019 Brian C. Lane 31.1-1 +- qemu wasn't restoring the terminal if it was terminated early (bcl@redhat.com) +- Switch the --virt-uefi method to use SecureBoot (bcl@redhat.com) +- pylorax.ltmpl: Add a test for missing quotes (bcl@redhat.com) +- Don't remove chmem and lsmem from install.img (bcl@redhat.com) +- lorax-composer: pass customization.kernel append to extra_boot_args (bcl@redhat.com) +- Improve logging for template syntax errors (bcl@redhat.com) +- Add extra boot args to the livemedia-creator iso templates (bcl@redhat.com) +- lorax-composer: Add the ability to append to the kernel command-line (bcl@redhat.com) +- Add checks for disabled root account (jikortus@redhat.com) +- Update datastore for VMware testing (chrobert@redhat.com) + +* Fri Mar 15 2019 Brian C. Lane 31.0-1 +- Add tests using repos.git in blueprints (bcl@redhat.com) +- Move git repo creation into tests/lib.py (bcl@redhat.com) +- rpmgit: catch potential errors while running git (bcl@redhat.com) +- tests: Add test for Recipe.freeze() function (bcl@redhat.com) +- Add repos.git support to lorax-composer builds (bcl@redhat.com) +- Add pylorax.api.gitrpm module and tests (bcl@redhat.com) +- Add support for [[repos.git]] section to blueprints (bcl@redhat.com) +- Update ppc64le isolabel to match x86_64 logic (bcl@redhat.com) +- Add blacklist_exceptions to multipath.conf (bcl@redhat.com) +- tests: Add python3-mock and python3-sphinx_rtd_theme (bcl@redhat.com) +- Use make ci inside test-in-copy target (atodorov@redhat.com) +- Allow overriding $CLI outside test scripts (atodorov@redhat.com) +- tests: Make it easier to update version globs (bcl@redhat.com) +- New test: Build live-iso and boot with KVM (atodorov@redhat.com) +- lorax-composer: Return UnknownBlueprint errors when using deleted blueprints (bcl@redhat.com) +- lorax-composer: Delete workspace copy when deleting blueprint (bcl@redhat.com) +- New test: Build qcow2 compose and test it with QEMU-KVM (atodorov@redhat.com) diff --git a/sources b/sources new file mode 100644 index 0000000..f4e8a85 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (lorax-34.3.tar.gz) = 7953664ca44c2591b2245ffdd58c004a623135ee540d4835f737f90361cc53ae903ba7f8f5d0ae45f6eff7d64144b3301e6cc16930c68c20d8d6fed91e1e9179