Compare commits

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

222 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
Adam Williamson
8af49866e4 Backport PR #1175 to reduce size of netinsts (#2009730, #2009731) 2021-10-08 15:33:06 -07:00
Brian C. Lane
3f58dab4dd - templates: Remove memtest86+ (bcl@redhat.com) 2021-09-07 15:20:31 -07:00
Fedora Release Engineering
5d32f01d3d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 13:10:17 +00:00
Brian C. Lane
b50361af21 - 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)
2021-07-08 16:16:37 -07:00
Kevin Fenzi
434e3d7e24 Add downstream patch to fix grub2 fonts location. 2021-07-08 12:04:34 -07:00
Brian C. Lane
7fbe63bcb4 Add tests for mkksiso 2021-06-25 15:10:30 -07:00
Brian C. Lane
6a24f7bd75 - pylorax: Fix mksparse ftruncate size handling (bcl@redhat.com) 2021-06-11 10:22:12 -07:00
Brian C. Lane
5ee9410c49 - livemedia-creator: Check for mkfs.hfsplus (bcl@redhat.com)
- Drop retired icfg (zbyszek@in.waw.pl)
2021-06-10 11:09:25 -07:00
Mohan Boddu
2742e7ad83 Add patch downstream to remove retired icfg
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-06-09 11:43:48 -04:00
Python Maint
4e0d9bba56 Rebuilt for Python 3.10 2021-06-04 11:51:30 +02:00
Brian C. Lane
05bf92eca6 - Add a context manager for dracut (bcl@redhat.com)
Resolves: rhbz#1962975
- Remove unneeded aajohan-comfortaa-fonts (bcl@redhat.com)
2021-05-25 09:30:56 -07:00
Brian C. Lane
17e3b44300 - runtime-cleanup: Use branding package name instead of product.name (bcl@redhat.com)
- treebuilder: Add branding package to template variables (bcl@redhat.com)
- livemedia-creator: Use inst.ks on cmdline for virt (bcl@redhat.com)
- docs: Remove composer-cli.1 (bcl@redhat.com)
2021-05-05 14:30:14 -07:00
Brian C. Lane
050700651b tests: Add gating tests 2021-05-03 16:14:35 -07:00
Brian C. Lane
f3d336e516 Remove unused patches 2021-05-03 15:31:31 -07:00
Brian C. Lane
bd7c3d46e8 - docs: Remove composer-cli.1 manpage 2021-04-26 16:28:21 -07:00
Brian C. Lane
b666fd7402 - New lorax documentation - 35.1 (bcl@redhat.com)
- Makefile: Use podman as a user for testing and docs (bcl@redhat.com)
- composer-cli: Remove all traces of composer-cli (bcl@redhat.com)
- livemedia-creator: Add rhgb to live iso cmdline (#1943312) (bcl@redhat.com)
- tests: Fix pocketlint use of removed pylint messages (bcl@redhat.com)
- Disable X11 forwarding from installation environment. (vslavik@redhat.com)
- Remove display-related packages (vslavik@redhat.com)
- Drop trying to install reiserfs-utils (kevin@scrye.com)
- test: Fix URL to bots testmap (martin@piware.de)
- Change khmeros-base-fonts to khmer-os-system-fonts. (pnemade@fedoraproject.org)
- Fix output path in docs (vslavik@redhat.com)
- runtime-cleanup: don't wipe /usr/bin/report-cli (#1937550) (awilliam@redhat.com)
- xorg-x11-font-utils is now four packages, remove all of them (peter.hutterer@who-t.net)
- xorg-x11-server-utils was split up in Fedora 34, so adjust templates (kevin@scrye.com)
2021-04-26 16:11:54 -07:00
Kevin Fenzi
f06bb78ce6 Actually apply the patch in the last release. 2021-04-02 06:16:29 -07:00
Kevin Fenzi
4ffefc09f4 Add downstream patch to not try and install retired resierfs-utils package 2021-04-01 18:06:39 -07:00
Adam Williamson
29bf54b829 Don't cleanup report-cli and fix text mode crash reporting 2021-03-10 18:42:57 -08:00
Kevin Fenzi
454b68495f Add patch downstream to replace retired/blocked xorg-x11-server-utils package 2021-03-05 13:35:57 -08:00
Brian C. Lane
9fd32b245e - New lorax documentation - 35.0 (bcl@redhat.com)
- Makefile: Add test-in-podman and docs-in-podman build targets (bcl@redhat.com)
- isolinux.cfg: Rename the 'vesa' menu entry to 'basic' (bcl@redhat.com)
- composer-cli: Add support for start-ostree --url URL (bcl@redhat.com)
2021-03-03 16:44:25 -08:00
Brian C. Lane
7e58c71c42 - Use inst.rescue to trigger rescue mode (awilliam@redhat.com)
Resolves: rhbz#1928318
2021-02-15 09:09:57 -08:00
Brian C. Lane
0e58cc6b49 - Use image dependencies metapackage (vslavik@redhat.com)
- tests: Include the fedora-updates repo when testing boot.iso building (bcl@redhat.com)
2021-02-08 10:49:30 -08:00
Fedora Release Engineering
8dd440eeec - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 18:42:41 +00:00
Brian C. Lane
9d2c123fb8 - 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)
2021-01-20 11:28:26 -08:00
Brian C. Lane
a01ddcea0d - Remove LD_PRELOAD libgomp.so.1 from lmc --no-virt (bcl@redhat.com)
- Add POSTIN scriptlet error to the log monitor list (bcl@redhat.com)
- Improve lmc no-virt error handling (bcl@redhat.com)
- lorax.spec: Drop GConf2 requirement (bcl@redhat.com)
2020-12-16 14:15:31 -08:00
Brian C. Lane
7d205fcda7 - Don't remove libldap_r libraries during runtime-cleanup.tmpl (spichugi@redhat.com)
- Do not use '--loglevel' option when running Anaconda (vtrefny@redhat.com)
- Makefile: quiet rsync use in testing (bcl@redhat.com)
- Switch to using GitHub Actions instead of Travis CI (bcl@redhat.com)
2020-11-30 14:35:13 -08:00
Kevin Fenzi
9b301fe53c Add patch for anaconda log-level removal (already upstream) 2020-11-26 21:08:33 -08:00
Brian C. Lane
85ff10e99e - Update the default release version to 34 (bcl@redhat.com)
- Remove mdmonitor service from boot.iso (bcl@redhat.com)
- Switch to using upstream mk-s390image for s390 cdboot.img creation (bcl@redhat.com)
- sshd_config: Apply suggested changes (bcl@redhat.com)
- lorax.spec: Add BuildRequires on systemd-rpm-macros for tmpfilesdir macro (bcl@redhat.com)
2020-11-02 14:39:49 -08:00
Brian C. Lane
195074814e - composer: Fix open file warnings (bcl@redhat.com)
- ltmpl: Fix deprecated escape in docstring (bcl@redhat.com)
- tests: Fix open file warning in test_execWithRedirect (bcl@redhat.com)
- Cleanup imgutil open files and processes (bcl@redhat.com)
- tests: Remove test_del_execReadlines (bcl@redhat.com)
- Fix unclosed files (bcl@redhat.com)
- test: Use Python dev mode during testing (bcl@redhat.com)
- tests: Update composer-cli blueprint server tests (bcl@redhat.com)
- runtime-cleanup: Delete .pyc files (bcl@redhat.com)
- New lorax documentation - 34.3 (bcl@redhat.com)
- doc: Add Blueprint documentation and example to composer-cli.rst (bcl@redhat.com)
- docs: Update docs for lorax-composer removal (bcl@redhat.com)
- tests: Remove unused lorax-composer tests (bcl@redhat.com)
- Remove lorax-composer, it has been replaced by osbuild-composer (bcl@redhat.com)
2020-10-07 11:43:03 -07:00
Brian C. Lane
9b33f62604 - runtime-cleanup: Remove ncurses package (bcl@redhat.com) 2020-09-29 15:13:52 -07:00
Brian C. Lane
73d09c2e29 - Fix broken single-item tuples in a few places (awilliam@redhat.com)
- Drop dpaa2 firmware on non-aarch64 arches (awilliam@redhat.com)
- Drop firmware for Mellanox Spectrum (awilliam@redhat.com)
- runtime-cleanup: big refresh of stale things (awilliam@redhat.com)
2020-09-14 14:58:58 -07:00
Brian C. Lane
119e8238ee - 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)
2020-09-08 12:01:26 -07:00
Brian C. Lane
85783e5a39 - config_files: Update aarch64, ppc, and sparc timeouts to 60s (bcl@redhat.com)
- templates: Ensure nano is installed for the runtime environment (ngompa13@gmail.com)
- tests: Ignore W0707 raise-missing-from warnings (bcl@redhat.com)
- Switch VMware testing env to improve stability results (chrobert@redhat.com)
- tests: Allow skipping image build in compose sanity test (atodorov@redhat.com)
2020-09-08 11:29:33 -07:00
Fedora Release Engineering
6bfeca4832 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 06:18:28 +00:00
Brian C. Lane
3d6e26328e - composer-cli: Make start-ostree parent and ref optional (bcl@redhat.com)
- composer-cli: Add a get_arg function (bcl@redhat.com)
- Set BACKEND=osbuild-composer if running that test scenario (atodorov@redhat.com)
- tests: Don't check info after compose cancel with osbuild-composer (atodorov@redhat.com)
- tests: Compare blueprints as TOML objects, not strings (atodorov@redhat.com)
- tests: Remove lorax-composer specific checks (atodorov@redhat.com)
- tests: Remove compose after we're done (atodorov@redhat.com)
- tests: don't use beakerlib in blueprint (lars@karlitski.net)
- tests: don't depend on internal state of composer (lars@karlitski.net)
- tests: Do not rely on example blueprints (atodorov@redhat.com)
- tests: Special case compose types for osbuild-composer (atodorov@redhat.com)
- tests: Don't check example blueprints if we don't have to (atodorov@redhat.com)
- tests: Use BACKEND env variable instead of hard-coded values (atodorov@redhat.com)
- tests: Disable non-cli test scenarios b/c osbuild-composer (atodorov@redhat.com)
2020-07-23 11:24:37 -07:00
Brian C. Lane
a19e11afc2 - Add log entry about dracut and /proc (bcl@redhat.com)
- Skip creating empty /proc/modules for dracut (bcl@redhat.com)
- lorax: Install fcoe-utils (vponcova@redhat.com)
- lorax: Enable swap on zram (vponcova@redhat.com)
- Fix EFI booting for ISOs generated by `mkksiso` (michel@michel-slm.name)
- tests: Disable cloud-init status check (atodorov@redhat.com)
2020-07-20 10:26:11 -07:00
Brian C. Lane
c023d712c0 - lorax.spec: Add psmisc for fuser debugging of failed umounts in pylorax.imgutils (bcl@redhat.com)
- composer-cli: Disable retry counter on connection timeout (bcl@redhat.com)
- composer-cli: Change timeout to 5 minutes (bcl@redhat.com)
- Temporary fix for running lorax inside mock (no /proc created)
2020-06-18 12:10:50 -07:00
Adam Williamson
0d7e6b5223 Backport PR#1035 to fix Rawhide composes (I hope) 2020-06-15 17:10:01 -07:00
Brian C. Lane
cf351447ac - lorax-composer: Add deprecation notice to documentation (bcl@redhat.com)
- composer-cli: Return a better error with no value (bcl@redhat.com)
- tests: Add tests for composer-cli compose start JSON POST (bcl@redhat.com)
- composer-cli: Update bash completion for start-ostree (bcl@redhat.com)
- composer-cli: Add new start-ostree command (bcl@redhat.com)
- composer-cli: Add support for --size to compose start (bcl@redhat.com)
- include generic.ins for s390 boot iso (dan@danny.cz)
- test: Put VM image overlay into /var/tmp (martin@piware.de)
2020-06-11 09:50:02 -07:00
Brian C. Lane
b33aa7d123 - Revert "lorax: Remove vmlinuz from install.img /boot" (bcl@redhat.com)
- composer-cli: Add osbuild-composer to connection failure message (bcl@redhat.com)
- composer-cli: Update docs to mention osbuild-composer and debug options (bcl@redhat.com)
- lorax-composer: Check compose/status for invalid characters (bcl@redhat.com)
- lorax-composer: deleting an unknown workspace should return an error (bcl@redhat.com)
- lorax-composer: Check for valid characters in the undo commit (bcl@redhat.com)
- drop 32-bit support from ppc live image grub.cfg (dan@danny.cz)
- mksquashfs: Catch errors with mksquashfs and report them (bcl@redhat.com)
2020-06-01 14:28:13 -07:00
Miro Hrončok
28434447c6 Rebuilt for Python 3.9 2020-05-24 18:55:54 +02:00
Brian C. Lane
c3e348e2d3 - Don't use f-string without interpolation (atodorov@redhat.com)
- lmc-no-virt: Add requirement on anaconda-install-env-deps (bcl@redhat.com)
- rsyslog: Disable journal ratelimits during install (bcl@redhat.com)
2020-05-05 14:41:12 -07:00
Brian C. Lane
6c087614f8 - New lorax documentation - 33.2 (bcl@redhat.com)
- test: Work around invalid fedora baseurls (marusak.matej@gmail.com)
- lorax: Add --skip-branding cmdline argument (bcl@redhat.com)
- Update datastore for VMware testing (chrobert@redhat.com)
2020-04-28 12:20:31 -07:00
Brian C. Lane
c542311ec4 - lorax: Remove vmlinuz from install.img /boot (bcl@redhat.com) 2020-03-30 10:19:17 -07:00
Brian C. Lane
6c739f034e - tests: Add tests for _install_branding with and without variant (bcl@redhat.com)
- lorax: Update how the release package is chosen (bcl@redhat.com)
- ltmpl: Fix package logging format (bcl@redhat.com)
  Resolves: rhbz#1815000
