Commit Graph

53 Commits

Author SHA1 Message Date
Brian C. Lane
2c05da4ca9 tests: Use tmt testing instead of STI
This also supports running the tests on aarch64.

Resolves: RHEL-50326
2024-07-23 17:48:07 -07:00
Brian C. Lane
095714aa20 tests: Do not use centos-addons or epel repos for the test build
The tmt systems have a number of extra repos installed, and they can
cause package selection conflicts with baseos and appstream. Exclude
them from the list passed to lorax for building the test boot.iso

Related: RHEL-49677
2024-07-18 09:25:31 -07:00
Brian C. Lane
0f0f9f0764 tests: Replace $stream with 9-stream
Lorax doesn't use the variable substitution from the host so hard-code
this in the repo files before passing them to lorax.

Resolves: RHEL-49677
2024-07-18 09:06:04 -07:00
Brian C. Lane
e2ea2aceb7 - monitor: Skip repo errors involving CDROM/file source (bcl) (bcl)
Resolves: RHEL-4658
- rsyslog.conf: Update to use current config syntax (bcl) (bcl)
  Resolves: RHEL-46857
2024-07-18 08:40:04 -07:00
Brian C. Lane
dda1750b04 - templates: Remove libreport bugzilla plugins (bcl)
Resolves: RHEL-24420
2024-02-06 14:39:13 -08:00
Brian C. Lane
267b7c4a60 - Add setpriv as ostree containers dependency (jkonecny)
Resolves: RHEL-15123
2023-11-03 11:36:02 -07:00
Brian C. Lane
0edd2d1f92 - rsyslog.conf: Set WorkDirectory to /var/lib/rsyslog (bcl)
Resolves: rhbz#2158731
- lorax.spec: fix changelog entry for 2132511 (bcl)
  Related: rhbz#2132511
2023-01-11 11:02:10 -08:00
Brian C. Lane
f762ec0603 - On ppc64le Use core.elf from grub2 package (bcl)
Resolves: rhbz#2143994
2022-11-28 15:34:59 -08:00
Brian C. Lane
ee939adbed - livemedia-creator: Allow file: url without networking (bcl)
Resolves: rhbz#2132511
2022-11-18 15:41:09 -08:00
Brian C. Lane
9db14f4617 - templates: Update runtime-* templates (bcl)
Resolves: rhbz#2042057
- templates: Update path to license files (bcl)
  Related: rhbz#2042057
- templates: Update boot timeout to 5s (bcl)
  Related: rhbz#2042057
2022-07-29 10:44:15 -07:00
Brian C. Lane
d142062a3a - mkksiso: Optionally support 3 arguments or --ks (bcl)
Resolves: rhbz#2037015
- mkksiso: Add -U to xorriso on ppc64le (bcl)
  Resolves: rhbz#2109665
- mkksiso: Fix passing -iso-level to xorriso (bcl)
  Related: rhbz#2109665
2022-07-25 11:18:29 -07:00
Brian C. Lane
8ac909e342 tests: Add test for positional kickstart usage
Related: rhbz#2037015
2022-07-25 11:16:29 -07:00
Brian C. Lane
ef79996dbe - mkksiso: Set u+rw permission on extracted files and directories (bcl)
Related: rhbz#2088631
- lorax.spec: Fix changelog (bcl)
  Resolves: rhbz#1972099
2022-07-13 15:40:06 -07:00
Brian C. Lane
143e19517d 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.

Related: rhbz#2088631
2022-07-13 14:00:18 -07:00
Brian C. Lane
888a9a4720 - minimal.ks: Add include for architecture specific packages (bcl)
Related: rhbz#2051548
- livemedia.ks: Add include for architecture specific packages (bcl)
  Resolves: rhbz#2051548
- tests: Add tests for mkksiso (bcl)
  Related: rhbz#2037015
- mkksiso: Add kernel cmdline customization support (bcl)
  Resolves: rhbz#2037015
- mkksiso: Move kickstart to --ks KICKSTART (bcl)
  Related: rhbz#2037015
- mkksiso: Add helper functions for kernel cmdline modifications (bcl)
  Related: rhbz#2037015
- lorax.spec: Fix changelog order (bcl)
  Resolves: rhbz#1972099
2022-06-29 12:11:35 -07:00
Brian C. Lane
3222ecb13b tests: Update run_tests.sh for new mkksiso syntax
The new version requires '--ks KS' to be passed to it and now supports
removing cmdline values before adding new ones.

Related: rhbz#2037015
2022-06-28 16:01:05 -07:00
Brian C. Lane
7f3b52ec74 - Makefile: Add local-srpm target to create a .src.rpm from HEAD (bcl)
Related: rhbz#2088631
- mkksiso: Fix s390x support (bcl)
  Related: rhbz#2088631
- mkksiso: Remove use of os.path.join (bcl)
  Related: rhbz#2088631
- Makefile: Add mkksiso to coverage report (bcl)
  Related: rhbz#2088631
- setup.py: Install mkksiso to /usr/bin (bcl)
  Related: rhbz#2088631
