Commit Graph

154 Commits

Author SHA1 Message Date
Stephen Gallagher
90ba19e811
Fix typo
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-06-16 19:35:29 -04:00
Brian C. Lane
c6e52ce532
templates: Set @ISOLABEL@ in the bios-grub.cfg file to the isolabel 2022-06-16 17:31:07 -04:00
Brian C. Lane
2e676d1293
Add grub2 BIOS boot support to live iso template 2022-06-16 17:28:00 -04:00
Brian C. Lane
46ff4359f9
Drop grafting variables
Just add them to the xorrisofs command, the order of the arguments is
interleaved and trying to assemble it from variables just makes it more
confusing.
2022-06-16 17:19:37 -04:00
Brian C. Lane
3ec83abf28
Drop macboot.img and simplify efiboot.img use
Apple hardware doesn't need the macboot.img to boot, efiboot.img is not
needed in the filesystem so do not graft it into it.

Remove macboot.img and apple specific EFI support
2022-06-16 17:19:19 -04:00
Brian C. Lane
12c0368018
Add grub2 BIOS boot support
This adds support for BIOS booting using grub2. The bios config file and
grub2 modules are under /boot/grub2/

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-06-16 17:19:19 -04:00
Brian C. Lane
d554033dc9
Remove syslinux support
syslinux is unsupported and is going to be removed from Fedora. This
removes it and all of its configuration files from the templates.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-06-16 16:40:08 -04:00
Stephen Gallagher
b02d42fee1
Exclude python-virt-firmware
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-06-16 13:42:05 -04:00
Stephen Gallagher
81ee746e12
Merge remote-tracking branch 'cs/c9s' into eln 2022-04-07 10:33:33 -04:00
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
Stephen Gallagher
d22690147a
Don't install RHEL packages missing from ELN
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-03-08 15:04:48 -05:00
Vendula Poncova
c49a92e18a
Don't move the restart-anaconda file
The file will be no longer provided by Anaconda.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-03-08 12:21:21 -05:00
Stephen Gallagher
9054ed9934
Merge remote-tracking branch 'cs/c9s' into eln 2022-03-08 12:18:16 -05: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
Stephen Gallagher
04461d9055
Update to new Malaysian font
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-02-07 11:01:09 -05:00
Stephen Gallagher
533b553749
Merge remote-tracking branch 'cs/c9s' into eln 2022-02-07 10:55:45 -05:00
Brian C. Lane
d39414517d Keep nvram kernel module
Resolves: rhbz#2050878
2022-02-04 14:39:50 -08:00
Stephen Gallagher
bf0a8bcac8
Merge remote-tracking branch 'cs/c9s' into eln 2022-01-26 17:00:50 -05: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
Stephen Gallagher
4d4ff6b3d5
Merge sound-support cleanup changes from Fedora
Includes 4a678d6670add49fe17ede43e5789d05a24b4e45 and
22c3e76d6c01f019bbe3a78da751933dc6e53459 from the lorax
package.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-04 17:09:46 -05:00
Stephen Gallagher
feca642453
Merge remote-tracking branch 'cs/c9s' into eln 2021-11-29 11:00:00 -05: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
Stephen Gallagher
abfd0f7d2e
Drop prefixdevname
This package does not currently exist in Fedora ELN.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-07-15 10:40:29 -04:00
Stephen Gallagher
9ef7b70888
Merge remote-tracking branch 'cs/c9s' into eln 2021-07-14 15:26:22 -04: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
Brian C. Lane
8ff4f528b4 Include the hid-multitouch kernel module
Resolves: rhbz#1670182
2019-05-15 15:50:09 -07:00
Brian C. Lane
d2180f3d63 Add extra boot args to the livemedia-creator iso templates
Resolves: rhbz#1694180
2019-05-15 15:46:02 -07:00
Brian C. Lane
23b9e7f3da Add a ppc64le template for live iso creation
Related: rhbz#1694180
2019-05-15 15:45:45 -07:00
Brian C. Lane
45f2382472 Add live-install.tmpl
Needed by lorax-28.14.24-1 and later