2020-03-20 11:34:46 -07:00
Brian C. Lane
94efdc8bbb - lorax: Write package lists in run_transaction (bcl@redhat.com)
- Add dig and comm to the boot.iso (bcl@redhat.com)
- lorax-composer: Add 'weldr' to indicate it supports the weldr API (bcl@redhat.com)
- lorax: Cleanup the removefrom --allbut files (bcl@redhat.com)
- lorax: Add eject back into the boot.iso (bcl@redhat.com)
2020-03-16 11:57:08 -07:00
Brian C. Lane
7cc511a7d3 - New lorax documentation - 32.6 (bcl@redhat.com)
- Update mock documentation to remove --old-chroot (bcl@redhat.com)
- Use .tasks file to trigger removal of stale cloud resources (atodorov@redhat.com)
- tests: OpenStack - apply tags and delete by tags (atodorov@redhat.com)
- tests: Azure - apply tags and delete by tags (atodorov@redhat.com)
- tests: VMware - delete only VMs named Composer-Test-* (atodorov@redhat.com)
- tests: AWS - apply tags when creating resoures and delete by tags (atodorov@redhat.com)
- Reflect fonts packages from comps (akira@tagoh.org)
- lorax: Catch rootfs out of space failures (bcl@redhat.com)
- pylint: whitelist the rpm module (bcl@redhat.com)
- tests: Move the list of packages out of Dockerfile.test into a file (bcl@redhat.com)
- tests: remove ALI_DIR after we're done using the cli (atodorov@redhat.com)
- Test & cleanup script for Alibaba cloud (atodorov@redhat.com)
- tests: run ssh commands in batch mode (jrusz@redhat.com)
- lorax: Log dnf solver debug data in ./debugdata/ (bcl@redhat.com)
- tests: remove --test=2 from compose_sanity (jrusz@redhat.com)
2020-02-12 13:30:43 -08:00
Fedora Release Engineering
8d5e77b375 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 11:18:07 +00:00
Brian C. Lane
001d47303a - New lorax documentation - 32.5 (bcl@redhat.com)
- tests: Use mock from unittest (bcl@redhat.com)
- Add --dracut-conf cmdline argument to lorax and livemedia-creator (bcl@redhat.com)
- Add tests for metapackages and package name globs (bcl@redhat.com)
- executils: Drop bufsize=1 from execReadlines (bcl@redhat.com)
- tests: unittest and pytest expect functions to start with test_ (bcl@redhat.com)
- Update to_timeval usage to use format_iso8601 (bcl@redhat.com)
- ltmpl: Update to use collections.abc (bcl@redhat.com)
- test: Use pytest instead of nose (bcl@redhat.com)
- tests: Check for cloud-init presence in azure image (jrusz@redhat.com)
- tests: check for failed compose before trying to cancel (jrusz@redhat.com)
- tests: Enable Elastic Network Adapter support for AWS (atodorov@redhat.com)
- lorax-composer: Enable ami on aarch64 (bcl@redhat.com)
2020-01-16 10:36:00 -08:00
Brian C. Lane
06edbcacd1 - livemedia-creator: workaround glibc limitation when starting anaconda (dan@danny.cz)
- AWS test: take into account different instance type for non x86 (atodorov@redhat.com)
- Add test for canceling a running compose (jrusz@redhat.com)
- composer-cli: Increase DELETE timeout to 120s (bcl@redhat.com)
- anaconda_cleanup: Remove anaconda.pid if it is left behind (bcl@redhat.com)
- New lorax documentation - 32.4 (bcl@redhat.com)
- docs: Add documentation for new mkksiso --volid feature (bcl@redhat.com)
- mkksiso: Add the option to set the ISO volume label (florian.achleitner@prime-sign.com)
- spec: Add missing BuildRequires: make (florian.achleitner@prime-sign.com)
- tests: Use wildcard versions for packages (bcl@redhat.com)
- composer-cli: Only display the available compose types (bcl@redhat.com)
- fix typo in api docstring (obudai@redhat.com)
- Remove all repo files & install composer-cli from host repos (atodorov@redhat.com)
- Always remove lorax-composer & composer-cli RPMs before installing them (atodorov@redhat.com)
- Always remove existing VM image before building new one (atodorov@redhat.com)
- Add git to Dockerfile.test (bcl@redhat.com)
2020-01-10 11:39:36 -08:00
Brian C. Lane
7b921513c3 - lorax-composer: Add cloud-init support to the vhd image (bcl@redhat.com)
- tests: add docker variable to .travis.yml (jrusz@redhat.com)
- tests: Changed Docker to podman in Makefile (jrusz@redhat.com)
- tests: fix blueprints tag test (jrusz@redhat.com)
- test: fix serializing repo_to_source test (jrusz@redhat.com)
- composer-cli: Return int from handle_api_result not bool (bcl@redhat.com)
- mkksiso: copy all the directories over to tmpdir (bcl@redhat.com)
- Add dmidecode on supported architectures (bcl@redhat.com)
- docs: Remove --title from list of lmc variables (bcl@redhat.com)
- Drop old lorax.spec changelog entries (pre-F31) (bcl@redhat.com)
2019-11-18 16:09:23 -08:00
Brian C. Lane
d8ff91e01e Add missing lorax.spec for 32.2 2019-11-05 15:11:30 -08:00
Brian C. Lane
c791c3fcca - New lorax documentation - 32.2 (bcl@redhat.com)
- tests: Add 'test_mkksiso' tests (bcl@redhat.com)
- mkksiso: Add documentation (bcl@redhat.com)
- mkksiso: Add a tool to add a kickstart to an existing boot.iso (bcl@redhat.com)
- tests: Add a lorax boot.iso test (bcl@redhat.com)
- test: Add wait_boot method for root logins (bcl@redhat.com)
- tests: Ensure failure if beakerlib results file not found (atodorov@redhat.com)
- tests: Documentation updates (atodorov@redhat.com)
- tests: Use host repositories for make vm (atodorov@redhat.com)
- Remove unused make targets (atodorov@redhat.com)
- DRY when setting up, running & parsing results for beakerlib tests (atodorov@redhat.com)
- tests: Disable mirrors (atodorov@redhat.com)
- tests: Use journalctl -g to check for failed login (bcl@redhat.com)
- tests: Fix check_root_account when used with tar liveimg test (bcl@redhat.com)
- tests: Use the same asserts as before (atodorov@redhat.com)
- tests: switch to using podman instead of docker (atodorov@redhat.com)
- tests: Remove nested vm from tar liveimg kickstart test (bcl@redhat.com)
- tests: Use --http0.9 for curl ssh test (bcl@redhat.com)
- test: Boot the live-iso faster, and login using ssh key (bcl@redhat.com)
- test: Split up the test class to allow booting other images (bcl@redhat.com)
- tests: Split testing the image into a separate script (bcl@redhat.com)
- Add live iso support to s390 (bcl@redhat.com)
- docs: Override macboot/nomacboot documentation (bcl@redhat.com)
- Disable some compose types on other architectures (bcl@redhat.com)
- lorax: Drop unused --title option (bcl@redhat.com)
- tests: Document Azure setup (atodorov@redhat.com)
- tests: unskip Azure scenario (atodorov@redhat.com)
2019-11-05 14:43:11 -08:00
Brian C. Lane
0f284711c6 - Bump default platform and releasever to 32 (bcl@redhat.com)
- New lorax documentation - 32.1 (bcl@redhat.com)
- docs: Fix Sphinx errors in docstrings (bcl@redhat.com)
- vm.install: Turn on verbose output (bcl@redhat.com)
- tests: Switch the azure examples used in the lifted tests to use aws (bcl@redhat.com)
- Remove lifted azure support (bcl@redhat.com)
- composer-cli: Add providers info <PROVIDER> command (bcl@redhat.com)
- composer-cli: Fix error handling in providers push (bcl@redhat.com)
- composer-cli: Fix upload log output (bcl@redhat.com)
- Add list to bash completion for composer-cli upload (bcl@redhat.com)
- Update composer-cli documentation (bcl@redhat.com)
- Add composer and lifted to coverage report (bcl@redhat.com)
- composer-cli: Add starting an upload to compose start (bcl@redhat.com)
- composer-cli: Add providers template command (bcl@redhat.com)
- bash_completion: Add support for new composer-cli commands (bcl@redhat.com)
- composer-cli: Add support for providers command (bcl@redhat.com)
- composer-cli: Add support for upload command (bcl@redhat.com)
- Increase ansible verbosity to 2 (bcl@redhat.com)
- lifted: Add support for AWS upload (bcl@redhat.com)
- lifted: Improve logging for upload playbooks (bcl@redhat.com)
- Add upload status examples to compose route docstrings (bcl@redhat.com)
- tests: Add tests for deleting unknown upload and profile (bcl@redhat.com)
- Add docstrings to the new upload functions in pylorax.api.queue (bcl@redhat.com)
- Change /compose/uploads/delete to /upload/delete (bcl@redhat.com)
- tests: Add test for /compose/uploads/delete (bcl@redhat.com)
- tests: Add tests for /compose/uploads/schedule (bcl@redhat.com)
- Add profile support to /uploads/schedule/ (bcl@redhat.com)
- tests: Fix comments about V1 API results including uploads data (bcl@redhat.com)
- lifted: Make sure inputs cannot have path elements (bcl@redhat.com)
- Use consistent naming for upload uuids (bcl@redhat.com)
- tests: Add tests for new upload routes (bcl@redhat.com)
- Fix some docstrings in the v1 API (bcl@redhat.com)
- lifted: Make sure providers list is always sorted (bcl@redhat.com)
- Add /upload/providers/delete route (bcl@redhat.com)
- lifted: Add delete_profile function and tests (bcl@redhat.com)
- Add support for starting a compose upload with the profile (bcl@redhat.com)
- lifted: Add a function to load the settings for a provider's profile (bcl@redhat.com)
- Fix pylint errors in lifted.upload (bcl@redhat.com)
- tests: Add yamllint of the lifted playbooks (bcl@redhat.com)
- tests: Add tests for the new lifted module (bcl@redhat.com)
- All providers should have 'supported_types' (bcl@redhat.com)
- lifted directories should be under share_dir and lib_dir (bcl@redhat.com)
- tests: Add tests for API v1 (bcl@redhat.com)
- Make sure V0 API doesn't return uploads information (bcl@redhat.com)
- Automatically upload composed images to the cloud (egoode@redhat.com)
- Add load and dump to pylorax.api.toml (egoode@redhat.com)
- Support CI testing against a bots project PR (martin@piware.de)
- Makefile: Don't clobber an existing bots checkout (martin@piware.de)
- lorax-composer: Handle RecipeError in commit_recipe_directory (bcl@redhat.com)
- test: Disable pylint subprocess check check (bcl@redhat.com)
2019-10-16 14:37:26 -07:00
Brian C. Lane
cb01cc9f93 - aarch64: Fix live-iso creation on aarch64 (bcl@redhat.com)
- Add test for running composer with --no-system-repos option (jikortus@redhat.com)
- [tests] Use functions for starting and stopping lorax-composer (jikortus@redhat.com)
- Makefile: Update bots target for moved GitHub project (sanne.raymaekers@gmail.com)
- Keep the zramctl utility from util-linux on boot.iso (mkolman@redhat.com)
- Skip kickstart tar test for fedora-30/tar scenario (atodorov@redhat.com)
- Enable fedora-30/tar test scenario (atodorov@redhat.com)
- [tests] Collect compose logs after each build (atodorov@redhat.com)
- [tests] Use a function to wait for compose to finish (jikortus@redhat.com)
- When launching AWS instances wait for the one we just launched (atodorov@redhat.com)
- tests: Add kickstart tar installation test (jikortus@redhat.com)
- tests: add option to disable kernel command line parameters check (jikortus@redhat.com)
- tests: Use a loop to wait for VM and sshd to start (bcl@redhat.com)
- creator.py: include dmsquash-live-ntfs by default (gmt@be-evil.net)
- Skip Azure test b/c misconfigured infra & creds (atodorov@redhat.com)
- tests: Drop tito from the Dockerfile.test (bcl@redhat.com)
- tests: Drop sort from compose types test (bcl@redhat.com)
- Revert "tests: Fix the order of liveimg-tar live-iso" (atodorov@redhat.com)
- New test: assert toml files in git workspace (atodorov@redhat.com)
2019-09-30 17:03:40 -07:00
Miro Hrončok
668bc54175 Rebuilt for Python 3.8 2019-08-21 19:15:53 +02:00
Brian C. Lane
5bfad3cab7 - tests: Update gpg key to fedora 32 (bcl@redhat.com)
- tests: Fix the order of liveimg-tar live-iso (bcl@redhat.com)
- tests: Use server-2.repo instead of single.repo (bcl@redhat.com)
- lorax-composer: Add support for dnf variables to repo sources (bcl@redhat.com)
- Use smarter multipath detection logic. (dlehman@redhat.com)
- tests: Expand test coverage of the v0 and v1 sources API (bcl@redhat.com)
- tests: Temporarily work around rpm and pylint issues (bcl@redhat.com)
- lorax-composer: Add v1 API for projects/source/ (bcl@redhat.com)
- Add /api/v1/ handler with no routes (bcl@redhat.com)
- Move common functions into pylorax.api.utils (bcl@redhat.com)
- Document the release process steps (bcl@redhat.com)
- lorax-composer: Add liveimg-tar image type (bcl@redhat.com)
- livemedia-creator: Use --compress-arg in mksquashfs (bcl@redhat.com)
- livemedia-creator: Remove unused --squashfs_args option (bcl@redhat.com)
- Only use repos with valid urls for test_server.py (bcl@redhat.com)
- lorax-composer: Clarify groups documentation (bcl@redhat.com)
2019-08-20 17:33:39 -07:00
Miro Hrončok
99d83d6d07 Rebuilt for Python 3.8 2019-08-18 01:02:29 +02:00
Brian C. Lane
fb2259343e - New lorax documentation - 31.9 (bcl@redhat.com)
- Remove .build-id from install media (riehecky@fnal.gov)
- lorax-composer: Add squashfs_only False to all image types (bcl@redhat.com)
- tests: Update test_creator.py (bcl@redhat.com)
- docs: Add anaconda-live to fedora-livemedia.ks example (bcl@redhat.com)
- livemedia-creator: Use make_runtime for all runtime creation (bcl@redhat.com)
- livemedia-creator: Add support for a squashfs only runtime image (bcl@redhat.com)
- Update rst formatting. Refs #815 (atodorov@redhat.com)
- don't skip Xorg packages on s390x to allow local GUI installation under KVM (dan@danny.cz)
- Use binary mode to tail the file (bcl@redhat.com)
- Return most relevant log file from /compose/log (egoode@redhat.com)
- Use passwd --status for locked root account check (jikortus@redhat.com)
- tests: Use liveuser account for live-iso boot check (bcl@redhat.com)
- Mention python3-magic in HACKING.md (egoode@redhat.com)
- tests: Add check to make sure the compose actually finished (bcl@redhat.com)
- test: check the number of tests that ran (atodorov@redhat.com)
- lorax: Add debug log of command line options (riehecky@fnal.gov)
- lorax: provide runtime lorax config in debug log (riehecky@fnal.gov)
- Remove whitespace in v0_blueprints_new (jacobdkozol@gmail.com)
- Add test for VALID_BLUEPRINT_NAME check (jacobdkozol@gmail.com)
- Add seperate validation for blueprint names (jacobdkozol@gmail.com)
- Leave lscpu in the image for additional debugging (riehecky@fnal.gov)
- tests: set skip_if_unavailable in test repos (lars@karlitski.net)
- test/README.md: Add section explaining GitHub integration (lars@karlitski.net)
2019-07-29 15:23:20 -07:00
Fedora Release Engineering
80de2f2a98 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 15:12:40 +00:00
Brian C. Lane
46be0b98e0 - Also search for pxeboot kernel and initrd pairs (hadess@hadess.net)
- Assert that RuntimeErrors have correct messages (egoode@redhat.com)
- More descriptive error for a bad ref in repos.git (egoode@redhat.com)
- Remove unused shell script (atodorov@redhat.com)
- test: Output results for cockpit's log.html (lars@karlitski.net)
- Do not generate journal.xml from beakerlib (atodorov@redhat.com)
- tests: Add RUN_TESTS to Makefile so you can pass in targets (bcl@redhat.com)
- tests: Add tests for recipe checking functions (bcl@redhat.com)
- lorax-composer: Add basic case check to check_recipe_dict (bcl@redhat.com)
- lorax-composer: Add basic recipe checker function (bcl@redhat.com)
- Revert "test: Disable test_live_iso test" (lars@karlitski.net)
- test: Fix test_blueprint_sanity (lars@karlitski.net)
- tests: rpm now returns str, drop decode() call (bcl@redhat.com)
- tests: Drop libgit2 install from koji (bcl@redhat.com)
2019-06-28 10:56:04 -07:00
Brian C. Lane
59d867061c - New lorax documentation - 31.7 (bcl@redhat.com)
- Update qemu arguments to work correctly with nographic (bcl@redhat.com)
- Switch to new toml library (bcl@redhat.com)
- composer-cli: Update diff support for customizations and repos.git (bcl@redhat.com)
- Add support for customizations and repos.git to /blueprints/diff/ (bcl@redhat.com)
- tests: Update custom-base with customizations (bcl@redhat.com)
- Move the v0 API documentation into the functions (bcl@redhat.com)
- Update the /api/v0/ route handling to use the flask_blueprints Blueprint class (bcl@redhat.com)
- Extend Flask Blueprint class to allow skipping routes (bcl@redhat.com)
- Remove PR template (atodorov@redhat.com)
- Increase retry count/sleep times when waiting for lorax to start (atodorov@redhat.com)
- Revert "remove the check for qemu-kvm" (atodorov@redhat.com)
- Revert "remove the check for /usr/bin/docker in the setup phase" (atodorov@redhat.com)
- [tests] Define unbound variables in test scripts (atodorov@redhat.com)
- [tests] Handle blueprints in setup_tests/teardown_tests correctly (atodorov@redhat.com)
- [tests] grep|cut for IP address in a more robust way (atodorov@redhat.com)
- Remove quotes around file test in make vm (atodorov@redhat.com)
- test: Don't wait on --sit when test succeeds (lars@karlitski.net)
- Monkey-patch beakerlib to fail on first assert (lars@karlitski.net)
- test_cli.sh: Return beakerlib's exit code (lars@karlitski.net)
- Don't send CORS headers (lars@karlitski.net)
- tests: Set BLUEPRINTS_DIR in all cases (lars@karlitski.net)
- tests: Fail on script errors (lars@karlitski.net)
- Add API integration test (lars@karlitski.net)
- composer: Set up a custom HTTP error handler (lars@karlitski.net)
- Split live-iso and qcow2 and update test scenario execution (atodorov@redhat.com)
- Configure $PACKAGE for beakerlib reports (atodorov@redhat.com)
- Use cloud credentials during test if they exist (atodorov@redhat.com)
- Don't execute compose/blueprint sanity tests in Travis CI (atodorov@redhat.com)
- test: Add --list option to test/check* scripts (lars@karlitski.net)
- test: Add --sit argument to check-* scripts (lars@karlitski.net)
- test: Custom main() function (lars@karlitski.net)
- Use ansible instead of awscli (jstodola@redhat.com)
- Fix path to generic.prm (jstodola@redhat.com)
- Update example fedora-livemedia.ks (bcl@redhat.com)
- Update composer live-iso template (bcl@redhat.com)
- test: Disable test_live_iso test (lars@karlitski.net)
- tests: Source lib.sh from the right directory (lars@karlitski.net)
- Revert "Add rpmfluff temporarily" (bcl@redhat.com)
- tests: Update tmux version to 2.9a (bcl@redhat.com)
- test: Install beakerlib on non-RHEL images (martin@piware.de)
- tests: Fail immediately when image build fails (lars@karlitski.net)
- test: Install beakerlib wehn running on rhel (lars@karlitski.net)
- test: Generalize fs resizing in vm.install (lars@karlitski.net)
- tests: Re-enable kvm (lars@karlitski.net)
- test: Fix vm.install to be idempotent (lars@karlitski.net)
- tests: Don't depend on kvm for tar and qcow2 tests (lars@karlitski.net)
- test_compose_tar: Work around selinux policy change (lars@karlitski.net)
- test_compose_tar: Be less verbose (lars@karlitski.net)
- test_compose_tar: Fix docker test (lars@karlitski.net)
- tests: Extract images to /var/tmp, not /tmp (lars@karlitski.net)
- Use Cockpit's test images and infrastructure (lars@karlitski.net)
- pylint: Remove unused false positive (lars@karlitski.net)
2019-06-18 15:13:03 -07:00
Brian C. Lane
2c36b44e08 - Add kernel to ext4-filesystem template (bcl@redhat.com)
- Create a lorax-docs package with the html docs (bcl@redhat.com)
- Add new documentation branches to index.rst (bcl@redhat.com)
2019-05-16 10:41:38 -07:00
Brian C. Lane
f59b135afb - Add python3-pycdlib to Dockerfile.test (bcl@redhat.com)
- Replace isoinfo with pycdlib (bcl@redhat.com)
- Add test for passing custom option on kernel command line (jikortus@redhat.com)
- Use verify_image function as a helper for generic tests (jikortus@redhat.com)
2019-05-07 11:55:46 -07:00
Brian C. Lane
30026570e6 - tests: Update openssh-server to v8.* (bcl@redhat.com)
- New lorax documentation - 31.4 (bcl@redhat.com)
- Change customizations.firewall to append items instead of replace (bcl@redhat.com)
- Update customizations.services documentation (bcl@redhat.com)
- lorax-composer: Add services support to blueprints (bcl@redhat.com)
- Add rpmfluff temporarily (bcl@redhat.com)
- lorax-composer: Add firewall support to blueprints (bcl@redhat.com)
- lorax-composer: Add locale support to blueprints (bcl@redhat.com)
- lorax-composer: Fix customizations when creating a recipe (bcl@redhat.com)
- Update docs for new timezone section (bcl@redhat.com)
- lorax-composer: Add timezone support to blueprint (bcl@redhat.com)
- Proposal for adding to the blueprint customizations (bcl@redhat.com)
- Add test for starting compose with deleted blueprint (jikortus@redhat.com)
- Update VMware info for VMware testing (chrobert@redhat.com)
- tests: Cleanup on failure of in_tempdir (bcl@redhat.com)
- Change [[modules]] to [[packages]] in tests (atodorov@redhat.com)
- Add new test to verify compose paths exist (atodorov@redhat.com)
- Add new sanity tests for blueprints (atodorov@redhat.com)
- Fixes for locked root account test (jikortus@redhat.com)
2019-05-02 17:05:38 -07:00
Brian C. Lane
44cfccc46b - Add -iso-level 3 when the install.img is > 4GiB (bcl@redhat.com)
- Correct "recipes" use to "blueprints" in composer-cli description (kwalker@redhat.com)
- Fix keeping files on Amazon s3 (jstodola@redhat.com)
- Allow to keep objects in AWS (jstodola@redhat.com)
- Fix the google cloud boot console settings (dshea@redhat.com)
- Add a compose type for alibaba. (dshea@redhat.com)
- Add a new compose type for Hyper-V (dshea@redhat.com)
- Add a compose check for google cloud images. (dshea@redhat.com)
- Add a compose type for Google Compute Engine (dshea@redhat.com)
- Add a new output type, tar-disk. (dshea@redhat.com)
- Support compressing single files. (dshea@redhat.com)
- Add an option to align the image size to a multiplier. (dshea@redhat.com)
2019-04-05 16:03:21 -07:00
Brian C. Lane
febf664144 - Add documentation references to lorax-composer service files (bcl@redhat.com)
- Add more tests for gitrpm.py (bcl@redhat.com)
- lorax-composer: Fix installing files from [[repos.git]] to / (bcl@redhat.com)
- New lorax documentation - 31.1 (bcl@redhat.com)
- Make it easier to generate docs for the next release (bcl@redhat.com)
2019-04-01 11:29:20 -07:00
Brian C. Lane
bee88eaf9b - qemu wasn't restoring the terminal if it was terminated early (bcl@redhat.com)
- Switch the --virt-uefi method to use SecureBoot (bcl@redhat.com)
- pylorax.ltmpl: Add a test for missing quotes (bcl@redhat.com)
- Don't remove chmem and lsmem from install.img (bcl@redhat.com)
- lorax-composer: pass customization.kernel append to extra_boot_args (bcl@redhat.com)
- Improve logging for template syntax errors (bcl@redhat.com)
- Add extra boot args to the livemedia-creator iso templates (bcl@redhat.com)
- lorax-composer: Add the ability to append to the kernel command-line (bcl@redhat.com)
- Add checks for disabled root account (jikortus@redhat.com)
- Update datastore for VMware testing (chrobert@redhat.com)
2019-03-26 14:18:19 -07:00
Brian C. Lane
e3955d8256 - Add tests using repos.git in blueprints (bcl@redhat.com)
- Move git repo creation into tests/lib.py (bcl@redhat.com)
- rpmgit: catch potential errors while running git (bcl@redhat.com)
- tests: Add test for Recipe.freeze() function (bcl@redhat.com)
- Add repos.git support to lorax-composer builds (bcl@redhat.com)
- Add pylorax.api.gitrpm module and tests (bcl@redhat.com)
- Add support for [[repos.git]] section to blueprints (bcl@redhat.com)
- Update ppc64le isolabel to match x86_64 logic (bcl@redhat.com)
- Add blacklist_exceptions to multipath.conf (bcl@redhat.com)
- tests: Add python3-mock and python3-sphinx_rtd_theme (bcl@redhat.com)
- Use make ci inside test-in-copy target (atodorov@redhat.com)
- Allow overriding $CLI outside test scripts (atodorov@redhat.com)
- tests: Make it easier to update version globs (bcl@redhat.com)
- New test: Build live-iso and boot with KVM (atodorov@redhat.com)
- lorax-composer: Return UnknownBlueprint errors when using deleted blueprints (bcl@redhat.com)
- lorax-composer: Delete workspace copy when deleting blueprint (bcl@redhat.com)
- New test: Build qcow2 compose and test it with QEMU-KVM (atodorov@redhat.com)
2019-03-15 11:46:40 -07:00
Brian C. Lane
a6c0d638ca - Fix pylint problems with vmware_list_vms.py (bcl@redhat.com)
- Makefile: Make the .test-results directory (bcl@redhat.com)
- Add a ppc64le template for live iso creation (bcl@redhat.com)
- Move the package requirements for live-iso setup out of the template (bcl@redhat.com)
- Remove exclusions from lorax-composer templates (bcl@redhat.com)
- Add LiveTemplateRunner to parse per-arch live-iso package requirements (bcl@redhat.com)
- Move the run part of LoraxTemplateRunner into new TemplateRunner class (bcl@redhat.com)
- lorax-composer: Use reqpart --add-boot for partitioned disk templates (bcl@redhat.com)
- livemedia-creator: Add support for reqpart kickstart command (bcl@redhat.com)
- Make the lorax-composer ks templates more generic (bcl@redhat.com)
- Add script for removing old artifacts from VMware (jstodola@redhat.com)
- tests: Fix makeFakeRPM calls (bcl@redhat.com)
- Drop _unique_dicts function (bcl@redhat.com)
- Update bash to 5.0.* (bcl@redhat.com)
- Add some extra cancel_func protection to QEMUInstall (bcl@redhat.com)
- Remove unsupported anaconda-docker-addon (#619) (jkonecny@redhat.com)
- installer: make sure cancel_func has a value (#612) (yuvalt@gmail.com)
- New test: Verify tar images with Docker and systemd-nspawn (atodorov@otb.bg)
- Update OpenStack flavor and network settings in tests (atodorov@redhat.com)
2019-02-25 14:45:49 -08:00
Brian C. Lane
052cf3d142 - Remove 3G minimum from lorax-composer (bcl@redhat.com)
- drop Apple/HFS bits from the templates (#602) (dan@danny.cz)
- Move manpages into the correct subpackages (bcl@redhat.com)
- installer: Run anaconda in a mount and pid namespace (lars@karlitski.net)
- Run as root/weldr by default. (clumens@redhat.com)
- Pass ssl certificate options to anaconda (lars@karlitski.net)
- Drop auth from the kickstart examples (bcl@redhat.com)
- Keep OpenStack VMs with Tag keep_me (atodorov@redhat.com)
- Make sure compose build tests run with SELinux in enforcing mode (jikortus@redhat.com)
- Update with instructions about commit log referencing Bugzilla (atodorov@redhat.com)
- Add script for removing old artifacts from Azure (jstodola@redhat.com)
- Use existing storage account (jstodola@redhat.com)
- Record date/time of VM creation (jstodola@redhat.com)
2019-02-15 10:45:23 -08:00
Brian C. Lane
30c3ea4137 - xorrisofs is provided by the xorriso package (bcl@redhat.com)
- Remove obsolete Group tag (ignatenkobrain@fedoraproject.org)
2019-01-31 08:18:53 -08:00
Miro Hrončok
d003d1eefd Use xorriso instead of xorrisofs
https://bugzilla.redhat.com/show_bug.cgi?id=1671263
2019-01-31 11:21:20 +01:00
Brian C. Lane
86a1937921 - Remove duplicate repositories from the sources list (bcl@redhat.com)
- Copy .discinfo to the boot.iso (bcl@redhat.com)
- Clarify the ks repo only error message (bcl@redhat.com)
- fedora-livemedia.ks: Add packages needed to boot livecd on UEFI systems (bcl@redhat.com)
- Use xorrisofs instead of mkisofs (bcl@redhat.com)
- lorax: Move default tmp dir to /var/tmp/lorax (bcl@redhat.com)
- Export OS_PROJECT_NAME variable in openstack scripts (jstodola@redhat.com)
- Collect results from all cleanup scripts (jstodola@redhat.com)
- Typo in PR template (atodorov@redhat.com)
- Expand parameters as separate words (jstodola@redhat.com)
- Add PR template with instructions for repo members (atodorov@redhat.com)
- Add script for removing old artifacts from OpenStack (jstodola@redhat.com)
- Add script for removing old artifacts from AWS (jstodola@redhat.com)
2019-01-30 12:00:18 -08:00
Igor Gnatenko
5d09dc7456 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:13 +01:00
Brian C. Lane
9f55079494 Actually add the lorax-30.12-tar.bz2 sources file 2019-01-18 09:28:18 -08:00
Brian C. Lane
fdd5208425 - Don't exclude /dev from the setfiles in novirt_install (awilliam@redhat.com)
Resolves: rhbz#1663040
- dracut-fips is no longer a subpackage, it is included in dracut. (bcl@redhat.com)
2019-01-18 09:19:43 -08:00
Adam Williamson
d039d7ce8e Backport PR #568 to fix Rawhide lives (rhbz#1663040) 2019-01-15 22:45:22 -08:00
Brian C. Lane
238111ee20 - Remove unneeded else from for/else loop. It confuses pylint (bcl@redhat.com)
- Turn off pylint warning about docstring with backslash (bcl@redhat.com)
- Turn off smartquotes in Sphinx documentation (bcl@redhat.com)
- fixes #543 qemu -nodefconfig deprecated (afm404@gmail.com)
- fix spinx build warnings (afm404@gmail.com)
- Revert "lorax-composer: Cancel running Anaconda process" (bcl@redhat.com)
- set inst.stage2 for ppc64le image (rhbz#1577587) (dan@danny.cz)
- Allow customizations to be specified as a toml list (dshea@redhat.com)
- Make sure cancel_func is not None (bcl@redhat.com)
- drop ppc/ppc64 from tests (dan@danny.cz)
- drop ppc/ppc64 from spec (dan@danny.cz)
- all supported arches have docker (dan@danny.cz)
- drop big endian ppc/ppc64 support (dan@danny.cz)
- add qemu command mapping for ppc64le (dan@danny.cz)
- don't reduce initrd size on ppc64/ppc64le (dan@danny.cz)
- fbset has been retired (dan@danny.cz)
- Add timestamps to program.log and dnf.log (bcl@redhat.com)
2019-01-08 11:46:35 -08:00
Brian C. Lane
cbcdf63ec1 - lorax: Save information about rootfs filesystem size and usage (bcl@redhat.com)
- Turn on signed tags when using tito. (bcl@redhat.com)
- lorax-composer: Cancel running Anaconda process (bcl@redhat.com)
- Add cancel_func to virt and novirt_install functions (bcl@redhat.com)
- lorax-composer: Check for STATUS before deleting (bcl@redhat.com)
- Check for existing CANCEL request, and exit on FINISHED (bcl@redhat.com)
- tests: use the first IP address if more than 1 retruned from OpenStack (atodorov@redhat.com)
- tests: remove a debugging command (atodorov@redhat.com)
- Add openstack to the image type list in the docs (dshea@redhat.com)
2018-12-17 16:46:13 -08:00
Brian C. Lane
a361142864 - lorax-composer: Handle packages with multiple builds (bcl@redhat.com)
- lorax-composer: Check the queue and results at startup (bcl@redhat.com)
- Teach OpenStack test to distinguish between RHEL and Fedora (atodorov@redhat.com)
- Use full path for Azure playbook as well (atodorov@redhat.com)
- Use a temporary dir for ssh keys during testing (atodorov@redhat.com)
- Update V_DATASTORE b/c defaults appear to have been changed (atodorov@redhat.com)
- Clone pyvmomi samples in the correct directory (atodorov@redhat.com)
- Use full path when pushing toml files during testing (atodorov@redhat.com)
- Add empty ci_after_success target for Jenkins (atodorov@redhat.com)
- Implicitly specify ssh key directory/files for testing (atodorov@redhat.com)
- [test] Clean up containers.json (atodorov@redhat.com)
- Teach AWS test to distinguish between RHEL and Fedora (atodorov@redhat.com)
2018-12-06 16:13:05 -08:00
Brian C. Lane
d7daa042e4 - lorax-composer: Install selinux-policy-targeted in images (bcl@redhat.com)
- Remove setfiles from mkrootfsimage (bcl@redhat.com)
- New lorax documentation - 30.7 (bcl@redhat.com)
- Remove SELinux Permissive checks (bcl@redhat.com)
- Drop minor version from php package in blueprint (atodorov@redhat.com)
- Use a temporary shared dir when testing (atodorov@redhat.com)
- Copy blueprints used for testing to temporary directory (atodorov@redhat.com)
- Add make targets for Jenkins (atodorov@redhat.com)
- Add --no-system-repos to lorax-composer (bcl@redhat.com)
- Install grubby-deprecated package for ARMv7 (javierm@redhat.com)
- Teach test_cli.sh to execute test scripts via arguments (atodorov@redhat.com)
- new test: build an image and deploy it on Azure (atodorov@redhat.com)
- Fix typo in comment (atodorov@redhat.com)
- Fix reporting of coverage results to coverall.io (bcl@redhat.com)
- For OpenStack build image with rng-tools installed (atodorov@redhat.com)
- Add tests for partitioned disk images (bcl@redhat.com)
- Create a kpartx_disk_img function (bcl@redhat.com)
- Add tests for pylorax.imgutils (bcl@redhat.com)
- Add tests to test_creator.py (bcl@redhat.com)
- Fix make_appliance and the libvirt.tmpl (bcl@redhat.com)
- Add some tests for creator.py (bcl@redhat.com)
- tests: Add executils test (bcl@redhat.com)
- tests: Add sysutils test (bcl@redhat.com)
- tests: Add discinfo test (bcl@redhat.com)
- tests: Add treeinfo test (bcl@redhat.com)
- Stop using build to run the tests, allow using podman (bcl@redhat.com)
- new test: build and deploy an image in OpenStack (atodorov@redhat.com)
- Fix typos in VM_NAME and cleanup command (atodorov@redhat.com)
- new test: build and deploy images on vSphere (atodorov@redhat.com)
- Update docs with info about ssh keys (atodorov@redhat.com)
2018-11-29 14:00:18 -08:00
Brian C. Lane
b15b4e3eaa - new test: build and deploy images on AWS (atodorov@redhat.com)
- Disable execution of new tests which need Docker privileged mode (atodorov@redhat.com)
- New tests: build ext4-filesystem and partitioned-disk composes (atodorov@redhat.com)
- Update tmux version in tests (atodorov@redhat.com)
- Add tests for ltmpl.py (bcl@redhat.com)
- Move get_dnf_base_object into a module (bcl@redhat.com)
- New lorax documentation - 30.5 (bcl@redhat.com)
- Build manpages for composer-cli and lorax-composer (bcl@redhat.com)
- Add --squashfs-only option to drop inner rootfs.img layer (marmarek@invisiblethingslab.com)
- Update php version to 7.3.* (bcl@redhat.com)
- Update the projects tests to use DNF Repo object (bcl@redhat.com)
- dnf changed the type of gpgkey to a tuple (bcl@redhat.com)
- Install python3-librepo in the test container (bcl@redhat.com)
- lorax: Log when SOURCE_DATE_EPOCH is used for the current time (bcl@redhat.com)
- Drop non-determinism from default templates (marmarek@invisiblethingslab.com)
- Use SOURCE_DATE_EPOCH for volumeid of efi boot image (marmarek@invisiblethingslab.com)
- Preserve timestamps when building fs image (marmarek@invisiblethingslab.com)
- Use SOURCE_DATE_EPOCH for metadata timestamps (marmarek@invisiblethingslab.com)
2018-10-29 16:10:02 -07:00
Brian C. Lane
6456a084d2 - Update depsolving with suggestions from dnf (#1636239) (bcl@redhat.com)
- Disable false context-manager pylint error (bcl@redhat.com)
- Fix directory creation for blueprints (bcl@redhat.com)
- Update the tests for new make_dnf_dir arguments. (bcl@redhat.com)
- Change make_dnf_dirs to be run as root (bcl@redhat.com)
- Fix vhd images (vponcova@redhat.com)
2018-10-12 15:58:04 -07:00
Brian C. Lane
d57e0f08ac - Add an openstack image type (bcl@redhat.com)
- Add cloud-init to vhd images. (dshea@redhat.com)
- Replace /etc/machine-id with an empty file (dshea@redhat.com)
2018-10-09 11:37:05 -07:00
Brian C. Lane
3e0806e6df - Update cli tests to use composer-cli name (bcl@redhat.com)
- Revert "Rename composer-cli to composer" (bcl@redhat.com)
2018-10-08 15:41:11 -07:00
Brian C. Lane
52194d0f15 - Work around dnf problem with multiple repos (bcl@redhat.com)
- Add and enable cloud-init for ami images (lars@karlitski.net)
- Make no-virt generated images sparser (dshea@redhat.com)
- New lorax documentation - 30.1 (bcl@redhat.com)
2018-10-05 14:44:44 -07:00
Brian C. Lane
261de08905 - Report an error if the blueprint doesn't exist (bcl@redhat.com)
- cli: Clarify error message for unprivileged access (lars@karlitski.net)
- Write a rootpw line if no root customizations in the blueprint (bcl@redhat.com)
2018-10-03 16:57:34 -07:00
Brian C. Lane
a8de4ffe83 - Add beakerlib to Dockerfile.test (bcl@redhat.com)
- Adjust the new templates for locked root (bcl@redhat.com)
- Adjust projects test for DNF 3.6.1 tuple issue (bcl@redhat.com)
- Don't try to append to DNF config value that can't take it (awilliam@redhat.com)
- Always update repo metadata when building an image (bcl@redhat.com)
- Add a test for repo metadata expiration (bcl@redhat.com)
- Add tests for setting root password and ssh key with blueprints (bcl@redhat.com)
- Use rootpw for setting the root password instead of user (bcl@redhat.com)
- Lock the root account, except on live-iso (bcl@redhat.com)
- Add new compose types to compose sanity test (dshea@redhat.com)
- Add virt guest agents to the qcow2 compose (dshea@redhat.com)
- Add a vmdk compose type. (dshea@redhat.com)
- Add a vhd compose type for Azure images (dshea@redhat.com)
- Add an ami compose type for AWS images (dshea@redhat.com)
- Remove --fstype from the generated part line (dshea@redhat.com)
- Also run `make check` on travis (lars@karlitski.net)
- Fix pylint errors and warnings (lars@karlitski.net)
- New cli test covering basic compose commands (atodorov@redhat.com)
- Update glusterfs to 5.* (atodorov@redhat.com)
- Execute bash tests for composer-cli (atodorov@redhat.com)
- Rename composer-cli to composer (lars@karlitski.net)
- Include python3-pyatspi on boot.iso (#1506595) (bcl@redhat.com)
- Start a HACKING.md file and document how to run the tests (stefw@redhat.com)
- tests: Fix tests so they run on Fedora 28 (stefw@redhat.com)
- Ignore files created by tests (stefw@redhat.com)
- Makefile: Fix the 'make install' target (stefw@redhat.com)
- Replace CJK fonts with Google Noto CJK (akira@tagoh.org)
- Fix a DeprecationWarning (dshea@redhat.com)
- Fix the expected versions of blueprint components (dshea@redhat.com)
- Switch the test container back to rawhide (dshea@redhat.com)
2018-10-02 16:44:40 -07:00
Adam Williamson
d924be0c9e Backport PR #480 for DNF 3.6 compatibility (RHBZ #1595917) 2018-09-26 19:40:37 -07:00
Brian C. Lane
b97aa3bf95 - Add a Makefile target for building html docs using a rawhide environment (bcl@redhat.com)
- Revert "Don't activate default auto connections after switchroot" (rvykydal@redhat.com)
- Need to explicitly require python3-librepo (#1626413) (bcl@redhat.com)
- New lorax documentation - 29.14 (bcl@redhat.com)
2018-09-07 10:11:25 -07:00
Brian C. Lane
d1ca11561e - Add the create ISO component for ARMv7 (pbrobinson@gmail.com)
- Don't activate default auto connections after switchroot (rvykydal@redhat.com)
- Ignore a pylint warning about UnquotingConfigParser get args (bcl@redhat.com)
- Ditch all use of pyanaconda's simpleconfig (awilliam@redhat.com)
2018-09-06 10:02:33 -07:00
Adam Williamson
9ce2f293e7 Correct a bug in the patch from -2 2018-08-30 15:17:20 -07:00
Adam Williamson
3e4ca33b71 Backport PR#451 to avoid undeclared pyanaconda dependency 2018-08-30 12:14:08 -07:00
Brian C. Lane
7788d2f777 - Update the example blueprints for rawhide (bcl@redhat.com)
- Bump required dnf version to 3.2.0 for module_platform_id support (bcl@redhat.com)
- Add support for DNF 3.2 module_platform_id config value (bcl@redhat.com)
- lorax: Only run depmod on the installed kernels (bcl@redhat.com)
2018-08-29 15:49:51 -07:00
Brian C. Lane
9ec2e3dfcf - Minor package fixes for aarch64/ARMv7 (pbrobinson@gmail.com) 2018-08-28 13:02:21 -07:00
Brian C. Lane
a653f71638 - 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/<uuid> (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)
2018-08-27 15:38:09 -07:00
Brian C. Lane
e0ba3dafff - 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)
2018-07-20 15:54:37 -07:00
Fedora Release Engineering
3188a8484b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 09:22:02 +00:00
Jason Tibbitts
23a16fce24 Remove needless use of %defattr 2018-07-10 01:50:20 -05:00
Miro Hrončok
9a374c61a5 Rebuilt for Python 3.7 2018-07-02 18:22:42 +02:00
Brian C. Lane
c5619fd991 - 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)
2018-06-27 16:30:53 -07:00
Adam Williamson
8c7483b422 Patch for DNF 3 compatibility 2018-06-26 14:45:06 -07:00
Brian C. Lane
197c674e4f - 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)
2018-06-22 09:24:50 -07:00
Miro Hrončok
5d27aa303d Rebuilt for Python 3.7 2018-06-19 00:55:59 +02:00
Brian C. Lane
5a11a5fa2d - 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)
2018-06-07 09:07:45 -07:00
Brian C. Lane
5ae848fd61 - 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)
2018-06-04 16:31:38 -07:00
Brian C. Lane
66a99c8550 - templates: Stop using gconfset (walters@verbum.org)
- Add support for version globs to blueprints (bcl@redhat.com)
- Update atlas blueprint (bcl@redhat.com)
2018-05-23 16:24:14 -07:00
Brian C. Lane
ebc9261641 - Update documentation (#1430906) (bcl@redhat.com)
- really kill kernel-bootwrapper on ppc (dan@danny.cz)
2018-05-17 13:23:00 -07:00
Brian C. Lane
d55c6c965e - Update the README with relevant URLs (bcl@redhat.com)
- Fix documentation for enabling lorax-composer.socket (bcl@redhat.com)
- Add support for systemd socket activation (bcl@redhat.com)
- Remove -boot-info-table from s390 boot.iso creation (#1478448) (bcl@redhat.com)
- Update the generated html docs (bcl@redhat.com)
- Add documentation for lorax-composer and composer-cli (bcl@redhat.com)
- Move lorax-composer and composer-cli argument parsing into modules (bcl@redhat.com)
- Update composer templates for use with Fedora (bcl@redhat.com)
- Add new cmdline args to compose_args settings (bcl@redhat.com)
- lorax-composer also requires tar (bcl@redhat.com)
- Remove temporary files after run_compose (bcl@redhat.com)
- Add --proxy to lorax-composer cmdline (bcl@redhat.com)
- Pass the --tmp value into run_creator and cleanup after a crash (bcl@redhat.com)
- Add --tmp to lorax-composer and set default tempdir (bcl@redhat.com)
- Set lorax_templates to the correct directory (bcl@redhat.com)
- Adjust the disk size estimates to match Anaconda (bcl@redhat.com)
- Skip creating groups with the same name as a user (bcl@redhat.com)
- Add user and group creation to blueprint (bcl@redhat.com)
- Add blueprint customization support for hostname and ssh key (bcl@redhat.com)
- Update setup.py for lorax-composer and composer-cli (bcl@redhat.com)
- Add composer-cli and tests (bcl@redhat.com)
- Fix the compose arguments for the Fedora version of Anaconda (bcl@redhat.com)
- Add selinux check to lorax-composer (bcl@redhat.com)
- Update test_server for blueprint and Yum to DNF changes. (bcl@redhat.com)
- Convert Yum usage to DNF (bcl@redhat.com)
- workspace read and write needs UTF-8 conversion (bcl@redhat.com)
- Return an empty list if depsolve results are empty (bcl@redhat.com)
- The git blob needs to be bytes (bcl@redhat.com)
- Remove bin and sbin from nose (bcl@redhat.com)
- Update the test blueprints (bcl@redhat.com)
- Ignore more pylint errors (bcl@redhat.com)
- Use default commit sort order instead of TIME (bcl@redhat.com)
- Add lorax-composer and the composer kickstart templates (bcl@redhat.com)
- Update pylorax.api.projects for DNF usage (bcl@redhat.com)
- Update dnfbase (formerly yumbase) for DNF support (bcl@redhat.com)
- Move core of livemedia-creator into pylorax.creator (bcl@redhat.com)
- Update dnfbase tests (bcl@redhat.com)
- Convert lorax-composer yum base object to DNF (bcl@redhat.com)
- Use 2to3 to convert the python2 lorax-composer code to python3 (bcl@redhat.com)
- Add the tests from lorax-composer branch (bcl@redhat.com)
- Update .dockerignore (bcl@redhat.com)
- Update lorax.spec for lorax-composer (bcl@redhat.com)
- livemedia-creator: Move core functions into pylorax modules (bcl@redhat.com)
2018-05-14 15:35:12 -07:00
Brian C. Lane
a478e18d39 - 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)
2018-05-03 09:06:13 -07:00
Brian C. Lane
4bb3ecd749 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)
2018-04-09 13:45:56 -07:00
Brian C. Lane
f80078fb42 - 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)
2018-03-15 14:24:53 -07:00
Adam Williamson
b9d3f8f973 Add a logging patch to investigate compose failures (releng #7355) 2018-02-27 15:38:55 -08:00
7 changed files with 1006 additions and 1329 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

144
.gitignore vendored
View file

@ -124,3 +124,147 @@
/lorax-28.6.tar.gz
/lorax-28.7.tar.gz
/lorax-28.8.tar.gz
/lorax-29.0.tar.gz
/lorax-29.1.tar.gz
/lorax-29.2.tar.gz
/lorax-29.3.tar.gz
/lorax-29.4.tar.gz
/lorax-29.5.tar.gz
/lorax-29.6.tar.gz
/lorax-29.7.tar.gz
/lorax-29.8.tar.gz
/lorax-29.9.tar.gz
/lorax-29.10.tar.gz
/lorax-29.11.tar.gz
/lorax-29.12.tar.gz
/lorax-29.13.tar.gz
/lorax-29.14.tar.gz
/lorax-29.15.tar.gz
/lorax-30.0.tar.gz
/lorax-30.1.tar.gz
/lorax-30.2.tar.gz
/lorax-30.3.tar.gz
/lorax-30.4.tar.gz
/lorax-30.5.tar.gz
/lorax-30.6.tar.gz
/lorax-30.7.tar.gz
/lorax-30.8.tar.gz
/lorax-30.9.tar.gz
/lorax-30.10.tar.gz
/lorax-30.12.tar.gz
/lorax-30.13.tar.gz
/lorax-30.14.tar.gz
/lorax-30.15.tar.gz
/lorax-30.16.tar.gz
/lorax-31.0.tar.gz
/lorax-31.1.tar.gz
/lorax-31.2.tar.gz
/lorax-31.3.tar.gz
/lorax-31.4.tar.gz
/lorax-31.5.tar.gz
/lorax-31.6.tar.gz
/lorax-31.7.tar.gz
/lorax-31.8.tar.gz
/lorax-31.9.tar.gz
/lorax-31.10.tar.gz
/lorax-32.0.tar.gz
/lorax-32.1.tar.gz
/lorax-32.2.tar.gz
/lorax-32.3.tar.gz
/lorax-32.4.tar.gz
/lorax-32.5.tar.gz
/lorax-32.6.tar.gz
/lorax-32.7.tar.gz
/lorax-33.0.tar.gz
/lorax-33.1.tar.gz
/lorax-33.2.tar.gz
/lorax-33.3.tar.gz
/lorax-33.4.tar.gz
/lorax-33.5.tar.gz
/lorax-33.6.tar.gz
/lorax-33.7.tar.gz
/lorax-33.8.tar.gz
/lorax-33.9.tar.gz
/lorax-34.0.tar.gz
/lorax-34.1.tar.gz
/lorax-34.2.tar.gz
/lorax-34.3.tar.gz
/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

7
gating.yaml Normal file
View file

@ -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}

1904
lorax.spec

File diff suppressed because it is too large Load diff

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-28.8.tar.gz) = 0d2ee0306968f78ee183c0bb1fdc407d7b1500ff726085d1b02a79880cc25c139d9ac85664c86d0c1cdaa02fc2bcfe709520023763693cb839520360edf17d9f
SHA512 (lorax-44.4.tar.gz) = e2be9a13a0aec657bfe9a32dbd51e9024dfcb89471dbc57b8206dccdcd71cf5561fb25f97a7fdaca2b0279a2966b142ddf4e4544577ac2b47171f19648742577

274
tests/scripts/run_tests.sh Executable file
View file

@ -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