- mkksiso: Fix grub2 editing error (bcl)
  Related: rhbz#2088631
- mkksiso: Rewrite to use xorriso features (bcl)
  Resolves: rhbz#2088631
2022-06-17 11:14:44 -07:00
Brian C. Lane
b10dbfa7d1 tests: Update run_tests.sh for new mkksiso
Related: rhbz#2088631
2022-06-15 15:19:22 -07:00
Brian C. Lane
b4f9339f7e - tito: Add the LoraxRHELTagger from rhel8-branch (bcl)
Related: rhbz#2070910
- runtime-postinstall: Remove machine specific nvme files (bcl)
  Resolves: rhbz#2070910
2022-04-06 11:27:14 -07:00
Brian C. Lane
bd75548c35 - Keep nvram module (bcl@redhat.com)
Resolves: rhbz#2050877
2022-02-16 12:59:26 -08:00
Brian C. Lane
ef0aef9060 - mkksiso: Fix check for unsupported arch error (bcl@redhat.com)
Related: rhbz#2049192
2022-02-04 09:33:59 -08:00
Brian C. Lane
b4b098c21d - mkksiso: Improve debug message about unsupported arch (bcl@redhat.com)
Related: rhbz#2049192
- mkksiso: Add kickstart to s390x cdboot.prm (bcl@redhat.com)
  Resolves: rhbz#2049192
2022-02-03 16:36:38 -08:00
Brian C. Lane
6e109343b7 - Enable sftp when using inst.sshd (bcl@redhat.com)
Resolves: rhbz#2040770
- Drop ia32 uefi package installation (bcl@redhat.com)
  Resolves: rhbz#2039035
- Remove 32-bit UEFI packages from example kickstart (bcl@redhat.com)
  Related: rhbz#2039035
2022-01-20 14:13:13 -08:00
Brian C. Lane
aabb5a3c6a - mkksiso: Check the length of the filenames (bcl@redhat.com)
Related: rhbz#2028104
- mkksiso: Check the iso's arch against the host's (bcl@redhat.com)
  Related: rhbz#2028104
- mkksiso: Add missing implantisomd5 tool requirements (bcl@redhat.com)
  Related: rhbz#2028104
- mkksiso: Raise error if no volume id is found (bcl@redhat.com)
  Related: rhbz#2028104
- mount: Add s390x support to IsoMountopoint (bcl@redhat.com)
  Resolves: rhbz#2028104
- mkksiso: Skip mkefiboot for non-UEFI isos (bcl@redhat.com)
- mkksiso: Add -joliet-long (bcl@redhat.com)
  Related: rhbz#2028104
- mkksiso: Return 1 on errors (bcl@redhat.com)
  Related: rhbz#2028104
2021-12-09 10:06:49 -08:00
Brian C. Lane
1201b8b669 tests: Only use repo files
In some cases a directory ending in repo could be included in the list,
causing the test to fail.

Resolves: rhbz#2023457
2021-11-15 10:54:30 -08:00
Brian C. Lane
7ec1171035 - Change macboot default to false (bcl@redhat.com)
and remove --nomacboot from the gating test.
  Resolves: rhbz#2019512
- livemedia-creator: Change defaults to Red Hat Enterprise Linux 9 (bcl@redhat.com)
  Resolves: rhbz#2019133
2021-11-03 18:11:15 -07:00
Brian C. Lane
b010566019 - livemedia.ks: Drop unneeded commands (bcl@redhat.com)
Related: rhbz#2017993
- livemedia.ks: Install workstation-product-environment (bcl@redhat.com)
  Resolves: rhbz#2017993
- templates: Change nomodeset / basic graphics to use inst.text (bcl@redhat.com)
  Related: rhbz#1961092
- templates: Drop nomodeset / basic graphics menu from live configs (bcl@redhat.com)
  Related: rhbz#1961092
- livemedia.ks: Add isomd5sum for use with rd.live.check (bcl@redhat.com)
  Resolves: rhbz#2015908
2021-10-29 11:44:30 -07:00
Brian C. Lane
58fed6149f - runtime-cleanup: Remove dropped package from template (bcl@redhat.com)
Related: rhbz#1991006
- sshd_config: Update sshd options (bcl@redhat.com)
  Related: rhbz#2007288
- Install nvme-cli tool (bcl@redhat.com)
  Related: rhbz#2010254
- When running the tests in docker/podman use the Fedora 34 image (bcl@redhat.com)
  Related: rhbz#2010542
- Fix pylint warnings about string formatting (bcl@redhat.com)
  Related: rhbz#2010542
- tests: Ignore new pylint warnings (bcl@redhat.com)
  Resolves: rhbz#2010542
