Commit Graph

75 Commits

Author SHA1 Message Date
Brian C. Lane
771b7237ab Drop ppc 32 bit support from grub template for live iso
It wasn't working right, and we don't support 32 bit anyway, so update
to match non-live grub template with 64 bit only.

Resolves: rhbz#2017175
2021-11-01 10:18:52 -07:00
Brian C. Lane
0c4e1955ee Switch to using xorrisofs instead of mkisofs
We have already been using it via the mkisofs compatibility mode. Switch
to using it explicitly.

Resolves: rhbz#2017134
2021-10-26 14:18:37 -07:00
Brian C. Lane
4396864fdd 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.

Resolves: rhbz#1961092
2021-10-19 10:40:48 -07:00
Brian C. Lane
10631c540c 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-19 10:40:06 -07:00
Brian C. Lane
f457a3c5cf runtime-cleanup: Remove dropped packages from template
cdparanoia and genisoimage have been dropped from the release so they do
not need to be removed in the cleanup template.

Resolves: rhbz#1991006
2021-10-06 09:54:38 -07:00
Brian C. Lane
7ad61be29c Install nvme-cli tool
Resolves: rhbz#2010254
2021-10-06 09:54:38 -07:00
Brian C. Lane
87b0ef106d sshd_config: Update sshd options
Remove options that are the default, and set 'PrintMotd no' because that
is now handled by pam.

Resolves: rhbz#2007288
2021-10-06 09:54:38 -07:00
Brian C. Lane
ea0196dacc 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.

Related: rhbz#2003030
2021-09-29 14:06:05 -07:00
Radek Vykydal
0adb331cb4 runtime-postinstall: Move configuration of NM default autoconnections to Anaconda
The configuration will be created dynamically by Anaconda service
running before NM.

Related: rhbz#1978264
2021-07-21 16:26:43 +02:00
Brian C. Lane
0a14fa46ef runtime-install: Include Xorg and tigervnc on s390x for local GUI installation on KVM
Resolves: rhbz#1983688
2021-07-19 10:59:41 -07:00
Brian C. Lane
a0cd6f8f82 runtime-install: Remove gfs2-utils
It is not needed on the installer media. Also remove references from
runtime-cleanup.tmpl

Resolves: rhbz#1975378
2021-06-23 08:59:04 -07:00
Brian C. Lane
ec4c1c00f3 runtime-cleanup: libvorbis is still pulled in by dependencies
rvykydal pointed out that libvorbis is still pulled in via gnome-kiosk
dependencies so keep the removefrom line and update the comment.

Related: rhbz#1961099
2021-05-20 10:20:42 -07:00
Brian C. Lane
bd32471999 Replace metacity with gnome-kiosk
Resolves: rhbz#1961099
2021-05-19 09:35:21 -07:00
Brian C. Lane
af0897221d runtime-cleanup: branding.logos includes the full package name
so drop the -logos left over from using product.name

Resolves: rhbz#1956205
2021-05-10 16:45:54 -07:00
Brian C. Lane
9eb7ebfa87 runtime-install: Install ipcalc
Resolves: rhbz#1959130
2021-05-10 15:31:03 -07:00
Brian C. Lane
bd89c8d325 runtime-install: Install prefixdevname
Resolves: rhbz#1958173
2021-05-10 11:13:55 -07:00
Brian C. Lane
91133f1b20 runtime-cleanup: Use branding package name instead of product.name
This requires a new version of lorax, 34.9.1 or later.

Resolves: rhbz#1956205
2021-05-05 12:05:23 -07:00
Brian C. Lane
211225c717 runtime-cleanup: Remove dump from cleanup
Related: rhbz#1931762
2021-05-03 14:24:18 -07:00
Brian C. Lane
e95b9c4556 runtime-cleanup: Remove mcpp and libmcpp cleanup
These are no longer being pulled into the boot.iso by xorg-x11-server-utils

Resolves: rhbz#1955429
2021-05-03 09:39:01 -07:00
Brian C. Lane
fd5fb4ced5 Revert "Remove spice-vdagent"
This reverts commit d83b862d45.

