Commit Graph

2615 Commits

Author SHA1 Message Date
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
Brian C. Lane
bcf1a491da Automatic commit of package [lorax] release [34.9.2-1].
Created by command:

/usr/bin/tito tag
2021-05-25 09:49:35 -07:00
Radek Vykydal
17f4a79207 Add prefixdevname to Anaconda initramfs
Related: rhbz#1958173
2021-05-24 08:21:54 -07:00
Brian C. Lane
6829f9f8a8 Replace metacity with gnome-kiosk
Related: rhbz#1961099
2021-05-20 10:19:59 -07:00
Brian C. Lane
bd80a0a0ee runtime-install: Install ipcalc
Related: rhbz#1958173
2021-05-10 15:26:40 -07:00
Brian C. Lane
77fb8bd9f2 spec: Update lorax-lmc-virt packages for rhel9 arches
- qemu-kvm isn't available on ppc64le
- edk2-aarch64 has the UEFI firmware on aarch64

Related: rhbz#1955674
2021-05-05 16:51:21 -07:00
Brian C. Lane
ff30248c09 Automatic commit of package [lorax] release [34.9.1-1].
Created by command:

/usr/bin/tito tag
2021-05-05 11:43:11 -07:00
Brian C. Lane
65cb81e7de livemedia-creator: Use inst.ks on cmdline for virt
Related: rhbz#1955674
2021-05-05 11:26:09 -07:00
Brian C. Lane
17cb4f879f image-minimizer: Fix decode() usage
Related: rhbz#1955674
2021-05-05 11:26:09 -07:00
Brian C. Lane
427e364388 docs: Update example kickstarts for RHEL/CentOS
Related: rhbz#1955674
2021-05-05 11:26:09 -07:00
Brian C. Lane
b240c9bf1a livemedia-creator: RHEL9 only supports qemu-kvm
Return an error if --arch is passed, and drop the mapping to
qemu-system-<arch> from installer.py and replace it with
/usr/libexec/qemu-kvm

Resolves: rhbz#1955674
2021-05-05 11:26:09 -07:00
Brian C. Lane
04dccefa5b runtime-cleanup: Use branding package name instead of product.name
Related: rhbz#1956205
2021-05-05 11:19:13 -07:00
Brian C. Lane
980e628835 treebuilder: Add branding package to template variables
The branding package name doesn't always match the product name.  This
saves the branding package names as discovered in the enabled repos and
exposes it to the templates as branding.release and branding.logos --
which could potentially be None so the template needs to take that into
account.

Related: rhbz#1956205
2021-05-05 11:19:09 -07:00
Brian C. Lane
6af2e23cc1 runtime-cleanup: Remove mcpp and libmcpp cleanup
Related: rhbz#1955429
2021-05-03 10:07:14 -07:00
Brian C. Lane
34e0af08c8 spec: Fix changelog for 34.9.0
Related: rhbz#1952978
2021-04-29 11:39:23 -07:00
Brian C. Lane
34cb4b762d Automatic commit of package [lorax] release [34.9.0-1].
Created by command:

/usr/bin/tito tag --keep-version
2021-04-29 11:24:14 -07:00