Commit Graph

2630 Commits

Author SHA1 Message Date
soksanichenko
cf2fe76806 - Bump version
- Update changelog
2022-03-22 14:50:05 +02:00
soksanichenko
f821a94ec4 Merge pull request 'ALBS-226: Patch pungi/lorax for building AL9' (#1) from ALBS-226 into rhel9-branch
Reviewed-on: #1
2022-03-21 15:52:53 +00:00
soksanichenko
e1e10b4fb0 ALBS-226: Patch pungi/lorax for building AL9
- Lorax fails if a mounted on tmpfs image is busy
  (should use python function umount instead Linux utility umount directly)
2022-03-18 23:17:33 +02:00
Brian C. Lane
b3a15208ce Automatic commit of package [lorax] release [34.9.14-1].
Created by command:

/usr/bin/tito tag
2022-02-16 12:57:14 -08:00
Brian C. Lane
616d88cea2 Keep nvram module
Resolves: rhbz#2050877
2022-02-07 09:28:15 -08:00
Brian C. Lane
69bbe52114 Automatic commit of package [lorax] release [34.9.13-1].
Created by command:

/usr/bin/tito tag
2022-02-04 09:32:14 -08:00
Brian C. Lane
66ce35d9b8 mkksiso: Fix check for unsupported arch error
An unsupported arch isn't an error, just skip running MdCdbootImg on
non-s390x systems.

Related: rhbz#2049192
2022-02-04 09:31:42 -08:00
Brian C. Lane
91c34c195a Automatic commit of package [lorax] release [34.9.12-1].
Created by command:

/usr/bin/tito tag
2022-02-03 16:34:46 -08:00
Brian C. Lane
4634d16117 mkksiso: Improve debug message about unsupported arch
Related: rhbz#2049192
2022-02-03 16:32:47 -08:00
Brian C. Lane
a9327d9f32 mkksiso: Add kickstart to s390x cdboot.prm
And regenerate the cdboot.img

Resolves: rhbz#2049192
2022-02-03 16:32:35 -08:00
Brian C. Lane
5a57935ae9 Automatic commit of package [lorax] release [34.9.11-1].
Created by command:

/usr/bin/tito tag
2022-01-20 14:11:17 -08:00
Brian C. Lane
ae7bffb2a9 Enable sftp when using inst.sshd
scp in openssh 8.7 will change to use sftp protocol. See
https://github.com/openssh/openssh-portable/pull/194 for details.

This enables the sshd internal-sftp implementation so that newer scp
versions will continue to work as expected. Note that the sshd service
is only running during the installation if inst.sshd is passed on the
kernel cmdline.

Resolves: rhbz#2040770
2022-01-18 09:41:07 -08:00
Brian C. Lane
4e176b009a Drop ia32 uefi package installation
32bit uefi installations are not supported.

Resolves: rhbz#2039035
2022-01-18 09:39:12 -08:00
Brian C. Lane
fa5d936df7 Remove 32-bit UEFI packages from example kickstart
Related: rhbz#2039035
2022-01-18 09:37:05 -08:00
Brian C. Lane
2e33cf7223 Automatic commit of package [lorax] release [34.9.10-1].
Created by command:

/usr/bin/tito tag
2021-12-09 10:04:29 -08:00
Brian C. Lane
ba872b915f mkksiso: Check the length of the filenames
With -joliet-long it allows longer filenames, but silently drops the
ones longer than 253 characters. Check for this and raise an error.

Related: rhbz#2028104
2021-12-09 09:38:06 -08:00
Brian C. Lane
1644a5db11 mkksiso: Check the iso's arch against the host's
mkksiso cannot be run on an iso from another arch, some of the files and
tools are arch specific. Catch this problem and tell the user that the
iso doesn't match the host's architecture.

Related: rhbz#2028104
2021-12-09 09:38:06 -08:00
Brian C. Lane
fc5efafe18 mkksiso: Add missing implantisomd5 tool requirements
Related: rhbz#2028104
2021-12-07 15:23:40 -08:00
Brian C. Lane
deffaeea86 mkksiso: Raise error if no volume id is found
It is possible the source iso doesn't have an id, or there is an errorr
reading it. Raise an error when this happens to make it more clear what
the problem is.

Related: rhbz#2028104
2021-12-07 15:23:33 -08:00
Brian C. Lane
7b93703568 mount: Add s390x support to IsoMountopoint
kernel and initrd are under images/ on the iso.

Resolves: rhbz#2028104
2021-12-07 15:23:21 -08:00
Brian C. Lane
c5325eb010 mkksiso: Skip mkefiboot for non-UEFI isos
Related: rhbz#2028104
2021-12-07 15:23:09 -08:00
Brian C. Lane
0fa98f76ff mkksiso: Add -joliet-long
DVD's or user content may use filenames > 64 characters. This increases
the limit to 103.

Related: rhbz#2028104
2021-12-07 15:22:54 -08:00
Brian C. Lane
0ca53768e0 mkksiso: Return 1 on errors
Related: rhbz#2028104
2021-12-07 15:22:43 -08:00
Brian C. Lane
2a77f49be9 Automatic commit of package [lorax] release [34.9.9-1].
Created by command:

/usr/bin/tito tag
2021-11-03 18:08:19 -07:00
Brian C. Lane
d2beffc589 Change macboot default to false
With this change users no longer need to pass --nomacboot.

Resolves: rhbz#2019512
2021-11-02 13:45:01 -07:00
Brian C. Lane
f320b3c8f4 livemedia-creator: Change defaults to Red Hat Enterprise Linux 9
This changes the releasever and project defaults to RHEL 9 values.

Resolves: rhbz#2019133
2021-11-02 11:22:02 -07:00
Brian C. Lane
bfa9b7aa9b Automatic commit of package [lorax] release [34.9.8-1].
Created by command:

/usr/bin/tito tag
2021-10-29 11:42:47 -07:00
Brian C. Lane
43f34c708e livemedia.ks: Drop unneeded commands
firstboot and gfs2-utils are no longer installed, remove the firstboot
systemctl commands and the reference to gfs2-utils removal in the
package section.

Related: rhbz#2017993
2021-10-29 11:09:29 -07:00
Brian C. Lane
6309bdb155 livemedia.ks: Install workstation-product-environment
This installs everything needed for the GNOME desktop, the resulting
image now boots into X and starts the desktop.

Resolves: rhbz#2017993
2021-10-29 11:09:27 -07:00
Brian C. Lane
0c8e1d44d6 templates: Change nomodeset / basic graphics to use inst.text
nomodeset no longer does anything helpful, so switch to booting in text
mode in the Troubleshooting menu.

Related: rhbz#1961092
2021-10-29 11:07:09 -07:00
Brian C. Lane
7e98b99846 templates: Drop nomodeset / basic graphics menu from live configs
nomodeset no long does anything helpful, and inst.text doesn't make sense
with a live image so drop the menu from the live image.

Related: rhbz#1961092
2021-10-29 11:07:09 -07:00
Brian C. Lane
d62b51c582 livemedia.ks: Add isomd5sum for use with rd.live.check
Resolves: rhbz#2015908
2021-10-27 10:22:16 -07:00
Brian C. Lane
08e1da64d9 Automatic commit of package [lorax] release [34.9.7-1].
Created by command:

/usr/bin/tito tag
2021-10-06 10:57:54 -07:00
Brian C. Lane
db57145f7e runtime-cleanup: Remove dropped package from template
cdparanoia has been dropped from the release.

Related: rhbz#1991006
2021-10-06 09:49:37 -07:00
Brian C. Lane
48cec0dac7 sshd_config: Update sshd options
Set 'PrintMotd no' because it is now handled by pam.

Related: rhbz#2007288
2021-10-05 12:00:32 -07:00
Brian C. Lane
f031f2850b Install nvme-cli tool
Related: rhbz#2010254
2021-10-05 11:50:56 -07:00
Brian C. Lane
ed1b4a6b22 When running the tests in docker/podman use the Fedora 34 image
until CentOS9 is released.

Related: rhbz#2010542
2021-10-05 11:37:27 -07:00
Brian C. Lane
3c9131bb35 Fix pylint warnings about string formatting
and one about unused exception value.

(cherry picked from commit f783ff77d4)

Related: rhbz#2010542
2021-10-05 10:41:07 -07:00
Brian C. Lane
531ad7d37d tests: Ignore new pylint warnings
Newer versions of pylint complain about u'' not being needed and using
open without setting encoding. These are valid warnings, but do not
effect the operation of lorax so they have been added to the
FalsePositive list in runpylint.py

(cherry picked from commit 49ff2c7d5c)

Resolves: rhbz#2010542
2021-10-05 10:39:23 -07:00
Brian C. Lane
b487de932b Automatic commit of package [lorax] release [34.9.6-1].
Created by command:

/usr/bin/tito tag
2021-09-09 10:56:10 -07:00
Brian C. Lane
473169c25b github: Run tests for rhel9-branch PRs
Related: rhbz#2000439
2021-09-02 09:55:55 -07:00
Brian C. Lane
b9fdecc823 Install unicode.pf2 from new directory
grub2-2.06-3 changes where the unicode.pf2 font file is stored.
This changes the efi.tmpl to install it from the new location, which
means that it depends on grub2-2.06-3, but there is no way to express
this in the runtime-install.tmpl so if you see a failure like:

2021-07-08 16:10:05,586:   OSError: nothing matching /var/tmp/lorax/lorax.t80f74er/installroot/boot/grub2/fonts/unicode.pf2 in /

it means the new version of grub2 wasn't in the repos you used when
running lorax.

Resolves: rhbz#2000439
2021-09-02 09:53:20 -07:00
Brian C. Lane
16d639c5bd Automatic commit of package [lorax] release [34.9.5-1].
Created by command:

/usr/bin/tito tag
2021-07-15 10:21:04 -07:00
Brian C. Lane
0485ef22f2 Add a context manager for dracut
dracut needs a reasonable chroot environment in order to run correctly.
This adds the DracutChroot context manager that sets up and tears down
mounts inside the root directory tree.

Switch to using it in creator.rebuild_initrds_for_live() and
TreeBuilder.rebuild_initrds()

(cherry picked from commit 322a810403)

Resolves: rhbz#1982271
2021-07-14 11:40:00 -07:00
Brian C. Lane
9f8df6b76c spec: Fix bug number for dropping gfs2-utils
Related: rhbz#1975378
2021-06-28 16:09:55 -07:00
Brian C. Lane
39055b5b1d Automatic commit of package [lorax] release [34.9.4-1].
Created by command:

/usr/bin/tito tag
2021-06-28 15:41:07 -07:00
Brian C. Lane
d70f0629f9 mkksiso: cmdline should default to empty string
Related: rhbz#1975844
2021-06-25 13:15:15 -07:00
Brian C. Lane
0d1777d98c runtime-install: Remove gfs2-utils
It is not needed on the installer media. Also remove references from
runtime-cleanup.tmpl

Related: rhbz#1975378
2021-06-24 09:04:01 -07:00
Brian C. Lane
54dc9e12b0 Automatic commit of package [lorax] release [34.9.3-1].
Created by command:

/usr/bin/tito tag
2021-06-10 11:20:29 -07:00
Brian C. Lane
5fa949a423 livemedia-creator: Check for mkfs.hfsplus
mkfs.hfsplus may not be installed so instead of crashing near the end of
the install check for it and print a useful error message.

Resolves: rhbz#1969743
2021-06-10 11:13:48 -07:00