We have decided to keep spice-vdagent in the boot.iso

Resolves: rhbz#1945898
2021-04-30 13:44:30 -07:00
Josh Boyer
d83b862d45 Remove spice-vdagent
Resolves: rhbz#1945898

Signed-off-by: Josh Boyer <jwboyer@redhat.com>
2021-04-05 09:34:46 -04:00
Brian C. Lane
2ca7a9af40 dump has been removed
restore is a new package in RHEL9, install it instead.

Resolves: rhbz#1931762
2021-03-04 11:16:51 -08:00
Adam Williamson
1e0dcdc7e5 Use inst.rescue to trigger rescue mode
anaconda in F34 and Rawhide recently stopped accepting params
without the inst. prefix, so 'rescue' does nothing except print
a warning now. We need to use `inst.rescue`. This has worked for
quite a long time so will be OK at least on all Fedoras and RHEL
8, not sure about RHEL 7.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
2021-02-16 10:31:11 -08:00
Vladimir Slavik
c0bb73fd29 Use image dependencies metapackage
The difference between the anaconda-install-{env,img}-deps packages is how
they treat dependencies. The -env package leaves some dependencies as weak to
allow less featureful builds. The -img package hard-requires everything
Anaconda could potentially use and ensures everything works.

For boot.iso, the latter is preferable. Its usage moves some things from the
templates to that package.

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2021-02-16 10:28:08 -08:00
Brian C. Lane
5e873481ad runtime-install: Remove system-storage-manager
Package is not being included in RHEL9.

Resolves: rhbz#1924154
2021-02-02 12:50:37 -08:00
Brian C. Lane
757ada921b Remove unsupported filesystem tools
Drops btrfs-progs jfsutils reiserfs-utils ntfs-3g ntfsprogs
2020-12-08 10:38:31 -08:00
Brian C. Lane
e61ef8cfc6 Switch to using upstream mk-s390image for s390 cdboot.img creation
mk-s390-cdboot has stopped working because the kernel outgrew the
hard-coded offset it used when creating cdboot.img. IBM now has a script
in s390utils that can do the same thing so use the upstream script
instead.

This drops mk-s390-cdboot script, switches the s390 templates to use
mk-s390image from s390utils.

It adds @ROOT@ to cdboot.prm, and sets inst.stage2 so that the installer
image will be found when booting the iso.

Resolves: rhbz#1903923
2020-12-03 08:20:15 -08:00
Simon Pichugin
06d3e5d6ac Don't remove libldap_r libraries during runtime-cleanup.tmpl
Signed-off-by: Brian C. Lane <bcl@brianlane.com>
2020-12-01 10:46:53 -08:00
Brian C. Lane
b2851afa22 Install device-mapper-multipath
This should be pulled in by libblockdev-mpath, but for some reason it is
not. It may be related to it being changed to a 'Recommends' -- but we
are not yet sure. So make sure it is included until that can be tracked
down.
2020-10-29 14:24:58 -07:00
Jan Kaluza
c7ecdf258d Add spice-vdagentd conf back - anaconda still needs it.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-29 09:37:18 +01:00
Jan Kaluza
ef060b024f Add spice-vdagent back - anaconda still needs it.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-29 08:44:38 +01:00
Stephen Gallagher
761c7e3dd8
Replace ppc64le template with upstream version
Fixes failure to build ppc64le ISO images.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-28 20:02:43 -04:00
Brian C. Lane
e40ce59ada Remove spice-vdagent 2020-10-27 09:49:43 -07:00
Brian C. Lane
d7ec6cc81e Initial RHEL 9 Alpha changes 2020-10-27 09:49:43 -07:00
Brian C. Lane
188583d5a2 rsyslog: Disable journal ratelimits during install
Every log entry is sacred

Related: rhbz#1752754
2020-07-07 15:26:52 -07:00
Dan Horák
a5c6296b9a include generic.ins for s390 boot iso
Include the generic.ins file on the s390 boot iso, so it's directly bootable
on an LPAR. The full iso already had generic.ins included.