2021-10-06 11:03:43 -07:00
Brian C. Lane
a7a3c2b228 rpminspect: Allow lorax-lmc-virt and lorax-lmc-novirt
Resolves: rhbz#2009457
2021-09-30 10:21:30 -07:00
Brian C. Lane
3d7697c7c2 - github: Run tests for rhel9-branch PRs (bcl@redhat.com) Related: rhbz#2000439 - Install unicode.pf2 from new directory (bcl@redhat.com) Resolves: rhbz#2000439 2021-09-28 08:51:49 -07:00
Mohan Boddu
5e8a0fac68 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:02:45 +00:00
Brian C. Lane
b09e0f64e6 Lazy unmount the test dirs
Sometimes something outside our control hangs onto the mounts.

Related: rhbz#1975844
2021-07-15 15:24:41 -07:00
Brian C. Lane
277fc0d92d - Add a context manager for dracut (bcl@redhat.com)
Resolves: rhbz#1982271
- spec: Fix bug number for dropping gfs2-utils (bcl@redhat.com)
  Related: rhbz#1975378
2021-07-15 10:34:01 -07:00
Brian C. Lane
cd5a1eef48 - mkksiso: cmdline should default to empty string (bcl@redhat.com)
Related: rhbz#1975844
- runtime-install: Remove gfs2-utils (bcl@redhat.com)
  Related: rhbz#1975378
2021-06-28 16:01:24 -07:00
Brian C. Lane
0c406f7bec tests: Add mkksiso gating tests
Resolves: rhbz#1975844
2021-06-25 13:13:07 -07:00
Brian C. Lane
8cb86b6f40 - livemedia-creator: Check for mkfs.hfsplus (bcl@redhat.com)
Resolves: rhbz#1969743
2021-06-10 11:25:05 -07:00
Brian C. Lane
62247c3ada gating.yaml: Add rhel-9 to product_versions 2021-06-07 15:51:57 -07:00
Brian C. Lane
437f9120b2 - Add prefixdevname to Anaconda initramfs (rvykydal@redhat.com)
Related: rhbz#1958173
- Replace metacity with gnome-kiosk (bcl@redhat.com)
  Related: rhbz#1961099
- runtime-install: Install ipcalc (bcl@redhat.com)
  Related: rhbz#1958173
- spec: Update lorax-lmc-virt packages for rhel9 arches (bcl@redhat.com)
  Related: rhbz#1955674
2021-05-25 09:52:45 -07:00
Brian C. Lane
7b62acda4d - qemu-kvm isn't available on ppc64le
- edk2-aarch64 has the UEFI firmware on aarch64
  Related: rhbz#1955674
2021-05-05 16:54:48 -07:00
Brian C. Lane
11c866225f - livemedia-creator: Use inst.ks on cmdline for virt (bcl@redhat.com)
- image-minimizer: Fix decode() usage (bcl@redhat.com)
- docs: Update example kickstarts for RHEL/CentOS (bcl@redhat.com)
- livemedia-creator: RHEL9 only supports qemu-kvm (bcl@redhat.com)
  Resolves: rhbz#1955674
- runtime-cleanup: Use branding package name instead of product.name (bcl@redhat.com)
- treebuilder: Add branding package to template variables (bcl@redhat.com)
  Related: rhbz#1956205
- runtime-cleanup: Remove mcpp and libmcpp cleanup (bcl@redhat.com)
- spec: Fix changelog for 34.9.0 (bcl@redhat.com)
2021-05-05 11:57:01 -07:00
Brian C. Lane
51a7a1265f tests: Add gating tests
Run lorax with lorax-templates-rhel to build a boot.iso

Resolves: rhbz#1956563
2021-05-04 08:52:45 -07:00
Brian C. Lane
78d2a46ddc Update README.md
Related: rhbz#1952978
2021-04-29 11:53:23 -07:00
Brian C. Lane
c88e969551 - New lorax documentation - 34.9.0 (bcl@redhat.com)
Related: rhbz#1952978
- composer-cli: Remove all traces of composer-cli (bcl@redhat.com)
  Resolves: rhbz#1952978
2021-04-29 11:40:12 -07:00
Mohan Boddu
e56c07c20e - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 01:53:35 +00:00
Brian C. Lane
e55b30ca6d - Use inst.rescue to trigger rescue mode (awilliam@redhat.com)
Resolves: rhbz#1928318
2021-02-16 10:23:10 -08:00
Brian C. Lane
3fdf6dde17 Update to upstream v34.8-1 from rhel9-branch tag lorax-34.8-1.el9 2021-02-08 11:31:04 -08:00
Brian C. Lane
18be4c0fe7 - lorax.spec: Drop GConf2 requirement
Resolves: rhbz#1904955
2020-12-08 11:21:53 -08:00
Brian C. Lane
12113ae612 - Update to upstream 34.5 from rhel9-branch
NOTE: This branch includes the extra patches that were in this repo
- Add README.md describing how this package is maintained
2020-12-02 11:48:00 -08:00
Brian C. Lane
ec25461099 - Drop unused proc/mount patch
- lorax: Strip ' from product cmdline argument
  temporary fix for pungi bug: https://pagure.io/pungi/pull-request/1463
2020-10-29 09:48:40 -07:00
Brian C. Lane
58cfa8151f
Increase boot.iso rootfs to 3GiB
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-28 08:43:22 -04:00