Commit Graph

148 Commits

Author SHA1 Message Date
Brian C. Lane
1bfa7d0e64 - Use inst.rescue to trigger rescue mode (awilliam)
- Use image dependencies metapackage (vslavik)
2021-02-16 11:52:03 -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
d4dc777da3 - runtime-install: Remove system-storage-manager
Resolves: rhbz#1924154
2021-02-02 12:56:32 -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
e32f6eb055 - Remove unsupported filesystem tools (bcl) 2020-12-08 10:43:03 -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
178823039e - Switch to using upstream mk-s390image for s390 cdboot.img creation
Resolves: rhbz#1903923
2020-12-03 08:24:29 -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
Brian C. Lane
ff7cb21c0c - Don't remove libldap_r libraries during runtime-cleanup.tmpl 2020-12-01 10:50:29 -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
550129389b - Install device-mapper-multipath (bcl)
Work around problem with libblockdev-mpath Recommends not working
2020-10-29 14:29:22 -07: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
c258eb45d1 Fix the SERIAL and build tarball.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-29 09:40:48 +01: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
3f1d2c2f7e Fix typo when bumping the release in previous commit
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-29 08:47:05 +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
634089ff19 - Update release version for RHEL 9.0
- Remove spice-vdagent (bcl)
- Initial RHEL 9 Alpha changes (bcl)
2020-10-27 09:57:53 -07: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
8c07b3c5bc - rsyslog: Disable journal ratelimits during install
Related: rhbz#1752754
2020-07-07 15:30:42 -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
Brian C. Lane
574fc0b775 - include generic.ins for s390 boot iso (dan)
Resolves: rhbz#1844517
2020-06-25 13:52:30 -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
fc4acad6a3 - Keep /etc/default/useradd in install.img
Resolves: rhbz#1843609
2020-06-03 10:11:09 -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
Brian C. Lane
606152b696 - Use smarter multipath detection logic
Resolves: rhbz#1763906
2020-05-13 14:58:34 -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
5166bc8a20 - Restore the 98dracut-systemd service files to the install.img (bcl)
Related: rhbz#1805405
- Add eject back into the boot.iso (bcl)
  Resolves: rhbz#1805405
2020-02-27 08:59:55 -08: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
55b5cf78ae - Install rdma-core and libmlx4 packages
Resolves: rhbz#1762662
2020-01-10 10:22:00 -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
39dfb4f363 - Use mkisofs for the s390 live-iso template
Resolves: rhbz#1746424
2019-12-11 10:37:52 -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
028a9873b8 - Add dmidecode on supported architectures
Resolves: rhbz#1714793
2019-11-12 14:54:11 -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
457b481fee - Update ppc64le isolabel to match x86_64 logic (bcl)
Resolves: rhbz#1757338
- set inst.stage2 for ppc64le image (bcl)
  Resolves: rhbz#1757338
2019-11-08 10:06:16 -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
57ea0e5df7 - Update package version for 8.2 release
- Drop unneeded uboot-tools, and remove iso-graft from the aarch64.tmpl
  Resolves: rhbz#1763922
- Add live iso support to s390
  Resolves: rhbz#1746424
2019-10-31 15:24:17 -07: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
a062372ea3 - Fix path to generic.prm (bcl)
Resolves: rhbz#1746424
2019-09-03 10:51:15 -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
ec9035988b - Install redhat-release-eula package (bcl)
Related: rhbz#1700465
- Don't remove chmem and lsmem from install.img (bcl)
  Resolves: rhbz#1691472
- Include the hid-multitouch kernel module (bcl)
  Resolves: rhbz#1670182
- Add extra boot args to the livemedia-creator iso templates (bcl)
  Resolves: rhbz#1694180
- Add a ppc64le template for live iso creation (bcl)
  Related: rhbz#1694180
- Add live-install.tmpl (bcl)
  Related: rhbz#1694180
2019-05-15 16:23:32 -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