Commit Graph

85 Commits

Author SHA1 Message Date
Brian C. Lane
1f69df73fa runtime-postinstall: Remove machine specific nvme files
These need to be created on the installed system, and should not be
included in the image.

Resolves: rhbz#2071074
2022-04-01 11:20:12 -07:00
Brian C. Lane
cd974309fa Restore missing packages
These were commented out early in the RHEL9 Alpha import process and
should be included in the boot.iso

nmap-ncat
redhat-release-eula
libreport-rhel-anaconda-bugzilla

Resolves: rhbz#2056086
2022-02-23 14:28:13 -08:00
Brian C. Lane
d39414517d Keep nvram kernel module
Resolves: rhbz#2050878
2022-02-04 14:39:50 -08:00
Brian C. Lane
5fdb8a4ba7 Fix missing generic.ins on s390x
commit 0c4e1955ee accidentally dropped the
generic.ins file from the iso. This restores that graft point to the
xorrisofs call.

Resolves: rhbz#2044448
2022-01-25 09:25:39 -08:00
Brian C. Lane
849a2b9a20 Do not install rng-tools
Running rngd can slow down the boot in some situations. All current
arches in RHEL support better entropy gathering so this is no longer
needed.

Resolves: rhbz#2028720
2022-01-13 10:45:26 -08:00
Brian C. Lane
b403f2d774 Revert "Add inst.rngd cmdline option"
This reverts commit 09acfd978e.

rngd is installed in the initrd by dracut, and unconditionally started,
so this won't fix rngd slowdowns in the initrd.

Related: rhbz#2028720
2022-01-13 10:43:27 -08:00
Brian C. Lane
7f8955e9ab Add .discinfo on all arches
It was previously added to s390x and ppc64le, this adds it for aarch64,
ppc, and x86 images.

Resolves: rhbz#2030008
2022-01-12 11:25:48 -08:00
Brian C. Lane
09acfd978e Add inst.rngd cmdline option
rngd should no long be needed, recent kernels have enough entropy out of
the box. This leaves it in the boot.iso but only enables it if inst.rngd
is passed on the kernel cmdline.

Resolves: rhbz#2028720
2022-01-12 10:45:37 -08:00
Brian C. Lane
35896636df Drop ia32 uefi package installation
32bit uefi installations are not supported.

Resolves: rhbz#2038397
2022-01-11 11:16:48 -08:00
Brian C. Lane
f7930e11e7 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#2035049
2022-01-11 11:16:48 -08:00
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