Compare commits

...
Sign in to create a new pull request.

107 commits

Author SHA1 Message Date
Brian C. Lane
6866a83666 - Exclude build on the i686 architecture (berrange@redhat.com)
- runtime-cleanup: mesa no longer includes gallium-pipe drivers (yselkowi@redhat.com)
2025-12-01 13:28:31 -08:00
Brian C. Lane
8a68c3e72f - Do not remove SELinux from the runtime (ppolawsk@redhat.com) 2025-10-15 09:50:47 -07:00
Brian C. Lane
c9a8107ab8 - Add mac80211_hwsim for wifi testing to installer image (rvykydal@redhat.com)
- runtime-install: drop tigervnc (awilliam@redhat.com)
2025-10-09 14:26:18 -07:00
Brian C. Lane
c16c80094d - 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)
2025-09-24 11:12:06 -07:00
Python Maint
4c389ef5bc Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:29:12 +02:00
Brian C. Lane
182bf6f637 - 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)
2025-09-08 10:58:59 -07:00
Adam Williamson
a86cd0ba5f Update PR #1489 patch again (fix lmc lives) 2025-08-26 16:58:06 -07:00
Adam Williamson
80c6536434 Update PR #1489 patch to a better-working version 2025-08-26 11:24:32 -07:00
Adam Williamson
f3396b8406 Backport PR #1489 to drop install of shim-ia32 2025-08-26 09:28:50 -07:00
Python Maint
a39c12a885 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:58:31 +02:00
Brian C. Lane
e29e59a3c0 - 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)
2025-08-14 11:39:21 -07:00
Fedora Release Engineering
90b2a4f327 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 20:51:55 +00:00
Brian C. Lane
bb10ea5e92 - Makefile: Separate install and all targets (bcl@redhat.com) 2025-07-22 16:06:06 -07:00
Brian C. Lane
e8f98cb9be - 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)
2025-07-15 14:08:47 -07:00
Brian C. Lane
3bc541029b - runtime-cleanup: don't strip avahi-libs (awilliam@redhat.com)
- treebuilder: use fedora-eln-logos for ELN (yselkowi@redhat.com)
2025-07-11 09:26:31 -07:00
Brian C. Lane
413e22a967 - 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)
2025-07-09 11:24:27 -07:00
Brian C. Lane
1180a83399 - templates.d: Remove libdir variable from templates (bcl@redhat.com)
- runtime-cleanup: Move rpm database cleanup to the end (bcl@redhat.com)
2025-06-16 11:39:48 -07:00
Python Maint
c6d1e103bb Rebuilt for Python 3.14 2025-06-02 19:57:37 +02:00
Brian C. Lane
0a66eb9692 - 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
2025-05-06 09:23:36 -07:00
Brian C. Lane
0615da549b - 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)
2025-03-31 14:15:07 -07:00
Brian C. Lane
3107d46135 - spec: update lorax-lmc-virt dependencies (yselkowi@redhat.com)
- livemedia-creator: Set 0755 permission on / cpio overlay (bcl@redhat.com)
2025-03-25 12:52:17 -07:00
Brian C. Lane
d4f1babc54 - runtime-postinstall: Remove systemd-gpt-auto-generator (bcl@redhat.com) 2025-03-10 16:02:39 -07:00
Brian C. Lane
1987c526ab - maint: Switch default platform to F43 (bcl@redhat.com)
- runtime-cleanup: Leave stat binary (bcl@redhat.com)
2025-03-06 08:58:19 -08:00
Brian C. Lane
45d3069dba - 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)
2025-02-03 09:31:50 -08:00
Fedora Release Engineering
f3391a5c29 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 16:00:15 +00:00
Brian C. Lane
e7d54609fb - runtime-cleanup: Newer glibc installs into /usr/lib64 (bcl@redhat.com)
- erofs: Change the erofs compression default to zstd (bcl@redhat.com)
2024-11-22 10:58:12 -08:00
Brian C. Lane
627361a13a - Update template for anaconda webui to start as user (adamkankovsky@gmail.com)
- tests: Fix mkksiso unit test (bcl@redhat.com)
2024-10-21 10:45:13 -07:00
Brian C. Lane
4e760a153d - 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)
2024-10-08 11:10:08 -07:00
Brian C. Lane
032c0d9324 tests: Update the updates.img test for changes in lorax-42.2
The updates.img is now places in the / of the iso and inst.updates is
now used on the cmdline.
2024-10-08 11:02:21 -07:00
Brian C. Lane
a80bdcb40d - templates: Drop dnf install (bcl@redhat.com) 2024-09-30 11:11:41 -07:00
Brian C. Lane
5d0cac6a9d - 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)
2024-09-09 09:15:22 -07:00
Fedora Release Engineering
6d0236960f Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 15:59:51 +00:00
Brian C. Lane
25cf6c92e2 - Accept but ignore the old --squashfs-only argument (awilliam@redhat.com) 2024-07-16 16:39:11 -07:00
Brian C. Lane
d597f37b48 - 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)
2024-07-15 14:59:51 -07:00
Brian C. Lane
2403d67888 - 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)
2024-06-13 08:09:41 -07:00
Python Maint
245c76bc34 Rebuilt for Python 3.13 2024-06-07 08:32:43 +02:00
Brian C. Lane
33f6cab8ce - maint: Switch default platform to F41 (bcl@redhat.com)
- Add prefixdevname support to the boot.iso (rvykydal@redhat.com)
2024-03-15 12:56:31 -07:00
Brian C. Lane
0fa02ec972 - 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)
2024-02-19 11:36:11 -08:00
Adam Williamson
8e01fdddc7 Backport PR #1379 to fix builds when a repo uses %releasever 2024-02-14 00:05:20 -08:00
Brian C. Lane
92d4810327 - 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)
2024-02-06 17:39:26 -08:00
Brian C. Lane
f383438923 - Remove patches included in this release
- Add testing of the new mkksiso --updates command to run_tests.sh
- 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)
2024-02-01 17:57:45 -08:00
Adam Williamson
cae9bc7940 Backport PR #1371 to handle pcmciautils being retired 2024-01-29 10:08:54 -08:00
Adam Williamson
15237f8b2f Backport PR #1370 to handle wget being replaced by wget2-wget 2024-01-26 11:47:29 -08:00
Fedora Release Engineering
e7bb19d0c6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 04:44:44 +00:00
Fedora Release Engineering
c16e84674f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 06:13:00 +00:00
Brian C. Lane
8315b760b8 - runtime-install: Work around problem with conflicting packages (bcl@redhat.com)
- ltmpl: Check for errors after running the transaction (bcl@redhat.com)
2023-12-20 07:50:55 -08:00
Brian C. Lane
000be11ded - ltmpl: Remove duplicate package objects from dnf5 results (bcl@redhat.com)
- test-in-podman: Fix problem running in github actions (bcl@redhat.com)
2023-12-12 10:58:47 -08:00
Brian C. Lane
4644d11f69 - 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)
2023-12-11 08:34:40 -08:00
Brian C. Lane
33a2023416 - 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)
2023-10-02 12:15:28 -07:00
Brian C. Lane
d8facf9fcb - Drop patches included in new upstream tar
- 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)
2023-09-07 15:23:18 -07:00
Adam Williamson
c2cce0630e Backport PR #1344 to pull in required filesystem packages 2023-09-07 12:18:57 -07:00
Adam Williamson
f767483b9e Backport PR #1338 to cut qcom firmwares and save space 2023-08-28 16:47:14 -07:00
Brian C. Lane
a90f84e972 - Exclude more obsoleted libertas firmware packages (awilliam@redhat.com)
- Revert "test_minimizer: dnf5 wants --use-host-config" (bcl@redhat.com)
2023-08-09 10:52:48 -07:00
Brian C. Lane
a8825f7a07 - runtime-install: excluded renamed olpc firmware package (awilliam@redhat.com)
- drop unneeded patch for rsvg-pixbuf-loader
  librsvg2 now Requires it
