diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore index c8324b0..4ca59af 100644 --- a/.gitignore +++ b/.gitignore @@ -137,3 +137,134 @@ /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 +/lorax-34.4.tar.gz +/lorax-34.5.tar.gz +/lorax-34.6.tar.gz +/lorax-34.7.tar.gz +/lorax-34.8.tar.gz +/lorax-34.9.tar.gz +/lorax-35.0.tar.gz +/lorax-35.1.tar.gz +/lorax-35.2.tar.gz +/lorax-35.3.tar.gz +/lorax-35.4.tar.gz +/lorax-35.5.tar.gz +/lorax-35.6.tar.gz +/lorax-35.7.tar.gz +/lorax-36.0.tar.gz +/lorax-36.1.tar.gz +/lorax-36.2.tar.gz +/lorax-36.3.tar.gz +/lorax-36.4.tar.gz +/lorax-36.5.tar.gz +/lorax-36.6.tar.gz +/lorax-36.7.tar.gz +/lorax-36.8.tar.gz +/lorax-36.9.tar.gz +/lorax-37.0.tar.gz +/lorax-37.1.tar.gz +/lorax-37.2.tar.gz +/lorax-37.3.tar.gz +/lorax-37.4.tar.gz +/lorax-37.5.tar.gz +/lorax-37.6.tar.gz +/lorax-37.7.tar.gz +/lorax-37.8.tar.gz +/lorax-38.0.tar.gz +/lorax-38.1.tar.gz +/lorax-38.2.tar.gz +/lorax-38.3.tar.gz +/lorax-38.4.tar.gz +/lorax-38.5.tar.gz +/lorax-38.6.tar.gz +/lorax-39.0.tar.gz +/lorax-39.1.tar.gz +/lorax-39.2.tar.gz +/lorax-39.3.tar.gz +/lorax-39.4.tar.gz +/lorax-39.5.tar.gz +/lorax-40.0.tar.gz +/lorax-40.1.tar.gz +/lorax-40.2.tar.gz +/lorax-40.3.tar.gz +/lorax-40.4.tar.gz +/lorax-40.5.tar.gz +/lorax-40.6.tar.gz +/lorax-41.0.tar.gz +/lorax-41.1.tar.gz +/lorax-41.2.tar.gz +/lorax-41.3.tar.gz +/lorax-42.0.tar.gz +/lorax-42.1.tar.gz +/lorax-42.2.tar.gz +/lorax-42.3.tar.gz +/lorax-42.4.tar.gz +/lorax-42.5.tar.gz +/lorax-43.0.tar.gz +/lorax-43.1.tar.gz +/lorax-43.2.tar.gz +/lorax-43.3.tar.gz +/lorax-43.4.tar.gz +/lorax-43.5.tar.gz +/lorax-43.6.tar.gz +/lorax-43.7.tar.gz +/lorax-43.8.tar.gz +/lorax-43.9.tar.gz +/lorax-43.10.tar.gz +/lorax-44.0.tar.gz +/lorax-44.1.tar.gz +/lorax-44.2.tar.gz +/lorax-44.3.tar.gz +/lorax-44.4.tar.gz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..0c1cc35 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_contexts: [bodhi_update_push_stable] +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/lorax.spec b/lorax.spec index 35f1ff2..5e3eaa4 100644 --- a/lorax.spec +++ b/lorax.spec @@ -1,33 +1,40 @@ # 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} +%global forgeurl https://github.com/weldr/lorax Name: lorax -Version: 29.12 +Version: 44.4 Release: 1%{?dist} Summary: Tool for creating the anaconda install images +License: GPL-2.0-or-later -Group: Applications/System -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 +# qemu is no longer available on 32-bit +ExcludeArch: %{ix86} + +%global tag %{version} +%forgemeta +Url: %{forgeurl} +Source0: %{forgesource} BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +BuildRequires: make +BuildRequires: systemd-rpm-macros Requires: lorax-templates +%if 0%{?rhel} >= 9 +Requires: lorax-templates-rhel +%endif -Requires: GConf2 Requires: cpio Requires: device-mapper Requires: dosfstools Requires: e2fsprogs Requires: findutils Requires: gawk -Requires: genisoimage +Requires: xorriso Requires: glib2 Requires: glibc Requires: glibc-common @@ -36,18 +43,23 @@ Requires: isomd5sum Requires: module-init-tools Requires: parted Requires: squashfs-tools >= 4.2 +Requires: erofs-utils >= 1.8.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 -Requires: python3-dnf >= 2.0.0 - +Requires: python3-kickstart >= 3.19 +Requires: python3-libdnf5 +Requires: python3-librepo +Requires: python3-pycdio %if 0%{?fedora} # Fedora specific deps @@ -56,21 +68,14 @@ Requires: hfsplus-tools %endif %endif -%ifarch %{ix86} x86_64 -Requires: syslinux >= 6.02-4 -%endif - -%ifarch ppc ppc64 ppc64le +%ifarch x86_64 ppc64le Requires: grub2 Requires: grub2-tools %endif %ifarch s390 s390x Requires: openssh -%endif - -%ifarch %{arm} -Requires: uboot-tools +Requires: s390utils >= 2.15.0-2 %endif # Moved image-minimizer tool to lorax @@ -84,26 +89,45 @@ 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. + +%if ! (0%{?rhel} >= 10 && "%{_arch}" == "ppc64le") %package lmc-virt Summary: livemedia-creator libvirt dependencies Requires: lorax = %{version}-%{release} +%if 0%{?rhel} +# RHEL doesn't have qemu, just qemu-kvm +Requires: qemu-kvm +%else Requires: qemu +Recommends: qemu-kvm +%endif -# Fedora edk2 builds currently only support these arches -%ifarch %{ix86} x86_64 %{arm} aarch64 +# edk2 builds currently only support these arches +%ifarch x86_64 Requires: edk2-ovmf %endif -Recommends: qemu-kvm +%ifarch aarch64 +Requires: edk2-aarch64 +%endif %description lmc-virt Additional dependencies required by livemedia-creator when using it with qemu. +%endif %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 @@ -118,44 +142,8 @@ Provides: lorax-templates = %{version}-%{release} Lorax templates for creating the boot.iso and live isos are placed in /usr/share/lorax/templates.d/99-generic -%package composer -Summary: Lorax Image Composer API Server -# For Sphinx documentation build -BuildRequires: python3-flask python3-gobject libgit2-glib python3-pytoml python3-semantic_version - -Requires: lorax = %{version}-%{release} -Requires(pre): /usr/bin/getent -Requires(pre): /usr/sbin/groupadd -Requires(pre): /usr/sbin/useradd - -Requires: python3-pytoml -Requires: python3-semantic_version -Requires: libgit2 -Requires: libgit2-glib -Requires: python3-flask -Requires: python3-gevent -Requires: anaconda-tui -Requires: qemu-img -Requires: tar - -%{?systemd_requires} -BuildRequires: systemd - -%description composer -lorax-composer provides a REST API for building images using lorax. - -%package -n composer-cli -Summary: A command line tool for use with the lorax-composer API server - -# From Distribution -Requires: python3-urllib3 - -%description -n composer-cli -A command line tool for use with the lorax-composer API server. Examine recipes, -build images, etc. from the command line. - %prep -%setup -q -n %{name}-%{version} +%forgeautosetup %build @@ -163,47 +151,34 @@ build images, etc. from the command line. rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install -# Install example blueprints from the test suite. -# This path MUST match the lorax-composer.service blueprint path. -mkdir -p $RPM_BUILD_ROOT/var/lib/lorax/composer/blueprints/ -for bp in example-http-server.toml example-development.toml example-atlas.toml; do - cp ./tests/pylorax/blueprints/$bp $RPM_BUILD_ROOT/var/lib/lorax/composer/blueprints/ -done - -%pre composer -getent group weldr >/dev/null 2>&1 || groupadd -r weldr >/dev/null 2>&1 || : -getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin -c "User for lorax-composer" weldr >/dev/null 2>&1 || : - -%post composer -%systemd_post lorax-composer.service -%systemd_post lorax-composer.socket - -%preun composer -%systemd_preun lorax-composer.service -%systemd_preun lorax-composer.socket - -%postun composer -%systemd_postun_with_restart lorax-composer.service -%systemd_postun_with_restart lorax-composer.socket - %files %defattr(-,root,root,-) %license COPYING -%doc AUTHORS docs/livemedia-creator.rst docs/product-images.rst +%doc AUTHORS +%doc docs/lorax.rst docs/livemedia-creator.rst docs/product-images.rst %doc docs/*ks %{python3_sitelib}/pylorax -%{python3_sitelib}/*.egg-info -%{_sbindir}/lorax -%{_sbindir}/mkefiboot -%{_sbindir}/livemedia-creator +%{python3_sitelib}/pylorax-%{version}.dist-info +%{_bindir}/lorax +%{_bindir}/mkefiboot +%{_bindir}/livemedia-creator +%{_bindir}/mkksiso %{_bindir}/image-minimizer -%{_bindir}/mk-s390-cdboot %dir %{_sysconfdir}/lorax %config(noreplace) %{_sysconfdir}/lorax/lorax.conf %dir %{_datadir}/lorax -%{_mandir}/man1/*.1* +%{_mandir}/man1/lorax.1* +%{_mandir}/man1/livemedia-creator.1* +%{_mandir}/man1/mkksiso.1* +%{_mandir}/man1/image-minimizer.1* +%{_tmpfilesdir}/lorax.conf +%files docs +%doc docs/html/* + +%if ! (0%{?rhel} >= 10 && "%{_arch}" == "ppc64le") %files lmc-virt +%endif %files lmc-novirt @@ -211,331 +186,510 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin %dir %{_datadir}/lorax/templates.d %{_datadir}/lorax/templates.d/* -%files composer -%config(noreplace) %{_sysconfdir}/lorax/composer.conf -%{python3_sitelib}/pylorax/api/* -%{_sbindir}/lorax-composer -%{_unitdir}/lorax-composer.service -%{_unitdir}/lorax-composer.socket -%dir %{_datadir}/lorax/composer -%{_datadir}/lorax/composer/* -%{_tmpfilesdir}/lorax-composer.conf -%dir %attr(0771, root, weldr) %{_sharedstatedir}/lorax/composer/ -%dir %attr(0771, root, weldr) %{_sharedstatedir}/lorax/composer/blueprints/ -%attr(0771, weldr, weldr) %{_sharedstatedir}/lorax/composer/blueprints/* - -%files -n composer-cli -%{_bindir}/composer-cli -%{python3_sitelib}/composer/* -%{_sysconfdir}/bash_completion.d/composer-cli - %changelog -* Tue Aug 28 2018 Brian C. Lane 29.12-1 -- Minor package fixes for aarch64/ARMv7 (pbrobinson@gmail.com) +* Mon Dec 01 2025 Brian C. Lane 44.4-1 +- Exclude build on the i686 architecture (berrange@redhat.com) +- runtime-cleanup: mesa no longer includes gallium-pipe drivers (yselkowi@redhat.com) -* Mon Aug 27 2018 Brian C. Lane 29.11-1 -- Fix composer-cli blueprints changes to get correct total (bcl@redhat.com) -- Fix blueprints/list and blueprints/changes to return the correct total (bcl@redhat.com) -- Add tests for limit=0 routes (bcl@redhat.com) -- Add a function to get_url_json_unlimited to retrieve the total (bcl@redhat.com) -- Fix tests related to blueprint name changes (bcl@redhat.com) -- Add 'example' to the example blueprint names (bcl@redhat.com) -- Use urllib.parse instead of urlparse (bcl@redhat.com) -- In composer-cli, request all results (dshea@redhat.com) -- Add tests for /compose/status filter arguments (dshea@redhat.com) -- Allow '*' as a uuid in /compose/status/ (dshea@redhat.com) -- Add filter arguments to /compose/status (dshea@redhat.com) -- composer-cli should not log to a file by default (bcl@redhat.com) -- Add documentation for using a DVD as the package source (bcl@redhat.com) -- Set TCP listen backlog for API socket to SOMAXCONN (lars@karlitski.net) -- Update Arm architectures for the latest requirements (pbrobinson@gmail.com) -- New lorax documentation - 29.11 (bcl@redhat.com) -- Add a note about using lorax-composer.service (bcl@redhat.com) -- Ignore dnf.logging when building docs (bcl@redhat.com) -- Bring back import-state.service (#1615332) (rvykydal@redhat.com) -- Fix a little bug in running "modules list". (clumens@redhat.com) -- Fix bash_completion.d typo (bcl@redhat.com) -- Move disklabel and UEFI support to compose.py (bcl@redhat.com) -- Fix more tests. (clumens@redhat.com) -- Change INVALID_NAME to INVALID_CHARS. (clumens@redhat.com) -- Update composer-cli for the new error return types. (clumens@redhat.com) -- Add default error IDs everywhere else. (clumens@redhat.com) -- Add error IDs to things that can go wrong when running a compose. (clumens@redhat.com) -- Add error IDs for common source-related errors. (clumens@redhat.com) -- Add error IDs for unknown modules and unknown projects. (clumens@redhat.com) -- Add error IDs for when an unknown commit is requested. (clumens@redhat.com) -- Add error IDs for when an unknown blueprint is requested. (clumens@redhat.com) -- Add error IDs for when an unknown build UUID is requested. (clumens@redhat.com) -- Add error IDs for bad state conditions. (clumens@redhat.com) -- Change the error return type for bad limit= and offset=. (clumens@redhat.com) -- Don't sort error messages. (clumens@redhat.com) -- Fix bash completion of compose info (bcl@redhat.com) -- Add + to the allowed API string character set (bcl@redhat.com) -- Add job_* timestamp support to compose status (bcl@redhat.com) -- Drop .decode from UTF8_TEST_STRING (bcl@redhat.com) -- Add input string checks to the branch and format arguments (bcl@redhat.com) -- Add a test for invalid characters in the API route (bcl@redhat.com) -- Add etc/bash_completion.d/composer-cli (wwoods@redhat.com) -- composer-cli: clean up "list" commands (wwoods@redhat.com) -- Fix logging argument (bcl@redhat.com) -- Update get_system_repo for dnf (bcl@redhat.com) -- Update ConfigParser usage for Py3 (bcl@redhat.com) -- Update StringIO use for Py3 (bcl@redhat.com) -- Add a test for the pylorax.api.timestamp functions (bcl@redhat.com) -- Fix write_timestamp for py3 (bcl@redhat.com) -- Return a JSON error instead of a 404 on certain malformed URLs. (clumens@redhat.com) -- Return an error if /modules/info doesn't return anything. (clumens@redhat.com) -- Update documentation (#409). (clumens@redhat.com) -- Use constants instead of strings (#409). (clumens@redhat.com) -- Write timestamps when important events happen during the compose (#409). (clumens@redhat.com) -- Return multiple timestamps in API results (#409). (clumens@redhat.com) -- Add a new timestamp.py file to the API directory (#409). (clumens@redhat.com) -- Use the first enabled system repo for the test (bcl@redhat.com) -- Show more details when the system repo delete test fails (bcl@redhat.com) -- Add composer-cli function tests (bcl@redhat.com) -- Add a test library (bcl@redhat.com) -- composer-cli: Add support for Group to blueprints diff (bcl@redhat.com) -- Update status.py to use new handle_api_result (bcl@redhat.com) -- Update sources.py to use new handle_api_result (bcl@redhat.com) -- Update projects.py to use new handle_api_result (bcl@redhat.com) -- Update modules.py to use new handle_api_result (bcl@redhat.com) -- Update compose.py to use new handle_api_result (bcl@redhat.com) -- Update blueprints.py to use new handle_api_result (bcl@redhat.com) -- Modify handle_api_result so it can be used in more places (bcl@redhat.com) -- Fix help output on the compose subcommand. (clumens@redhat.com) -- Add timestamps to "compose-cli compose status" output. (clumens@redhat.com) -- And then add real output to the status command. (clumens@redhat.com) -- Add the beginnings of a new status subcommand. (clumens@redhat.com) -- Document that you shouldn't run lorax-composer twice. (clumens@redhat.com) -- Add PIDFile to the .service file. (clumens@redhat.com) -- composer-cli: Fix non-zero epoch in projets info (bcl@redhat.com) +* Wed Nov 26 2025 Daniel P. Berrangé - 44.3-2 +- Add ExcludeArch for i686 to remove qemu dependency -* Fri Jul 20 2018 Brian C. Lane 29.10-1 -- New lorax documentation - 29.10 (bcl@redhat.com) -- Add dnf.transaction to list of modules for sphinx to ignore (bcl@redhat.com) -- Log and exit on metadata update errors at startup (bcl@redhat.com) -- Check /projects responses for null values. (bcl@redhat.com) -- Clarify error message from /source/new (bcl@redhat.com) -- Update samba and rsync versions for tests (bcl@redhat.com) -- Support loading groups from the kickstart template files. (clumens@redhat.com) -- Add group-based tests. (clumens@redhat.com) -- Include groups in depsolving. (clumens@redhat.com) -- Add support for groups to blueprints. (clumens@redhat.com) -- Add help output to each subcommand. (clumens@redhat.com) -- Split the help output into its own module. (clumens@redhat.com) -- If the help subcommand is given, print the help output. (clumens@redhat.com) -- Check the compose templates at startup (bcl@redhat.com) -- Fix a couple typos in lorax-composer docs. (bcl@redhat.com) +* Wed Oct 15 2025 Brian C. Lane 44.3-1 +- Do not remove SELinux from the runtime (ppolawsk@redhat.com) -* Wed Jun 27 2018 Brian C. Lane 29.9-1 -- DNF 3: progress callback constants moved to dnf.transaction (awilliam@redhat.com) -- Include example blueprints in the rpm (bcl@redhat.com) -- Make sure /run/weldr has correct ownership and permissions (bcl@redhat.com) +* Thu Oct 09 2025 Brian C. Lane 44.2-1 +- Add mac80211_hwsim for wifi testing to installer image (rvykydal@redhat.com) +- runtime-install: drop tigervnc (awilliam@redhat.com) -* Fri Jun 22 2018 Brian C. Lane 29.8-1 -- Fixing bug where test did not try to import pylorax.version (sophiafondell) -- Add the ability to enable DNF plugins for lorax (bcl@redhat.com) -- Allow more than 1 bash build in tests (bcl@redhat.com) -- Update tests for glusterfs 4.1.* on rawhide (bcl@redhat.com) -- Install 'hostname' in runtime-install (for iSCSI) (awilliam@redhat.com) -- Add redhat.exec to s390 .treeinfo (bcl@redhat.com) -- It's /compose/cancel, not /blueprints/cancel. (clumens@redhat.com) -- Retry losetup if loop_attach fails (bcl@redhat.com) -- Add reqpart to example kickstart files (bcl@redhat.com) -- Increase default ram used with lmc and virt to 2048 (bcl@redhat.com) +* Wed Sep 24 2025 Brian C. Lane 44.1-1 +- runtime-install: skip qcom-accel-firmware (awilliam@redhat.com) +- executils: decoding after deserialization (oleg.sviridov@red-soft.ru) +- mkksiso: make ISO reproducible with SOURCE_DATE_EPOCH (e.champetier@ateme.com) -* Thu Jun 07 2018 Brian C. Lane 29.7-1 -- New lorax documentation - 29.7 (bcl@redhat.com) -- Add --dracut-arg support to lorax (bcl@redhat.com) -- Make LogRequestHandler configurable (mkolman@redhat.com) -- gevent has deprecated .wsgi, should use .pywsgi instead (bcl@redhat.com) +* Mon Sep 08 2025 Brian C. Lane 44.0-1 +- maint: Switch default platform to F44 (bcl@redhat.com) +- Drop all installs of shim-ia32 (it no longer exists) (awilliam@redhat.com) +- templates: Support product version to contain blank character in + templates.d/99-generic (songmingliang@uniontech.com) -* Mon Jun 04 2018 Brian C. Lane 29.6-1 -- New lorax documentation - 29.6 (bcl@redhat.com) -- Override Sphinx documentation version with LORAX_VERSION (bcl@redhat.com) -- Add support for sources to composer-cli (bcl@redhat.com) -- Fix DNF related issues with source selection (bcl@redhat.com) -- Fix handling bad source repos and add a test (bcl@redhat.com) -- Speed up test_dnfbase.py (bcl@redhat.com) -- Make sure new sources show up in the source/list output (bcl@redhat.com) -- Fix make_dnf_dirs (bcl@redhat.com) -- Update test_server for rawhide (bcl@redhat.com) -- Add support for user defined package sources API (bcl@redhat.com) +* Thu Aug 14 2025 Brian C. Lane 43.10-1 +- executils: Remove binary_output flag (bcl@redhat.com) +- logging: Set encoding=UTF-8 on FileHandler (bcl@redhat.com) +- executils: Set encoding to UTF-8 for _run_program (bcl@redhat.com) +- tests: Add template runcmd unicode test (bcl@redhat.com) +- tests: Add some unicode to the executils tests (bcl@redhat.com) +- templates: Remove explicit installation of anaconda-widgets (k.koukiou@gmail.com) -* Wed May 23 2018 Brian C. Lane 29.5-1 -- templates: Stop using gconfset (walters@verbum.org) -- Add support for version globs to blueprints (bcl@redhat.com) -- Update atlas blueprint (bcl@redhat.com) +* Tue Jul 22 2025 Brian C. Lane 43.9-1 +- Makefile: Separate install and all targets (bcl@redhat.com) -* Thu May 17 2018 Brian C. Lane 29.4-1 -- Update documentation (#1430906) (bcl@redhat.com) -- really kill kernel-bootwrapper on ppc (dan@danny.cz) +* Tue Jul 15 2025 Brian C. Lane 43.8-1 +- pylilnt: Drop old rules and ignore .tito (bcl@redhat.com) +- tito: Add support for tagging the version in pyproject.toml (bcl@redhat.com) +- lorax.spec: Update for pyproject.toml use (bcl@redhat.com) +- pyproject: Add cmdline scripts (bcl@redhat.com) +- bin: symlink to scripts from src/bin (bcl@redhat.com) +- Move cmdline scripts under pylorax.cmdline (bcl@redhat.com) +- pylorax: Move cmdline into a pylorax.cmdline module (bcl@redhat.com) +- pyproject: Add a pyproject.toml config file (bcl@redhat.com) +- Makefile: Stop running setup.py directly (bcl@redhat.com) -* Mon May 14 2018 Brian C. Lane 29.3-1 -- 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) +* Fri Jul 11 2025 Brian C. Lane 43.7-1 +- runtime-cleanup: don't strip avahi-libs (awilliam@redhat.com) +- treebuilder: use fedora-eln-logos for ELN (yselkowi@redhat.com) -* Thu May 03 2018 Brian C. Lane 29.2-1 -- Enable testing in Travis and collecting of coverage history (atodorov@redhat.com) -- Check selinux state before creating output directory (bcl@redhat.com) -- change installed packages on ppc (dan@danny.cz) -- drop support for 32-bit ppc (dan@danny.cz) -- remove redundant mkdir (dan@danny.cz) +* Wed Jul 02 2025 Brian C. Lane 43.6-1 +- config_files: Do not remove `chcon` in runtime cleanup (ppolawsk@redhat.com) +- use /mnt/sysroot PATH in profile (butirsky@gmail.com) +- fix chroot path in .bash_history (butirsky@gmail.com) -* Mon Apr 09 2018 Brian C. Lane 29.1-1 -- Fix anaconda metapackage name (mkolman@redhat.com) -- Include the anaconda-install-env-deps metapackage (mkolman@redhat.com) -- Update the URL in lorax.spec to point to new Lorax location (bcl@redhat.com) -- lorax's gh-pages are under ./lorax/ so make the links relative - (bcl@redhat.com) -- New lorax documentation - 29.0 (bcl@redhat.com) +* Mon Jun 16 2025 Brian C. Lane 43.5-1 +- templates.d: Remove libdir variable from templates (bcl@redhat.com) +- runtime-cleanup: Move rpm database cleanup to the end (bcl@redhat.com) -* Thu Mar 15 2018 Brian C. Lane 29.0-1 -- Update Copyright year to 2018 in Sphinx docs (bcl@redhat.com) -- Add links to documentation for previous versions (bcl@redhat.com) -- make docs now also builds html (bcl@redhat.com) -- Update default releasever to Fedora 29 (rawhide) (jkonecny@redhat.com) +* Tue May 06 2025 Brian C. Lane 43.4-1 +- runtime-postinstall: Remove root password (bcl@redhat.com) + Resolves: rhbz#2364082 +- tests: Update magic module usage (bcl@redhat.com) +- utils: Remove old filediff.py script (bcl@redhat.com) +- dnfbase: Use load_repos instead of update_and_load_enabled_repos (bcl@redhat.com) + Fixes #1464 -* Mon Feb 26 2018 Brian C. Lane 28.8-1 -- cleanup: don't remove libgstgl (dusty@dustymabe.com) +* Mon Mar 31 2025 Brian C. Lane 43.3-1 +- config_files: Drop efi suffix from linuxefi and initrdefi in grub2-efi.cfg (bcl@redhat.com) +- runtime-install: only install amd-ucode-firmware on x86_64 (awilliam@redhat.com) +- runtime-install: exclude crust-firmware (awilliam@redhat.com) +- runtime-cleanup: drop more video and audio firmwares (awilliam@redhat.com) +- runtime-install: drop exceptions related to F38-era fw renames (awilliam@redhat.com) +- runtime-postinstall: allow pipewire to run as root (awilliam@redhat.com) -* Fri Feb 23 2018 Brian C. Lane 28.7-1 -- Fix _install_branding (bcl@redhat.com) -- livemedia-creator --no-virt requires a system-logos package (bcl@redhat.com) -- Revert "add system-logos dependency for syslinux" (bcl@redhat.com) +* Tue Mar 25 2025 Brian C. Lane 43.2-1 +- spec: update lorax-lmc-virt dependencies (yselkowi@redhat.com) +- livemedia-creator: Set 0755 permission on / cpio overlay (bcl@redhat.com) -* Thu Feb 22 2018 Brian C. Lane 28.6-1 -- add system-logos dependency for syslinux (pbrobinson@gmail.com) -- Really don't try to build EFI images on i386 (awilliam@redhat.com) +* Mon Mar 10 2025 Brian C. Lane 43.1-1 +- runtime-postinstall: Remove systemd-gpt-auto-generator (bcl@redhat.com) -* Mon Jan 29 2018 Brian C. Lane 28.5-1 -- Don't try to build efi images for basearch=i386. (pjones@redhat.com) -- LMC: Make the QEMU RNG device optional (yturgema@redhat.com) +* Thu Mar 06 2025 Brian C. Lane 43.0-1 +- maint: Switch default platform to F43 (bcl@redhat.com) +- runtime-cleanup: Leave stat binary (bcl@redhat.com) -* Wed Jan 17 2018 Brian C. Lane 28.4-1 -- Write the --variant string to .buildstamp as 'Variant=' (bcl@redhat.com) -- Run the pylorax tests with 'make test' (bcl@redhat.com) -- Fix installpkg exclude operation (bcl@redhat.com) +* Mon Feb 03 2025 Brian C. Lane 42.5-1 +- Remove sbin usage (bcl@redhat.com) +- mkksiso: Replace existing inst.ks on the iso (bcl@redhat.com) +- Dockerfile.test: Use fedora:latest instead of rawhide (bcl@redhat.com) +- mkksiso: Fix rebuilding the efiboot.img on some systems (bcl@redhat.com) +- Remove leftovers from xorg drop (jkonecny@redhat.com) -* Wed Jan 03 2018 Brian C. Lane 28.3-1 -- Add --old-chroot to the mock example cmdlines (bcl@redhat.com) -- Don't try and install kernel-PAE on i686 any more (awilliam@redhat.com) -- New lorax documentation - 28.2 (bcl@redhat.com) +* Fri Nov 22 2024 Brian C. Lane 42.4-1 +- runtime-cleanup: Newer glibc installs into /usr/lib64 (bcl@redhat.com) +- erofs: Change the erofs compression default to zstd (bcl@redhat.com) -* Tue Nov 28 2017 Brian C. Lane 28.2-1 -- Add documentation about mock changes (#1473880) (bcl@redhat.com) -- Log a more descriptive error when setfiles fails (#1499771) (bcl@redhat.com) -- Add /usr/share/lorax/templates.d ownership to lorax-templates-generic - (bcl@redhat.com) -- Add dependencies for SE/HMC (vponcova@redhat.com) -- Allow installpkgs to do version pinning through globbing (claudioz@fb.com) -- Storaged re-merged with udisks2 upstream (sgallagh@redhat.com) +* Mon Oct 21 2024 Brian C. Lane 42.3-1 +- Update template for anaconda webui to start as user (adamkankovsky@gmail.com) +- tests: Fix mkksiso unit test (bcl@redhat.com) -* Thu Oct 19 2017 Brian C. Lane 28.1-1 -- Use bytes when writing strings in mk-s390-cdboot (#1504026) (bcl@redhat.com) +* Tue Oct 08 2024 Brian C. Lane 42.2-1 +- pylint: Print astroid version (bcl@redhat.com) +- Extend help for --updates and --ks parameters (jkonecny@redhat.com) +- Fix --updates the updates image wasn't loaded (jkonecny@redhat.com) -* Tue Oct 17 2017 Brian C. Lane 28.0-1 -- Add make test target and update .gitignore (atodorov@redhat.com) -- Add first unit test so we can start collecting coverage (atodorov@redhat.com) -- Convert mk-s390-cdboot to python3 (#1497141) (bcl@redhat.com) -- Update false positives (atodorov@redhat.com) -- Rename parameters to match names that dnf uses (atodorov@redhat.com) -- Don't override 'line' from outer scope (atodorov@redhat.com) -- Add swaplabel command (vponcova@redhat.com) +* Mon Sep 30 2024 Brian C. Lane 42.1-1 +- templates: Drop dnf install (bcl@redhat.com) -* Wed Sep 27 2017 Brian C. Lane 27.11-1 -- s390 doesn't need to graft product.img and updates.img into /images (#1496461) (bcl@redhat.com) -- distribute the mk-s390-cdboot utility (dan@danny.cz) -- update graft variable in s390 template (dan@danny.cz) +* Mon Sep 09 2024 Brian C. Lane 42.0-1 +- New lorax documentation - 41.3 (bcl@redhat.com) +- ltmpl: Remove * from docstring (bcl@redhat.com) +- docs: Update intersphinx and add _static dir (bcl@redhat.com) +- docs: Document --rootfs-type options (bcl@redhat.com) +- Adjust Lorax templates for Xorg to Wayland switch (jkonecny@redhat.com) +- creator: Change rootfs description to match cmdline argument (bcl@redhat.com) -* Mon Sep 18 2017 Brian C. Lane 27.10-1 -- Restore all of the grub2-tools on x86_64 and i386 (#1492197) (bcl@redhat.com) +* Tue Jul 16 2024 Brian C. Lane 41.3-1 +- Accept but ignore the old --squashfs-only argument (awilliam@redhat.com) -* Fri Aug 25 2017 Brian C. Lane 27.9-1 -- x86.tmpl: initially define compressargs as empty string (awilliam@redhat.com) -- x86.tmpl: ensure efiarch64 is defined (awilliam@redhat.com) +* Mon Jul 15 2024 Brian C. Lane 41.2-1 +- Prepare for the sbin merge (zbyszek@in.waw.pl) +- Add compression.erofs section to lorax.conf (bcl@redhat.com) +- Add erofs and erofs-ext4 support to --rootfs-type (bcl@redhat.com) +- Replace squashfs_only with rootfs_type (bcl@redhat.com) +- imgutils: Add mkerofs function and test (bcl@redhat.com) +- Implement --replace also for S390 (sebastian.stark@advantest.com) +- mkksiso: option --replace to replace arbitrary text in boot config. (sebastian.stark@advantest.com) +- spec: Drop forge tag lua tweak (bcl@redhat.com) -* Thu Aug 24 2017 Brian C. Lane 27.8-1 -- Fix grub2-efi-ia32-cdboot and shim-ia32 bits. (pjones@redhat.com) +* Wed Jun 12 2024 Brian C. Lane 41.1-1 +- livemedia-creator: Check for BIOS vs. UEFI qemu support (bcl@redhat.com) +- livemedia-creator: Enable s390x virt support (bcl@redhat.com) +- livemedia-creator: Make use of virtio devices more generic (bcl@redhat.com) +- Makefile: Turn off seccomp for test-in-podman (bcl@redhat.com) +- tests: Fix image_minimizer test dnf usage (bcl@redhat.com) +- creator: Fix pylint error in run_creator (bcl@redhat.com) +- New lorax documentation - 41.1 (bcl@redhat.com) +- docs: Add sphinx-reredirects and composer-cli redirect (bcl@redhat.com) +- New lorax documentation - 41.1 (bcl@redhat.com) +- spec: Switch to using the source from the github tag (bcl@redhat.com) +- workflows: Add missing branch names (bcl@redhat.com) +- runtime-cleanup: wget2-wget has replaced wget (yselkowi@redhat.com) +- Add a simple PR template reminder (bcl@redhat.com) -* Thu Aug 24 2017 Brian C. Lane 27.7-1 -- Make 64-bit kernel on 32-bit firmware work for x86 efi machines (pjones@redhat.com) -- Don't install rdma bits on 32-bit ARM (#1483278) (awilliam@redhat.com) +* Fri Mar 15 2024 Brian C. Lane +- maint: Switch default platform to F41 (bcl@redhat.com) +- Add prefixdevname support to the boot.iso (rvykydal@redhat.com) -* Mon Aug 14 2017 Brian C. Lane 27.6-1 -- Add creation of a bootable s390 iso (#1478448) (bcl@redhat.com) -- Add mk-s360-cdboot utility (#1478448) (bcl@redhat.com) -- Fix systemctl command (#1478247) (bcl@redhat.com) -- Add version output (#1335456) (bcl@redhat.com) -- Include the dracut fips module in the initrd (#1341280) (bcl@redhat.com) -- Make sure loop device is setup (#1462150) (bcl@redhat.com) +* Mon Feb 19 2024 Brian C. Lane +- Add example use of lmc in github actions. (cjshowalter@alaska.edu) +- Require lorax-templates-rhel when building for ELN, CentOS Stream and RHEL (sgallagh@redhat.com) +- workflows: Switch to actions/checkout@v4 (bcl@redhat.com) +- dnfbase: Fix substitutions (bcl@redhat.com) -* Wed Aug 02 2017 Brian C. Lane 27.5-1 -- runtime-cleanup: preserve a couple more gstreamer libs (awilliam@redhat.com) -- perl is needed on all arches now (dennis@ausil.us) +* Tue Feb 06 2024 Brian C. Lane 40.5-1 +- New lorax documentation - 40.5 (bcl@redhat.com) +- maint: Switch default platform to F40 (bcl@redhat.com) +- runtime-cleanup: Update to cleanup more (akira@tagoh.org) +- runtime-install: Update font packages (akira@tagoh.org) -* Mon Jul 10 2017 Brian C. Lane 27.4-1 -- runtime-cleanup.tmpl: don't delete localedef (jlebon@redhat.com) +* Thu Feb 01 2024 Brian C. Lane 40.4-1 +- mkksiso: Add support for adding an anaconda updates.img (jkonecny@redhat.com) +- runtime-install: drop kdump-anaconda-addon (awilliam@redhat.com) +- ltmpl: Handle installing provides with resolve_pkg_spec (bcl@redhat.com) +- s390: Escape volid before using it (bcl@redhat.com) +- aarch64: Escape volid before using it (bcl@redhat.com) +- runtime-install: drop retired pcmciautils (awilliam@redhat.com) +- runtime-install: wget2-wget has replaced wget (awilliam@redhat.com) +- runtime-cleanup: anaconda's new interface needs stdbuf (kkoukiou@redhat.com) +- ltmpl: Pass packages to add_rpm_install as strings (bcl@redhat.com) -* Tue Jun 20 2017 Brian C. Lane 27.3-1 -- Don't remove libmenu.so library during cleanup on PowerPC (sinny@redhat.com) +* Wed Dec 20 2023 Brian C. Lane 40.3-1 +- runtime-install: Work around problem with conflicting packages (bcl@redhat.com) +- ltmpl: Check for errors after running the transaction (bcl@redhat.com) -* Thu Jun 01 2017 Brian C. Lane 27.2-1 -- Remove filegraft from arm.tmpl (#1457906) (bcl@redhat.com) -- Use anaconda-core to detect buildarch (sgallagh@redhat.com) +* Tue Dec 12 2023 Brian C. Lane 40.2-1 +- ltmpl: Remove duplicate package objects from dnf5 results (bcl@redhat.com) +- test-in-podman: Fix problem running in github actions (bcl@redhat.com) -* Wed May 31 2017 Brian C. Lane 27.1-1 -- arm.tmpl import basename (#1457055) (bcl@redhat.com) +* Mon Dec 11 2023 Brian C. Lane 40.1-1 +- ltmpl: Filter out other arches, clean up naming (bcl@redhat.com) +- test: Add pigz to test-packages (bcl@redhat.com) +- dnfbase: Fix url substitution support (bcl@redhat.com) +- ltmpl: Add transaction error handling (bcl@redhat.com) +- test-packages: Make sure python3-libdnf5 is installed (bcl@redhat.com) +- Updates for latest libdnf5 changes (bcl@redhat.com) +- spec: Switch to using python3-libdnf5 (bcl@redhat.com) +- Fix writing out debug info for package files and sizes (bcl@redhat.com) +- libdnf5: Switch lorax to use libdnf5 (bcl@redhat.com) +- Add python3-libdnf5 to the list of test packages (bcl@redhat.com) +- Adjust runtime-postinstall.tmpl for systemd config files move (zbyszek@in.waw.pl) -* Tue May 30 2017 Brian C. Lane 27.0-1 -- Bump version to 27.0 (bcl@redhat.com) -- Try all packages when installpkg --optional is used. (bcl@redhat.com) -- Add support for aarch64 live images (bcl@redhat.com) -- pylint: Ignore different argument lengths for dnf callback. (bcl@redhat.com) -- Adds additional callbacks keyword for start() (jmracek@redhat.com) -- Add ppc64-diag for Power64 platforms (pbrobinson@gmail.com) -- livemedia-creator: Add release license files to / of the iso (bcl@redhat.com) -- lorax: Add release license files to / of the iso (bcl@redhat.com) -- INSTALL_ROOT and LIVE_ROOT are not available during %%post (bcl@redhat.com) -- Add --noverifyssl to lorax (#1430483) (bcl@redhat.com) +* Mon Oct 02 2023 Brian C. Lane 40.0-1 +- Remove some unneccessary storage packages from runtime-install (vtrefny@redhat.com) +- Do not install polkit-gnome for blivet-gui (vtrefny@redhat.com) +- docs: Update the quickstart example command (vtrefny@redhat.com) + +* Thu Sep 07 2023 Brian C. Lane 39.5-1 +- Explicitly pull in more filesystem packages (awilliam@redhat.com) +- runtime-postinstall: Turn off lvm monitoring (bcl@redhat.com) +- runtime-cleanup.tmpl: fix typo 'gschadow' (chris.riches@nutanix.com) +- runtime-cleanup: Change how logo pixmaps is cleaned up (bcl@redhat.com) +- runtime-install: only pull in qcom-firmware on aarch64 (awilliam@redhat.com) + +* Wed Aug 09 2023 Brian C. Lane 39.4-1 +- Exclude more obsoleted libertas firmware packages (awilliam@redhat.com) +- Revert "test_minimizer: dnf5 wants --use-host-config" (bcl@redhat.com) + +* Mon Aug 07 2023 Brian C. Lane 39.3-1 +- runtime-install: excluded renamed olpc firmware package (awilliam@redhat.com) + +* Fri Jul 14 2023 Brian C. Lane 39.2-1 +- pylint: Ignore false positive from pylint on rawhide (bcl@redhat.com) +- tests: Fix image_minimizer test dnf usage (bcl@redhat.com) +- tests: Fix HFS test to work with new get_file_magic output (bcl@redhat.com) +- ltmpl: Use ProcMount while running the dnf transaction (bcl@redhat.com) +- imgutils: Split part DracutChroot into ProcMount (bcl@redhat.com) +- runtime-postinstall: Remove libuser.conf (bcl@redhat.com) +- runtime-install: exclude renamed iwl firmware packages (awilliam@redhat.com) +- test_minimizer: dnf5 wants --use-host-config (bcl@redhat.com) +- Install nvme-cli tool and remove machine specific nvme files (bcl@redhat.com) +- Revert "Add blacklist_exceptions to multipath.conf" (jstodola@redhat.com) + +* Wed May 31 2023 Brian C. Lane 39.1-1 +- livemedia-creator: Reorganize the qemu arch patch (bcl@redhat.com) +- Make sure -machine is passed to qemu (hadess@hadess.net) +- Only allow UEFI support to be enabled on x86_64 (hadess@hadess.net) +- Throw an error when KVM is enabled on non-native installs (hadess@hadess.net) +- docs: Clarify that kickstarts need a part command (bcl@redhat.com) +- livemedia-creator: Raise an error when no partitions are in the ks (bcl@redhat.com) +- monitor: Skip repo errors involving CDROM/file source (bcl@redhat.com) +- logging: Remove duplicate stream logging (bcl@redhat.com) +- Pass vga=791 for live basic graphics mode on BIOS (#2176782) (awilliam@redhat.com) +- livemedia-creator: Use -cpu host by default, add -cpu option to override (bcl@redhat.com) + +* Tue Mar 14 2023 Brian C. Lane 39.0-1 +- Add setpriv as ostree containers dependency (#2125655) (jkonecny@redhat.com) +- livemedia-creator: Do not omit plymouth module from dracut (bcl@redhat.com) +- New lorax documentation - 39.0 (bcl@redhat.com) +- workflow: Update list of push branches for workflow tests (bcl@redhat.com) +- Prepare for version 39.0 release (bcl@redhat.com) + +* Mon Feb 20 2023 Brian C. Lane 38.7-1 +- Don't strip gtk4 binaries or libtiff (#2170716) (awilliam@redhat.com) +- image-minimizer: Use RuntimeError instead of Exception (bcl@redhat.com) +- creator: Use RuntimeError instead of Exception (bcl@redhat.com) +- treebuilder: Use RuntimeError instead of Exception (bcl@redhat.com) +- mount: Use RuntimeError instead of Exception (bcl@redhat.com) +- ltmpl: Use RuntimeError instead of Exception (bcl@redhat.com) +- spec: Use autosetup to make patching easier (bcl@redhat.com) +- Revert "templates.d/99-generic/live: Enable automatic persistence for live media" (awilliam@redhat.com) +- Strip some things from gtk4 (awilliam@redhat.com) + +* Tue Feb 14 2023 Brian C. Lane 38.6-1 +- templates.d/99-generic/live: Enable automatic persistence for live media (ngompa@fedoraproject.org) +- Update for Noto CJK Variable Fonts (pwu@redhat.com) + +* Wed Feb 08 2023 Brian C. Lane 38.5-1 +- Fix using --dracut-conf with DracutChroot (bcl@redhat.com) +- tests: Fix DataHolder for CreatorTest (bcl@redhat.com) +- runtime-install: Update for + https://fedoraproject.org/wiki/Changes/NotoFontsForMoreLang (akira@tagoh.org) +- SPDX migration (bcl@redhat.com) +- rsyslogd.conf: Rewrite using current config syntax (bcl@redhat.com) +- Add comment for squashfs-only (dick@mrns.nl) +- runtime-install: exclude some more unneeded firmware packages (awilliam@redhat.com) +- runtime-install: stop excluding bfa-firmware again (retired) (awilliam@redhat.com) + +* Mon Dec 12 2022 Brian C. Lane 38.4-1 +- runtime-cleanup: drop old versions of qed firmware (awilliam@redhat.com) +- runtime-cleanup: drop Mediatek SoC firmwares (awilliam@redhat.com) +- runtime-install: drop bfa-firmware (awilliam@redhat.com) +- mkksiso: Disable running mkefiboot in container tests (bcl@redhat.com) +- mkksiso: Rebuild efiboot.img for UEFI enabled isos (bcl@redhat.com) +- gitleaks: Add config file to ignore known fake secrets (bcl@redhat.com) +- fedora-livemedia.ks: Use livesys-scripts (bcl@redhat.com) +- workflows: Switch to actions/checkout@v3 (bcl@redhat.com) + +* Mon Nov 28 2022 Brian C. Lane 38.3-1 +- Use unicode.pf2 from /usr/share/grub/ (bcl@redhat.com) +- On ppc64le Use core.elf from grub2 package (bcl@redhat.com) + +* Wed Nov 09 2022 Brian C. Lane 38.2-1 +- runtime-postinstall: Disable sshd.socket (bcl@redhat.com) +- docs: Document mock and SELinux not working together (bcl@redhat.com) +- imgutils: Don't delete dirs created for DracutChroot (bcl@redhat.com) +- tito: Use .tito instead of old ./rel-eng directory (bcl@redhat.com) +- setup.py: Set the version number (bcl@redhat.com) +- Improvement of unmounting /proc, /dev and binds (soksanichenko@cloudlinux.com) + +* Tue Oct 11 2022 Brian C. Lane 38.1-1 +- livemedia-creator: Allow file: url without networking (bcl@redhat.com) +- Update kdump addon package name (vslavik@redhat.com) +- Drop anaconda auditd replacement (vslavik@redhat.com) + +* Fri Sep 30 2022 Brian C. Lane 38.0-1 +- New lorax documentation - 38.0 (bcl@redhat.com) +- tests: Update test_creator.py for new cmdline options (bcl@redhat.com) +- livemedia-creator: Add release, variant, bugurl, and isfinal cmdline flags (cappy@cappuchino.xyz) +- Drop 32-bit ARM and x86 support (awilliam@redhat.com) +- Update anaconda's crash messages to watch (vslavik@redhat.com) +- livemedia-creator: Add --product to cmdline args (bcl@redhat.com) +- fedora-livemedia: Make sure GNOME Software service isn't started (bcl@redhat.com) +- fonts packages syncup in template files (akira@tagoh.org) +- tests: Add tzdata package to minimizer test setup (bcl@redhat.com) + +* Mon Jul 25 2022 Brian C. Lane 37.8-1 +- mkksiso: Optionally support 3 arguments or --ks (bcl@redhat.com) +- mkksiso: Add -U to xorriso on ppc64le (bcl@redhat.com) +- mkksiso: Fix passing -iso-level to xorriso (bcl@redhat.com) +- pylorax: SafeConfigParser is now ConfigParser (bcl@redhat.com) +- test: Update test code for new pylint version (bcl@redhat.com) +- tests: Switch back to rawhide for tests (bcl@redhat.com) +- workflow: Remove sudo from workflow (bcl@redhat.com) + +* Wed Jul 13 2022 Brian C. Lane 37.7-1 +- mkksiso: Set u+rw permission on extracted files and directories (bcl@redhat.com) +- Add option to boot local drive to the x86 BIOS grub2 menu (bcl@redhat.com) + +* Tue Jun 28 2022 Brian C. Lane 37.6-1 +- tests: Use Fedora 36 for test-in-podman (bcl@redhat.com) +- Add include for architecture specific packages to example kickstarts (bcl@redhat.com) +- templates: adjust for mellanox firmware split to subpackage (awilliam@redhat.com) +- mkksiso: Fix s390x support (bcl@redhat.com) +- spec: Don't require grub2 on x86-32 (bcl@redhat.com) +- mkksiso: Remove use of os.path.join (bcl@redhat.com) +- Makefile: Add mkksiso and image-minimizer to coverage report (bcl@redhat.com) +- tests: Add tests for mkksiso (bcl@redhat.com) +- mkksiso: Add kernel cmdline customization support (bcl@redhat.com) +- mkksiso: Move kickstart to --ks KICKSTART (bcl@redhat.com) +- mkksiso: Add helper functions for kernel cmdline modifications (bcl@redhat.com) + +* Fri Jun 03 2022 Brian C. Lane 37.5-1 +- example ks: Drop syslinux and add grub2-tools package for livemedia (bcl@redhat.com) +- templates: Set @ISOLABEL@ in the bios-grub.cfg file to the isolabel (bcl@redhat.com) +- Update spec for syslinux->grub2 switch (awilliam@redhat.com) + +* Wed Jun 01 2022 Brian C. Lane 37.4-1 +- mkksiso: Fix grub2 editing error (bcl@redhat.com) + +* Wed Jun 01 2022 Brian C. Lane 37.3-1 +- Add grub2 BIOS boot support to live iso template (bcl@redhat.com) + Resolves: rhbz#2092065 +- Drop grafting variables (bcl@redhat.com) +- Drop macboot.img and simplify efiboot.img use (bcl@redhat.com) +- Add grub2 BIOS boot support (bcl@redhat.com) +- Remove syslinux support (bcl@redhat.com) + +* Mon May 23 2022 Brian C. Lane 37.2-1 +- cleanup: drop phanfw.bin from linux-firmware (awilliam@redhat.com) +- cleanup: strip more mellanox firmware files (awilliam@redhat.com) +- cleanup: strip qcom/vpu* from linux-firmware (awilliam@redhat.com) +- cleanup: drop qcom/apq8096 firmwares (awilliam@redhat.com) + +* Wed May 11 2022 Brian C. Lane 37.1-1 +- New lorax documentation - 37.1 (bcl@redhat.com) +- docs: Update the mkksiso documentation (bcl@redhat.com) +- setup.py: Install mkksiso to /usr/bin (bcl@redhat.com) +- pylorax: Move variable out of try block (bcl@redhat.com) +- setup.py: Use setup from setuptools not distutils (bcl@redhat.com) +- Makefile: Remove -it options for test-in-podman (bcl@redhat.com) +- mkksiso: Rewrite to use xorriso features (bcl@redhat.com) +- docs: Fix typo in index.html (bcl@redhat.com) + +* Mon Mar 28 2022 Brian C. Lane 37.0-1 +- New lorax documentation - 37.0 (bcl@redhat.com) +- runtime-cleanup: keep 'unshare' binary present from util-linux-core (kkoukiou@redhat.com) + +* Mon Feb 28 2022 Brian C. Lane 36.9-1 +- Don't move the restart-anaconda file (vponcova@redhat.com) + +* Wed Feb 16 2022 Brian C. Lane 36.8-1 +- runtime-cleanup: Remove ncurses package (bcl@redhat.com) + +* Mon Feb 14 2022 Brian C. Lane 36.7-1 +- postinstall: Restore reproducible build timestamps on /usr/share/fonts (bcl@redhat.com) +- tests: Fix the image minimizer test dnf usage (bcl@redhat.com) +- runtime-cleanup: drop kernel drivers/iio (awilliam@redhat.com) +- runtime-cleanup: drop gallium-pipe drivers from mesa-dri-drivers (awilliam@redhat.com) +- runtime-cleanup: drop yelp's local MathJax library copy (awilliam@redhat.com) +- runtime-cleanup: drop eapol_test from wpa_supplicant (awilliam@redhat.com) +- runtime-cleanup: drop /usr/bin/cyrusbdb2current (awilliam@redhat.com) +- runtime-cleanup: drop systemd-analyze (awilliam@redhat.com) +- runtime-cleanup: drop mtools and glibc-gconv-extra (awilliam@redhat.com) +- runtime-cleanup: drop guile22's ccache (awilliam@redhat.com) +- runtime-cleanup: fix warnings from old or changed packages (awilliam@redhat.com) +- runtime-cleanup: drop Italic from google-noto-sans-vf-fonts (awilliam@redhat.com) +- runtime-install: drop some unnecessary font packages (awilliam@redhat.com) + +* Fri Feb 04 2022 Brian C. Lane 36.6-1 +- mkksiso: Fix check for unsupported arch error (bcl@redhat.com) + +* Thu Feb 03 2022 Brian C. Lane 36.5-1 +- mkksiso: Improve debug message about unsupported arch (bcl@redhat.com) +- mkksiso: Fix the order of the ppc mkisofs command (bcl@redhat.com) +- mkksiso: mkfsiso argument order matters (bcl@redhat.com) +- mkksiso: Add kickstart to s390x cdboot.prm (bcl@redhat.com) +- cleanup: handle RPM database move to /usr (awilliam@redhat.com) +- Install the variable font of the Cantarell font (akira@tagoh.org) +- Update the template for f36 Change proposal: + https://fedoraproject.org/wiki/Changes/DefaultToNotoFonts (akira@tagoh.org) +- Update Malayalam font to its new renamed package name rit-meera-new-fonts (pnemade@fedoraproject.org) +- Enable sftp when using inst.sshd (bcl@redhat.com) +- Add inst.rngd cmdline option (bcl@redhat.com) +- docs: Update docs for image-minimizer (bcl@redhat.com) +- tests: Add tests for image-minimizer (bcl@redhat.com) +- image-minimizer: Check for missing root directory (bcl@redhat.com) +- image-minimizer: Fix utf8 error and add docs (bcl@redhat.com) + +* Tue Dec 14 2021 Brian C. Lane 36.4-1 +- cleanup: remove binaries from lilv (awilliam@redhat.com) +- runtime-cleanup: remove pipewire-related packages (awilliam@redhat.com) +- New lorax documentation - 36.3 (bcl@redhat.com) + +* Thu Dec 09 2021 Brian C. Lane 36.3-1 +- mkksiso: Check the length of the filenames (bcl@redhat.com) +- mkksiso: Check the iso's arch against the host's (bcl@redhat.com) +- mkksiso: Add missing implantisomd5 tool requirements (bcl@redhat.com) +- mkksiso: Raise error if no volume id is found (bcl@redhat.com) +- mount: Add s390x support to IsoMountopoint (bcl@redhat.com) +- mkksiso: Skip mkefiboot for non-UEFI isos (bcl@redhat.com) +- mkksiso: Add -joliet-long (bcl@redhat.com) +- mkksiso: Return 1 on errors (bcl@redhat.com) +- Fix monitor problem with split UTF8 characters (bcl@redhat.com) + +* Wed Nov 10 2021 Brian C. Lane 36.2-1 +- Remove memtest86+ from example kickstarts (bcl@redhat.com) +- fedora-livemedia: Update example kickstart (bcl@redhat.com) +- mount: Switch to using pycdio instead of pycdlib (bcl@redhat.com) +- Move default releasever into pylorax DEFAULT_RELEASEVER (bcl@redhat.com) +- runtime-postinstall: Drop raidstart/stop stub code (bcl@redhat.com) +- runtime-install: Fix grub2 epoch, it is 1 not 0 (bcl@redhat.com) +- Update runtime-install/cleanup for Marvell Prestera fw split (awilliam@redhat.com) + +* Thu Oct 28 2021 Brian C. Lane 36.1-1 +- dnfbase: Handle defaults better (bcl@redhat.com) +- ltmpl: Add version compare support to installpkg (bcl@redhat.com) + +* Mon Oct 11 2021 Brian C. Lane 36.0-1 +- New lorax documentation - 36.0 (bcl@redhat.com) +- docs: Remove logging command from examples (bcl@redhat.com) +- runtime-install: exclude liquidio and netronome firmwares (awilliam@redhat.com) +- runtime-cleanup: drop Marvell Prestera firmware files (awilliam@redhat.com) +- runtime-cleanup: drop some Qualcomm smartphone firmwares (awilliam@redhat.com) +- Fix pylint warnings about string formatting (bcl@redhat.com) +- tests: Ignore new pylint warnings (bcl@redhat.com) +- Add fstrim to disk and filesystem image creation (bcl@redhat.com) + +* Tue Sep 07 2021 Brian C. Lane 35.7-1 +- templates: Remove memtest86+ (bcl@redhat.com) + +* Thu Jul 08 2021 Brian C. Lane 35.6-1 +- Install unicode.pf2 from new directory (bcl@redhat.com) +- Makefile: Use sudo to fix ownership of docs (bcl@redhat.com) +- Makefile: Make sure container is built before docs (bcl@redhat.com) +- Makefile: Add local-srpm target to create a .src.rpm from HEAD (bcl@redhat.com) +- mkksiso: cmdline should default to empty string (bcl@redhat.com) +- runtime-install: Remove gfs2-utils (bcl@redhat.com) +- mount.py: Fix docstring (jkucera@redhat.com) + +* Fri Jun 11 2021 Brian C. Lane 35.5-1 +- pylorax: Fix mksparse ftruncate size handling (bcl@redhat.com) + +* Thu Jun 10 2021 Brian C. Lane 35.4-1 +- livemedia-creator: Check for mkfs.hfsplus (bcl@redhat.com) +- Drop retired icfg (zbyszek@in.waw.pl) + +* Tue May 25 2021 Brian C. Lane 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 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 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 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 +- 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) diff --git a/plans/build-iso.fmf b/plans/build-iso.fmf new file mode 100644 index 0000000..e3c3d28 --- /dev/null +++ b/plans/build-iso.fmf @@ -0,0 +1,3 @@ +summary: Run Lorax tests (build an iso, run mkksiso on it) +execute: + script: ./tests/scripts/run_tests.sh diff --git a/sources b/sources index 6886bc2..0b5f402 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lorax-29.12.tar.gz) = f81e9556400cb1348b969d7407c51694649efddf9376f59906fd3310d24def8be7a41eb72b7b9198b7739547e8bd2556f5bd53a8dd9c70d7e2da3ba3904213f4 +SHA512 (lorax-44.4.tar.gz) = e2be9a13a0aec657bfe9a32dbd51e9024dfcb89471dbc57b8206dccdcd71cf5561fb25f97a7fdaca2b0279a2966b142ddf4e4544577ac2b47171f19648742577 diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100755 index 0000000..f4849b2 --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,274 @@ +#!/bin/bash +set -eux + +FAILANY=0 +BOOTISO=/var/tmp/lorax-fedora-iso/images/boot.iso +KSNAME=fedora-minimal.ks +KS="/usr/share/doc/lorax/$KSNAME" +OUTISO=/var/tmp/out.iso +ISODIR=/var/tmp/iso +## Functions for testing mkkiso + + +function fail { + echo -e "\n\n#### ERROR: $1\n" + FAIL=1 + FAILANY=1 +} + +function status { + if [ "$FAIL" -eq 0 ]; then + echo -e "\n\n#### PASS: $1\n" + else + echo -e "\n\n#### FAIL: $1\n" + fi +} + +function running { + FAIL=0 + echo -e "\n\n#### RUN: $1\n" +} + +# unmount the dirs lazily because sometimes some outside thing is still touching them +function umount_dirs { + umount --lazy "$ISODIR" + rm -f "$OUTISO" +} + +[ -e "$ISODIR" ] || mkdir "$ISODIR" + +# Only add kickstart +function ks_only { + running "Add kickstart to iso using --ks" + + mkksiso --ks $KS $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_ks + + status "Add kickstart to iso using --ks" + umount_dirs +} + +# Only add kickstart +function ks_pos_only { + running "Add kickstart to iso using positional argument" + + mkksiso $KS $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_ks + + status "Add kickstart to iso using positional argument" + umount_dirs +} + +function test_ks { + ## This all needs to be another function + # Is there a kickstart in / of the iso? + [ -e "$ISODIR/$KSNAME" ] || fail "Missing kickstart" + + # Is the kickstart in the GRUB2 BIOS config? + grep "inst.ks=.*$KSNAME" "$ISODIR/boot/grub2/grub.cfg" || fail "Missing BIOS grub.cfg kickstart entry" + + # Is the kickstart in the UEFI config? + grep "inst.ks=.*$KSNAME" "$ISODIR/EFI/BOOT/grub.cfg" || fail "Missing UEFI grub.cfg kickstart entry" +} + +# Add ks and cmdline +function ks_serial { + running "Add kickstart and serial cmdline" + + mkksiso -c "console=ttyS0,115200n8" --ks $KS $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_ks + test_serial + + status "Add kickstart and serial cmdline" + umount_dirs +} + +# Only add serial console to cmdline +function only_serial { + running "Add serial cmdline (no ks)" + + mkksiso -c "console=ttyS0,115200n8" $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_serial + + status "Add kickstart and serial cmdline" + umount_dirs +} + +function test_serial { + + # Is the serial in the BIOS config? + grep "console=ttyS0,115200n8" "$ISODIR/boot/grub2/grub.cfg" || fail "Missing BIOS grub.cfg cmdline entry" + + # Is the serial in the UEFI config? + grep "console=ttyS0,115200n8" "$ISODIR/EFI/BOOT/grub.cfg" || fail "Missing UEFI grub.cfg cmdline entry" +} + +# New VOLID +function new_volid { + running "Use a new VOLID" + + mkksiso -V "mkksiso-test" --ks $KS $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_ks + test_volid + + status "Use a new VOLID" + umount_dirs +} + +function test_volid { + # Is the VOLID in the BIOS config? + grep "hd:LABEL=mkksiso-test" "$ISODIR/boot/grub2/grub.cfg" || fail "Missing BIOS grub.cfg kickstart entry" + + # Is the VOLID in the UEFI config? + grep "hd:LABEL=mkksiso-test" "$ISODIR/EFI/BOOT/grub.cfg" || fail "Missing UEFI grub.cfg kickstart entry" +} + +# Add extra files +function add_files { + running "Add files" + + mkksiso -a /etc/services --ks $KS $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_ks + test_files + + status "Add files" + umount_dirs +} + +# Remove quiet from the cmdline +function remove_quiet { + running "remove quiet from cmdline (no ks)" + + mkksiso --rm "quiet" $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_quiet + + status "Remove quiet from cmdline" + umount_dirs +} + +function test_quiet { + # Is quiet in the BIOS config? + ! grep "append.*quiet" "$ISODIR/boot/grub2/grub.cfg" || fail "quiet not removed from BIOS grub.cfg cmdline entry" + + # Is quiet in the UEFI config? + ! grep "linux.*quiet" "$ISODIR/EFI/BOOT/grub.cfg" || fail "quiet not removed from UEFI grub.cfg cmdline entry" +} + +# Test error if passing both --ks FILE and 3 arguments +function test_two_kickstarts { + running "Test two kickstart error" + + mkksiso --ks $KS $KS $BOOTISO $OUTISO && fail "No error using --ks and positional argument" + + status "Test two kickstart error" +} + +function test_files { + [ -e "$ISODIR/services" ] || fail "Missing file from iso" +} + +# Test adding an updates.img file +function add_updatesimg { + running "Add updates.img" + + # nothing in the file, just test that it is there + touch /tmp/updates.img + mkksiso -u /tmp/updates.img $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_updatesimg + + status "Add updates.img" + umount_dirs +} + +function test_updatesimg { + [ -e "$ISODIR/updates.img" ] || fail "Missing updates.img file from iso" + grep "inst.updates=.*updates.img" "$ISODIR/boot/grub2/grub.cfg" || fail "Missing BIOS grub.cfg inst.updates entry" + grep "inst.updates=.*updates.img" "$ISODIR/EFI/BOOT/grub.cfg" || fail "Missing UEFI grub.cfg inst.updates entry" +} + +# All of the changes +function run_all { + running "Use all the options" + + touch /tmp/updates.img + mkksiso -u /tmp/updates.img -a /etc/services -V "mkksiso-test" -c "console=ttyS0,115200n8" --rm "quiet" --ks $KS $BOOTISO $OUTISO || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_ks + test_serial + test_volid + test_files + test_updatesimg + test_quiet + + status "Use all the options" + umount_dirs +} + +# All of the changes as a user (lorax-ted) with --skip-mkefiboot +function run_as_user { + running "Use all the options as a user" + + [ ! -e "/home/lorax-ted" ] && useradd -m lorax-ted + touch /tmp/updates.img + su - lorax-ted -c "mkksiso --skip-mkefiboot -u /tmp/updates.img -a /etc/services -V "mkksiso-test" -c "console=ttyS0,115200n8" --rm "quiet" --ks $KS $BOOTISO $OUTISO" || exit 1 + mount $OUTISO $ISODIR || exit 1 + + test_ks + test_serial + test_volid + test_files + test_updatesimg + test_quiet + + status "Use all the options as a user with --skip-mkefiboot" + umount_dirs +} + + + +# Gather up the list of system repo files and use them for lorax +REPOS=$(for f in /etc/yum.repos.d/*repo; do echo -n "--repo $f "; done) +if [ -z "$REPOS" ]; then + echo "No system repos found" + exit 1 +fi + +# NOTE: We must use --nomacboot because the test system doesn't have the hfsplus fs available +# Run lorax using the host's repository configuration file +if [ ! -e "$BOOTISO" ]; then + running "Build boot.iso with lorax" + lorax --product="Fedora" --version=rawhide --release=rawhide --volid="Fedora-rawhide-test" \ + $REPOS --isfinal --nomacboot /var/tmp/lorax-fedora-iso/ || exit 1 +fi + +# Test mkksiso on the new boot.iso +ks_only +ks_pos_only +ks_serial +only_serial +new_volid +add_files +remove_quiet +test_two_kickstarts +add_updatesimg +run_all +run_as_user + +exit $FAILANY