Related: rhbz#1694180
2019-05-15 15:45:45 -07:00
Brian C. Lane
c6cf659e46 Make sure lscpu is installed
Resolves: rhbz#1684735
2019-03-27 10:11:46 -07:00
Brian C. Lane
79f71bc2b3 Include python3-pyatspi on boot.iso
Having this on the boot.iso makes it easier for testing the Anaconda GUI
with dogtail.

Resolves: rhbz#1543290
2018-09-18 16:52:49 -07:00
Brian C. Lane
75dbf37f0a re-add temporarily removed packages
These packages are now available in BaseOS or AppStream, so include them
in the boot.iso

shim-ia32
grub2-efi-ia32-cdboot
s390utils-hmcdrvfs
xorg-x11-drivers
xorg-x11-server-Xorg

xorg-x11-server-Xorg was already being pulled in as a dependency, but
I've added it back anyway, just to be sure.

dracut-fips is no longer a subpackage so it can be dropped.

docker-anaconda-addon isn't being supported for RHEL8 so drop it as
well.

The resulting image is 6M larger, and the package count goes from 738 to
756 with most of them being x11 drv packages.

Related: rhbz#1622395
2018-09-12 08:33:58 -07:00
Brian C. Lane
8a65754e91 Use google-noto-sans-cjk-ttc-fonts
Drop use of naver-nanum-gothic-fonts, vlgothic-fonts, wqy-microhei-fonts

Resolves: rhbz#1626368
2018-09-11 09:41:24 -07:00
Brian C. Lane
3f2b9be192 Install the oscap-anaconda-addon
And keep in the rpm2cpio utility it requires.

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

Resolves: rhbz#1626459
2018-09-07 12:03:55 -07:00
Brian C. Lane
827c5b5217 Install libreport-rhel-anaconda-bugzilla
Related: rhbz#1593734
2018-08-22 08:53:40 -07:00
Brian C. Lane
28e9d56848 import-state.service from initscripts is needed by Anaconda
Previously it was pulled in as a dependency of something else, which has
changed, so now it needs to be listed explicitly.

Resolves: rhbz#1618668
2018-08-20 08:30:54 -07:00
Josh Boyer
e858cde211 Remove fbset
Resolves: rhbz#1615430
2018-08-20 09:53:23 -04:00
Brian C. Lane
80fcf2aea2 Add prefixdevname package
Resolves: rhbz#1615991
2018-08-15 15:16:31 -07:00
Troy Dawson
00ec7a1c57 Drop dependency on bridge-utils Resolves: #1588705 2018-08-02 05:40:23 -07:00
Troy Dawson
8c49953fff Cleanup the sections and packages not in RHEL8. 2018-07-26 09:23:50 -07:00
Troy Dawson
d84cb0479d Update runtime-install.tmpl for easier RHEL8 scripting
- Comment out packages/sections that are not in RHEL8
- Expand variables and wildcards
2018-07-26 09:22:48 -07:00
Andrew Hills
2df940cfd3 Drop dependency on btrfs-progs to fix DOOMED composes
RCM-38058
2018-07-25 09:30:21 -04:00
Radek Vykydal
e2afa7a4cf Don't activate default auto connections after switchroot
Resolves: rhbz#1555934

Add NetworkManager config file turning default auto connections off.
2018-07-20 09:18:23 -07:00
Brian C. Lane
9b7dde5b5b Add hostname (#1599183)
iscsi needs the hostname package to function, it now needs to be
installed directly due to the network-scripts split from initscripts.

Resolves: rhbz#1599183
2018-07-09 10:09:56 -07:00
Ian McLeod
39f249636f Temporarily disable dracut-fips to un-block image creation on VMs 2018-06-21 12:14:05 -05:00
David Cantrell
7e1d359a82 Install perl-interpreter in the install image. 2018-06-20 15:50:25 -04:00