Unnamed repository
Go to file
Javier Martinez Canillas 6f6a4deece - add a default entry in zipl.conf if there isn't one present (#1698363)
When a kernel-debug package is installed, it should only be set as default
if DEFAULTDEBUG=yes is set in /etc/sysconfig/kernel. But currently there's
no default field set in /etc/zipl.conf so the implicit order used to sort
boot entries is used.

The debug kernels contains a +debug suffix which makes them be sorted with
more precedence than non-debug kernels by the RPM sorting algorithm:

rpm --eval '%{lua: print(rpm.vercmp("4.18.0-193.el8.s390x+debug", "4.18.0-193.el8.s390x"))}'
1

So using the implicit order when a debug kernel is installed and a default
is not set leads to a wrong behavior.

The zipl kernel-install script attempts to set a default entry if has to,
but only if one is present in the zipl.conf file. Take also into account
the case when there isn't one to avoid using the implicit sorting and not
cover these corner cases like the one with the debug kernel.

Resolves: rhbz#1698363
2020-07-23 09:32:32 +02:00
.gitignore - rebased to 2.13.0 2020-05-11 06:46:04 -04:00
20-zipl-kernel.install - add a default entry in zipl.conf if there isn't one present (#1698363) 2020-07-23 09:32:32 +02:00
52-zipl-rescue.install kernel-install: fix BLS-related decision logic 2019-12-02 15:52:42 +01:00
91-zipl.install Fix kernel-install scripts issues (#1634803) 2018-10-01 19:19:00 +02:00
ccw_init - avoid dependency on network-scrips 2020-06-01 10:21:28 +02:00
ccw.udev updated ccw udev rules 2011-04-27 10:41:28 +02:00
dasd.udev Revert "Retire s390utils." 2011-03-09 18:23:34 +01:00
dasdconf.sh Revert "Retire s390utils." 2011-03-09 18:23:34 +01:00
device_cio_free - update device_cio_free script 2014-10-09 15:34:45 +02:00
device_cio_free.service - fix service order after switching to real root file system (#1790496, #1790790) 2020-01-14 13:20:20 +01:00
normalize_dasd_arg improve DASD parameters handling in normalize_dasd_arg (#824807) 2012-05-25 09:04:27 +02:00
s390-tools-zipl-blscfg-rpm-nvr-sort.patch fix build with rpm 4.16 2020-06-04 09:44:27 +00:00
s390-tools-zipl-invert-script-options.patch - add BLS support to zipl and add kernel-install scripts to create BLS files 2018-05-30 14:50:30 +02:00
s390utils.spec - add a default entry in zipl.conf if there isn't one present (#1698363) 2020-07-23 09:32:32 +02:00
sources - rebased to 2.13.0 2020-05-11 06:46:04 -04:00
zfcp.udev - drop the libzfcphbaapi subpackage as it is moved to its own package (#963670) 2013-05-24 10:57:23 +02:00
zfcpconf.sh - remove bashism from zfcpconf.sh 2015-04-07 14:04:00 +02:00