2023-08-07 11:34:02 -07:00
Adam Williamson
fd747053b9 Rebuild with no changes on a side tag to resolve test problems 2023-07-22 12:52:12 -07:00
Adam Williamson
ce70ae7edb Backport PR #1334 to fix installer with latest librsvg2 2023-07-22 10:06:12 -07:00
Fedora Release Engineering
3d87c95d48 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 13:03:30 +00:00
Brian C. Lane
f6fc8022a3 plans: prepare is reported to be unneeded and causing issues 2023-07-14 15:18:06 -07:00
Brian C. Lane
86e0a84b54 - drop included patches
- 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)
2023-07-14 11:25:16 -07:00
Adam Williamson
ff16001b69 Rebuilt for Python 3.12 again 2023-07-04 12:46:19 -07:00
Adam Williamson
516d709e14 Backport PR #1332 to handle renamed iwl firmware packages 2023-07-04 12:31:16 -07:00
Brian C. Lane
a05a5b0c89 Drop merged patch files 2023-06-30 10:34:27 -07:00
Python Maint
6d58144ab9 Rebuilt for Python 3.12 2023-06-13 20:22:25 +02:00
Brian C. Lane
13a5a44a48 - 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)
2023-05-31 13:51:40 -07:00
Brian C. Lane
00039d31af - 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)
2023-03-14 11:07:56 -07:00
Adam Williamson
e0d8f46b08 Backport PR #1312 to put gtk4 binaries and libtiff back in (#2170716) 2023-02-17 18:16:58 -08:00
Adam Williamson
c00cc2a98b Backport #1310 to disable persistence again, it's busted (#2170544) 2023-02-16 10:30:09 -08:00
Adam Williamson
c61ef2b61e Apply the patch (using autosetup) 2023-02-15 21:28:38 -08:00
Adam Williamson
78425032ee Backport PR #1309 to strip stuff from gtk4, fix Rawhide compose 2023-02-15 21:27:49 -08:00
Brian C. Lane
6c25ce1056 - templates.d/99-generic/live: Enable automatic persistence for live media (ngompa@fedoraproject.org)
- Update for Noto CJK Variable Fonts (pwu@redhat.com)
2023-02-14 10:18:59 -08:00
Brian C. Lane
9e52dbb4bd - 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)
2023-02-08 14:28:16 -08:00
Fedora Release Engineering
b7f7542552 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 18:18:21 +00:00
Brian C. Lane
26136aa210 - Run user test with --skip-mkefiboot 2022-12-13 10:26:01 -08:00
Brian C. Lane
1d493d6f01 - 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)
2022-12-12 14:23:28 -08:00
Brian C. Lane
0e886e07cc - Use unicode.pf2 from /usr/share/grub/ (bcl@redhat.com)
- On ppc64le Use core.elf from grub2 package (bcl@redhat.com)
2022-11-28 14:42:19 -08:00
Brian C. Lane
5982dc4e71 - 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)
2022-11-09 15:44:53 -08:00
Brian C. Lane
78348e8ac3 - 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)
2022-10-11 09:54:46 -07:00
Brian C. Lane
aa53f6d1f3 - 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)
2022-09-30 09:44:18 -07:00
Brian C. Lane
32547351b3 - 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)
2022-07-25 10:39:44 -07:00
Brian C. Lane
76539177e1 tests: Add test for positional kickstart usage 2022-07-25 10:39:21 -07:00
Fedora Release Engineering
131e3892a1 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 19:53:14 +00:00
Brian C. Lane
4689fced5d - 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)
2022-07-13 15:24:51 -07:00
Brian C. Lane
6f034f08b7 tests: Add a test to run mkksiso as a user
Make sure that running mkksiso as a user works with the boot.iso. Note
that this won't catch problems with other isos with different
permissions, like the dvd.
2022-07-13 15:23:16 -07:00
Brian C. Lane
45a8c06660 - 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)
2022-06-28 16:53:21 -07:00
Brian C. Lane
0dc57a017e tests: Update for new mkksiso changes
Requires using --ks to pass the kickstart. Adds tests for only adding
cmdline parameters, and for removing existing ones.
2022-06-28 15:28:27 -07:00
Python Maint
bb692f7cae Rebuilt for Python 3.11 2022-06-13 14:51:14 +02:00
Brian C. Lane
a1d5d0afdd - 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)
2022-06-03 12:51:20 -07:00
Brian C. Lane
0d56ec6bff - mkksiso: Fix grub2 editing error (bcl@redhat.com) 2022-06-01 16:26:21 -07:00
Brian C. Lane
dcb51c3647 tests: Update tests for grub2 bios boot
(cherry picked from commit ee85df30b44c98837e9f0ae2b5d4ee1e1c86f4a9)
2022-06-01 16:23:02 -07:00
Brian C. Lane
fef70dbfd2 - 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)
2022-06-01 11:48:11 -07:00
Brian C. Lane
7d701ad653 - 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)
2022-05-23 11:24:31 -07:00
Brian C. Lane
1869e05bd2 - 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)
2022-05-11 12:11:59 -07:00
Brian C. Lane
52072bb3c5 tests: Update run_tests.sh for new mkksiso 2022-05-11 12:08:00 -07:00
Brian C. Lane
683ca95f17 - New lorax documentation - 37.0 (bcl@redhat.com)
- runtime-cleanup: keep 'unshare' binary present from util-linux-core (kkoukiou@redhat.com)
2022-03-28 11:57:10 -07:00
Brian C. Lane
1bb7d2d70c - Don't move the restart-anaconda file (vponcova@redhat.com) 2022-02-28 14:36:44 -08:00
Brian C. Lane
0348f377e2 - runtime-cleanup: Remove ncurses package (bcl@redhat.com) 2022-02-16 12:01:51 -08:00
Brian C. Lane
dd1cf78be5 - 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)
2022-02-14 14:58:41 -08:00
Brian C. Lane
485bb63b9b - mkksiso: Fix check for unsupported arch error (bcl@redhat.com) 2022-02-04 08:44:41 -08:00
Brian C. Lane
64b74a5343 - switch to tmt testing instead of STI
- drop unused patch incorporated upstream last year
- 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)
2022-02-03 16:11:20 -08:00
Brian C. Lane
5bf63051fc Switch to using tmt testing instead of STI 2022-02-03 15:25:27 -08:00
Fedora Release Engineering
c4f3b640ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 18:05:52 +00:00
Brian C. Lane
02601e51fa - 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)
2021-12-14 13:39:56 -08:00
Brian C. Lane
e09af46026 - 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)
2021-12-09 09:59:21 -08:00
Brian C. Lane
32ec53c728 gating: Use lazy unmount 2021-11-11 10:18:50 -08:00
Brian C. Lane
a3bb519e91 - 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)
2021-11-10 15:46:29 -08:00
Brian C. Lane
fe817d06d8 - dnfbase: Handle defaults better (bcl@redhat.com)
- ltmpl: Add version compare support to installpkg (bcl@redhat.com)
2021-10-28 14:34:27 -07:00
Brian C. Lane
9eed18b567 - 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)
2021-10-11 15:49:01 -07:00
12 changed files with 698 additions and 279 deletions