Signed-off-by: Brian C. Lane <bcl@redhat.com>

Resolves: rhbz#1844517
2020-06-25 13:46:00 -07:00
Brian C. Lane
5387c37cab Keep /etc/default/useradd in install.img
Anaconda creates a user for connecting via ssh during the installation
when the sshpw kickstart command is used. The user is created with
"/sbin/nologin" shell when /etc/default/useradd is missing, which
prevents the user from log into the running installation.

Resolves: rhbz#1843609
2020-06-03 10:10:13 -07:00
David Lehman
127538f711 Use smarter multipath detection logic.
This new setting for 'find_multipaths' tries to prevent things like
LVM from going ahead and activating LVM on the individual disks/paths
until there is reasonable certainty (via a timeout) that the device
is not a component of a multipath set.

NOTE: 'smart' is supported by device-mapper-multipath v0.7.7 and later.

Resolves: rhbz#1763906

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2020-05-13 14:54:09 -07:00
Brian C. Lane
ab022b6997 Restore the 98dracut-systemd service files to the install.img
dracut renamed this module so the files were being removed from the
install.img (BUT not from the initramfs). They are necessary for the
shutdown eject feature to work.

Related: rhbz#1805405
2020-02-21 12:27:11 -08:00
Brian C. Lane
2b20bf7ad9 Add eject back into the boot.iso
The eject utility moved into util-linux and the package was dropped, but
since the runtime-cleanup template is using `removefrom util-linux
--allbut` it was never added to the boot.iso after the move.

This adds it to the list of binaries to keep from util-linux.

Resolves: rhbz#1805405
2020-02-20 11:07:14 -08:00
Brian C. Lane
7f34f802ed Install rdma-core and libmlx4 packages
These are required for dracut to install the IB related modules in the
initramfs.

Resolves: rhbz#1762662
2020-01-10 10:19:31 -08:00
Brian C. Lane
1173a57217 Use mkisofs for the s390 live-iso template
Resolves: rhbz#1746424
2019-12-11 09:12:42 -08:00
Brian C. Lane
6260daf8ab Add dmidecode on supported architectures
Currently supported on i386, x86_64, aarch64

Resolves: rhbz#1714793
2019-11-11 10:46:53 -08:00
Brian C. Lane
97123b194b Update ppc64le isolabel to match x86_64 logic
It was substituting _ which didn't match what pungi uses for creating
the DVD. Make things consistent and use - as the replacement character.

(cherry picked from commit 372bef945f2addbf66c35bce8439f3508ee2ab8a)
Resolves: rhbz#1757338
2019-11-08 09:59:36 -08:00
Brian C. Lane
f69717eaa5 set inst.stage2 for ppc64le image
(cherry picked from commit c53de4e63c37a2272e0699b3a4cc82fce51379da)
Resolves: rhbz#1757338
2019-11-08 09:56:24 -08:00
Brian C. Lane
04d16cdcc7 Drop unneeded uboot-tools, and remove iso-graft from the aarch64.tmpl
Resolves: rhbz#1763922
2019-10-31 10:30:16 -07:00
Brian C. Lane
f35fe158a7 Add live iso support to s390
With this patch lmc and lorax-composer can be used to create a live iso
when running on s390 systems.

Resolves: rhbz#1746424
2019-10-31 10:01:58 -07:00
Brian C. Lane
d1a822db95 Fix path to generic.prm
Also quote ${extra_boot_args} as in the other templates

Related: rhbz#1712822
Resolves: rhbz#1746424
2019-09-03 10:46:28 -07:00
Brian C. Lane
f0f0cb6b7d Install redhat-release-eula package
Related: rhbz#1700465
2019-05-15 16:09:28 -07:00
Brian C. Lane
58d4c2f8f0 Don't remove chmem and lsmem from install.img
Resolves: rhbz#1691472
2019-05-15 15:55:46 -07:00