2f4b67cd1e
The 91-zipl.install kernel-install script attempts to execute zipl when a kernel is installed, but this will fail if there isn't a zipl confg file. Also, the kernel-install scripts are using ',' as the sed delimiter when updating the kernel command line options in the BLS fragment file. But it is valid to have that character in a cmdline so instead use '#' for that. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
16 lines
157 B
Bash
Executable File
16 lines
157 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ ! -f /etc/zipl.conf ]]; then
|
|
exit 0
|
|
fi
|
|
|
|
COMMAND="$1"
|
|
|
|
case "$COMMAND" in
|
|
add|remove)
|
|
zipl > /dev/null
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|