65
.gitignore vendored
View file

@ -203,3 +203,68 @@
/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

View file

@ -1,29 +0,0 @@
From a70fcd5ea015580f83e9470fa65d7e5a657243f4 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Wed, 6 Oct 2021 14:19:47 -0700
Subject: [PATCH 1/3] runtime-cleanup: drop some Qualcomm smartphone firmwares
These firmwares are for Qualcomm smartphone chipsets (SM845 and
SM8250). Don't think they're any use in network install images.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
share/templates.d/99-generic/runtime-cleanup.tmpl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl
index 37c45338..5960c82b 100644
--- a/share/templates.d/99-generic/runtime-cleanup.tmpl
+++ b/share/templates.d/99-generic/runtime-cleanup.tmpl
@@ -231,6 +231,8 @@ removefrom linux-firmware /usr/lib/firmware/intel/IntcSST2.bin
removefrom linux-firmware /usr/lib/firmware/intel/fw_sst*
removefrom linux-firmware /usr/lib/firmware/intel/dsp*
removefrom linux-firmware /usr/lib/firmware/as102*
+removefrom linux-firmware /usr/lib/firmware/qcom/sdm845/*
+removefrom linux-firmware /usr/lib/firmware/qcom/sm8250/*
removefrom linux-firmware /usr/lib/firmware/qcom/venus*/*
removefrom linux-firmware /usr/lib/firmware/meson/vdec/*
removefrom linux-firmware /usr/lib/firmware/mellanox/mlxsw_spectrum*
--
2.32.0

View file

@ -1,28 +0,0 @@
From 8f4a66bf53acc4beae9530361de96fdbb81b44f9 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Wed, 6 Oct 2021 14:21:34 -0700
Subject: [PATCH 2/3] runtime-cleanup: drop Marvell Prestera firmware files
These add up to 26MB and they are for high-end switches, unlikely
targets for network installs.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
share/templates.d/99-generic/runtime-cleanup.tmpl | 1 +
1 file changed, 1 insertion(+)
diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl
index 5960c82b..827465f0 100644
--- a/share/templates.d/99-generic/runtime-cleanup.tmpl
+++ b/share/templates.d/99-generic/runtime-cleanup.tmpl
@@ -236,6 +236,7 @@ removefrom linux-firmware /usr/lib/firmware/qcom/sm8250/*
removefrom linux-firmware /usr/lib/firmware/qcom/venus*/*
removefrom linux-firmware /usr/lib/firmware/meson/vdec/*
removefrom linux-firmware /usr/lib/firmware/mellanox/mlxsw_spectrum*
+removefrom linux-firmware /usr/lib/firmware/mrvl/prestera/*
%if basearch != "aarch64":
removefrom linux-firmware /usr/lib/firmware/dpaa2/*
%endif
--
2.32.0

View file

@ -1,41 +0,0 @@
From 8514ce1ceb9b31cc5b0ab7d00951b70e9c237609 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Wed, 6 Oct 2021 14:43:21 -0700
Subject: [PATCH 3/3] runtime-install: exclude liquidio and netronome firmwares
As Peter Robinson explains here:
https://bugzilla.redhat.com/show_bug.cgi?id=2011615#c3
these are not useful, as the devices they're for do not support
netinst-style deployment.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
share/templates.d/99-generic/runtime-install.tmpl | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/share/templates.d/99-generic/runtime-install.tmpl b/share/templates.d/99-generic/runtime-install.tmpl
index 4aabe292..fddac051 100644
--- a/share/templates.d/99-generic/runtime-install.tmpl
+++ b/share/templates.d/99-generic/runtime-install.tmpl
@@ -17,12 +17,16 @@ installpkg grubby
%if basearch != "s390x":
## skip the firmware for sound, video, and scanners, none of which will
## do much good for the installer. Also skip uhd-firmware which is not
- ## even a kernel firmware package.
+ ## even a kernel firmware package. liquidio and netronome firmwares are
+ ## for enterprise switch devices, netinst deployment does not work on
+ ## these so there is no point shipping them - see
+ ## https://bugzilla.redhat.com/show_bug.cgi?id=2011615
installpkg --optional *-firmware --except alsa* --except midisport-firmware \
--except crystalhd-firmware --except ivtv-firmware \
--except cx18-firmware --except iscan-firmware \
--except uhd-firmware --except lulzbot-marlin-firmware \
- --except gnome-firmware --except sigrok-firmware
+ --except gnome-firmware --except sigrok-firmware \
+ --except liquidio-firmware --except netronome-firmware
installpkg b43-openfwwf
%endif
--
2.32.0

View file

@ -1,25 +0,0 @@
From 568462d98313ef6796304d760a620e535f110d77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Wed, 9 Jun 2021 09:17:59 +0200
Subject: [PATCH] Drop retired icfg
Rawhide compose failed because icfg was retired yesterday:
https://src.fedoraproject.org/rpms/icfg/c/64ef393a109dd468b1b6950bfef70b2c45b5b903?branch=rawhide
https://pagure.io/releng/failed-composes/issue/2557
---
share/templates.d/99-generic/runtime-install.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/templates.d/99-generic/runtime-install.tmpl b/share/templates.d/99-generic/runtime-install.tmpl
index 83ec12835..1aaac0907 100644
--- a/share/templates.d/99-generic/runtime-install.tmpl
+++ b/share/templates.d/99-generic/runtime-install.tmpl
@@ -173,7 +173,7 @@ installpkg python3-pyatspi
installpkg nano nano-default-editor
installpkg vim-minimal strace lsof dump xz less
installpkg wget rsync bind-utils ftp mtr vconfig
-installpkg icfg spice-vdagent
+installpkg spice-vdagent
installpkg gdisk hexedit sg3_utils
## actually install all the requested packages

View file

@ -1,32 +1,32 @@
# 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: 35.7
Release: 2%{?dist}
Version: 44.4
Release: 1%{?dist}
Summary: Tool for creating the anaconda install images
License: GPL-2.0-or-later
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
# Trim some unneeded firmware files to reduce size of netinsts
# https://bugzilla.redhat.com/show_bug.cgi?id=2009730
# https://bugzilla.redhat.com/show_bug.cgi?id=2009731
# https://github.com/weldr/lorax/pull/1175
Patch0: 0001-runtime-cleanup-drop-some-Qualcomm-smartphone-firmwa.patch
Patch1: 0002-runtime-cleanup-drop-Marvell-Prestera-firmware-files.patch
Patch2: 0003-runtime-install-exclude-liquidio-and-netronome-firmw.patch
# 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: cpio
Requires: device-mapper
@ -43,6 +43,7 @@ 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
@ -56,9 +57,9 @@ Requires: psmisc
Requires: libselinux-python3
Requires: python3-mako
Requires: python3-kickstart >= 3.19
Requires: python3-dnf >= 3.2.0
Requires: python3-libdnf5
Requires: python3-librepo
Requires: python3-pycdlib
Requires: python3-pycdio
%if 0%{?fedora}
# Fedora specific deps
@ -67,12 +68,7 @@ Requires: hfsplus-tools
%endif
%endif
%ifarch %{ix86} x86_64
Requires: syslinux >= 6.03-1
Requires: syslinux-nonlinux >= 6.03-1
%endif
%ifarch ppc64le
%ifarch x86_64 ppc64le
Requires: grub2
Requires: grub2-tools
%endif
@ -82,10 +78,6 @@ Requires: openssh
Requires: s390utils >= 2.15.0-2
%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
@ -104,19 +96,29 @@ 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
@ -141,7 +143,7 @@ Lorax templates for creating the boot.iso and live isos are placed in
/usr/share/lorax/templates.d/99-generic
%prep
%autosetup -p1 -n %{name}-%{version}
%forgeautosetup
%build
@ -156,11 +158,11 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
%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
%{_sbindir}/mkksiso
%{python3_sitelib}/pylorax-%{version}.dist-info
%{_bindir}/lorax
%{_bindir}/mkefiboot
%{_bindir}/livemedia-creator
%{_bindir}/mkksiso
%{_bindir}/image-minimizer
%dir %{_sysconfdir}/lorax
%config(noreplace) %{_sysconfdir}/lorax/lorax.conf
@ -168,12 +170,15 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
%{_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
@ -182,8 +187,455 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
%{_datadir}/lorax/templates.d/*
%changelog
* Fri Oct 08 2021 Adam Williamson <awilliam@redhat.com> - 35.7-2
- Backport PR #1175 to reduce size of netinsts (#2009730, #2009731)
* Mon Dec 01 2025 Brian C. Lane <bcl@redhat.com> 44.4-1
- Exclude build on the i686 architecture (berrange@redhat.com)
- runtime-cleanup: mesa no longer includes gallium-pipe drivers (yselkowi@redhat.com)
* Wed Nov 26 2025 Daniel P. Berrangé <berrange@redhat.com> - 44.3-2
- Add ExcludeArch for i686 to remove qemu dependency
* Wed Oct 15 2025 Brian C. Lane <bcl@redhat.com> 44.3-1
- Do not remove SELinux from the runtime (ppolawsk@redhat.com)
* Thu Oct 09 2025 Brian C. Lane <bcl@redhat.com> 44.2-1
- Add mac80211_hwsim for wifi testing to installer image (rvykydal@redhat.com)
- runtime-install: drop tigervnc (awilliam@redhat.com)
* Wed Sep 24 2025 Brian C. Lane <bcl@redhat.com> 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)
* Mon Sep 08 2025 Brian C. Lane <bcl@redhat.com> 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)
* Thu Aug 14 2025 Brian C. Lane <bcl@redhat.com> 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)
* Tue Jul 22 2025 Brian C. Lane <bcl@redhat.com> 43.9-1
- Makefile: Separate install and all targets (bcl@redhat.com)
* Tue Jul 15 2025 Brian C. Lane <bcl@redhat.com> 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)
* Fri Jul 11 2025 Brian C. Lane <bcl@redhat.com> 43.7-1
- runtime-cleanup: don't strip avahi-libs (awilliam@redhat.com)
- treebuilder: use fedora-eln-logos for ELN (yselkowi@redhat.com)
* Wed Jul 02 2025 Brian C. Lane <bcl@redhat.com> 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 Jun 16 2025 Brian C. Lane <bcl@redhat.com> 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)
* Tue May 06 2025 Brian C. Lane <bcl@redhat.com> 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 Mar 31 2025 Brian C. Lane <bcl@redhat.com> 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)
* Tue Mar 25 2025 Brian C. Lane <bcl@redhat.com> 43.2-1
- spec: update lorax-lmc-virt dependencies (yselkowi@redhat.com)
- livemedia-creator: Set 0755 permission on / cpio overlay (bcl@redhat.com)
* Mon Mar 10 2025 Brian C. Lane <bcl@redhat.com> 43.1-1
- runtime-postinstall: Remove systemd-gpt-auto-generator (bcl@redhat.com)
* Thu Mar 06 2025 Brian C. Lane <bcl@redhat.com> 43.0-1
- maint: Switch default platform to F43 (bcl@redhat.com)
- runtime-cleanup: Leave stat binary (bcl@redhat.com)
* Mon Feb 03 2025 Brian C. Lane <bcl@redhat.com> 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)
* Fri Nov 22 2024 Brian C. Lane <bcl@redhat.com> 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)
* Mon Oct 21 2024 Brian C. Lane <bcl@redhat.com> 42.3-1
- Update template for anaconda webui to start as user (adamkankovsky@gmail.com)
- tests: Fix mkksiso unit test (bcl@redhat.com)
* Tue Oct 08 2024 Brian C. Lane <bcl@redhat.com> 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)
* Mon Sep 30 2024 Brian C. Lane <bcl@redhat.com> 42.1-1
- templates: Drop dnf install (bcl@redhat.com)
* Mon Sep 09 2024 Brian C. Lane <bcl@redhat.com> 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)
* Tue Jul 16 2024 Brian C. Lane <bcl@redhat.com> 41.3-1
- Accept but ignore the old --squashfs-only argument (awilliam@redhat.com)
* Mon Jul 15 2024 Brian C. Lane <bcl@redhat.com> 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)
* Wed Jun 12 2024 Brian C. Lane <bcl@redhat.com> 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)
* Fri Mar 15 2024 Brian C. Lane <bcl@redhat.com>
- maint: Switch default platform to F41 (bcl@redhat.com)
- Add prefixdevname support to the boot.iso (rvykydal@redhat.com)
* Mon Feb 19 2024 Brian C. Lane <bcl@redhat.com>
- 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)
* Tue Feb 06 2024 Brian C. Lane <bcl@redhat.com> 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)
* Thu Feb 01 2024 Brian C. Lane <bcl@redhat.com> 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)
* Wed Dec 20 2023 Brian C. Lane <bcl@redhat.com> 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)
* Tue Dec 12 2023 Brian C. Lane <bcl@redhat.com> 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)
* Mon Dec 11 2023 Brian C. Lane <bcl@redhat.com> 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)
* Mon Oct 02 2023 Brian C. Lane <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 39.3-1
- runtime-install: excluded renamed olpc firmware package (awilliam@redhat.com)
* Fri Jul 14 2023 Brian C. Lane <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 37.4-1
- mkksiso: Fix grub2 editing error (bcl@redhat.com)
* Wed Jun 01 2022 Brian C. Lane <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 36.9-1
- Don't move the restart-anaconda file (vponcova@redhat.com)
* Wed Feb 16 2022 Brian C. Lane <bcl@redhat.com> 36.8-1
- runtime-cleanup: Remove ncurses package (bcl@redhat.com)
* Mon Feb 14 2022 Brian C. Lane <bcl@redhat.com> 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 <bcl@redhat.com> 36.6-1
- mkksiso: Fix check for unsupported arch error (bcl@redhat.com)
* Thu Feb 03 2022 Brian C. Lane <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 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 <bcl@redhat.com> 35.7-1
- templates: Remove memtest86+ (bcl@redhat.com)
@ -241,67 +693,3 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
- Makefile: Add test-in-podman and docs-in-podman build targets (bcl@redhat.com)
- isolinux.cfg: Rename the 'vesa' menu entry to 'basic' (bcl@redhat.com)
- composer-cli: Add support for start-ostree --url URL (bcl@redhat.com)
* Mon Feb 15 2021 Brian C. Lane <bcl@redhat.com> 34.9-1
- Use inst.rescue to trigger rescue mode (awilliam@redhat.com)
Resolves: rhbz#1928318
* Mon Feb 08 2021 Brian C. Lane <bcl@redhat.com> 34.8-1
- Use image dependencies metapackage (vslavik@redhat.com)
- tests: Include the fedora-updates repo when testing boot.iso building (bcl@redhat.com)
* Wed Jan 20 2021 Brian C. Lane <bcl@redhat.com> 34.7-1
- live/x86.tmpl: Copy livecd-iso-to-disk script, if installed (david.ward@ll.mit.edu)
- templates: Copy license files from the correct path (david.ward@ll.mit.edu)
- test: Fix vm.install for non-LVM cloud images (martin@piware.de)
* Wed Dec 16 2020 Brian C. Lane <bcl@redhat.com> 34.6-1
- Remove LD_PRELOAD libgomp.so.1 from lmc --no-virt (bcl@redhat.com)
- Add POSTIN scriptlet error to the log monitor list (bcl@redhat.com)
- Improve lmc no-virt error handling (bcl@redhat.com)
- lorax.spec: Drop GConf2 requirement (bcl@redhat.com)
* Mon Nov 30 2020 Brian C. Lane <bcl@redhat.com> 34.5-1
- Don't remove libldap_r libraries during runtime-cleanup.tmpl (spichugi@redhat.com)
- Do not use '--loglevel' option when running Anaconda (vtrefny@redhat.com)
- Makefile: quiet rsync use in testing (bcl@redhat.com)
- Switch to using GitHub Actions instead of Travis CI (bcl@redhat.com)
* Mon Nov 02 2020 Brian C. Lane <bcl@redhat.com> 34.4-1
- Update the default release version to 34 (bcl@redhat.com)
- Remove mdmonitor service from boot.iso (bcl@redhat.com)
- Switch to using upstream mk-s390image for s390 cdboot.img creation (bcl@redhat.com)
- sshd_config: Apply suggested changes (bcl@redhat.com)
- lorax.spec: Add BuildRequires on systemd-rpm-macros for tmpfilesdir macro (bcl@redhat.com)
* Wed Oct 07 2020 Brian C. Lane <bcl@redhat.com> 34.3-1
- composer: Fix open file warnings (bcl@redhat.com)
- ltmpl: Fix deprecated escape in docstring (bcl@redhat.com)
- tests: Fix open file warning in test_execWithRedirect (bcl@redhat.com)
- Cleanup imgutil open files and processes (bcl@redhat.com)
- tests: Remove test_del_execReadlines (bcl@redhat.com)
- Fix unclosed files (bcl@redhat.com)
- test: Use Python dev mode during testing (bcl@redhat.com)
- tests: Update composer-cli blueprint server tests (bcl@redhat.com)
- runtime-cleanup: Delete .pyc files (bcl@redhat.com)
- New lorax documentation - 34.3 (bcl@redhat.com)
- doc: Add Blueprint documentation and example to composer-cli.rst (bcl@redhat.com)
- docs: Update docs for lorax-composer removal (bcl@redhat.com)
- tests: Remove unused lorax-composer tests (bcl@redhat.com)
- Remove lorax-composer, it has been replaced by osbuild-composer (bcl@redhat.com)
* Tue Sep 29 2020 Brian C. Lane <bcl@redhat.com> 34.2-1
- runtime-cleanup: Remove ncurses package (bcl@redhat.com)
* Mon Sep 14 2020 Brian C. Lane <bcl@redhat.com> 34.1-1
- Fix broken single-item tuples in a few places (awilliam@redhat.com)
- Drop dpaa2 firmware on non-aarch64 arches (awilliam@redhat.com)
- Drop firmware for Mellanox Spectrum (awilliam@redhat.com)
- runtime-cleanup: big refresh of stale things (awilliam@redhat.com)
* Tue Sep 08 2020 Brian C. Lane <bcl@redhat.com> 34.0-1
- New lorax documentation - 34.0 (bcl@redhat.com)
- runtime-cleanup: strip a bunch of unnecessary firmwares (awilliam@redhat.com)
- runtime-install: specify polkit-gnome to avoid lxpolkit and GTK2 (awilliam@redhat.com)
- runtime-install: exclude gnome-firmware and sigrok-firmware (awilliam@redhat.com)
- runtime-cleanup: Drop video playback acceleration drivers (awilliam@redhat.com)
- runtime-install: don't install notification-daemon (awilliam@redhat.com)

3
plans/build-iso.fmf Normal file
View file

@ -0,0 +1,3 @@
summary: Run Lorax tests (build an iso, run mkksiso on it)
execute:
script: ./tests/scripts/run_tests.sh

View file

@ -1 +1 @@
SHA512 (lorax-35.7.tar.gz) = 21ee1fb8bf2228aa802ae13244955a7b1c14f655ed5d9ef40caee0f3ae9085c2b327e611518a60c57e4ea9ee85f1579242804dfc49a5e53cf60fa586dee38530
SHA512 (lorax-44.4.tar.gz) = e2be9a13a0aec657bfe9a32dbd51e9024dfcb89471dbc57b8206dccdcd71cf5561fb25f97a7fdaca2b0279a2966b142ddf4e4544577ac2b47171f19648742577

View file

@ -1,5 +0,0 @@
---
standard-inventory-qcow2:
qemu:
m: 4G

View file

@ -7,7 +7,6 @@ KSNAME=fedora-minimal.ks
KS="/usr/share/doc/lorax/$KSNAME"
OUTISO=/var/tmp/out.iso
ISODIR=/var/tmp/iso
IMGDIR=/var/tmp/img
## Functions for testing mkkiso
@ -30,21 +29,38 @@ function running {
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"
[ -e "$IMGDIR" ] || mkdir "$IMGDIR"
# Only add kickstart
function ks_only {
running "Add kickstart to iso"
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"
umount "$IMGDIR"
umount "$ISODIR"
status "Add kickstart to iso using positional argument"
umount_dirs
}
function test_ks {
@ -52,95 +68,177 @@ function test_ks {
# Is there a kickstart in / of the iso?
[ -e "$ISODIR/$KSNAME" ] || fail "Missing kickstart"
# Is the kickstart in the BIOS config?
grep "inst.ks=.*$KSNAME" "$ISODIR/isolinux/isolinux.cfg" || fail "Missing isolinux.cfg kickstart entry"
# 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?
mount "$ISODIR/images/efiboot.img" "$IMGDIR" || exit 1
grep "inst.ks=.*$KSNAME" "$IMGDIR/EFI/BOOT/grub.cfg" || fail "Missing UEFI grub.cfg kickstart entry"
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 $BOOTISO $OUTISO || exit 1
mkksiso -c "console=ttyS0,115200n8" --ks $KS $BOOTISO $OUTISO || exit 1
mount $OUTISO $ISODIR || exit 1
test_ks
test_ks_serial
test_serial
status "Add kickstart and serial cmdline"
umount "$IMGDIR"
umount "$ISODIR"
umount_dirs
}
function test_ks_serial {
# 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/isolinux/isolinux.cfg" || fail "Missing isolinux.cfg cmdline entry"
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" "$IMGDIR/EFI/BOOT/grub.cfg" || fail "Missing UEFI grub.cfg cmdline entry"
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 $BOOTISO $OUTISO || exit 1
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 "$IMGDIR"
umount "$ISODIR"
umount_dirs
}
function test_volid {
# Is the VOLID in the BIOS config?
grep "hd:LABEL=mkksiso-test" "$ISODIR/isolinux/isolinux.cfg" || fail "Missing isolinux.cfg kickstart entry"
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" "$IMGDIR/EFI/BOOT/grub.cfg" || fail "Missing UEFI grub.cfg kickstart entry"
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 $BOOTISO $OUTISO || exit 1
mkksiso -a /etc/services --ks $KS $BOOTISO $OUTISO || exit 1
mount $OUTISO $ISODIR || exit 1
test_ks
test_files
status "Add files"
umount "$IMGDIR"
umount "$ISODIR"
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"
mkksiso -a /etc/services -V "mkksiso-test" -c "console=ttyS0,115200n8" $KS $BOOTISO $OUTISO || exit 1
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_ks_serial
test_serial
test_volid
test_files
test_updatesimg
test_quiet
status "Use all the options"
umount "$IMGDIR"
umount "$ISODIR"
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
}
@ -154,15 +252,23 @@ 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
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
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

View file

@ -1,15 +0,0 @@
---
# Run lorax with the new templates
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- lorax
tests:
- simple:
dir: scripts
run: ./run_tests.sh