Commit Graph

59 Commits

Author SHA1 Message Date
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