s390utils/SOURCES/00-zipl-prepare.install
2022-02-04 16:13:49 +00:00

10 lines
180 B
Bash
Executable File

#!/bin/bash
COMMAND="$1"
KERNEL_VERSION="$2"
BOOT_DIR_ABS="$3"
KERNEL_IMAGE="$4"
# Remove it, since for zipl the images are always installed in /boot
rm -rf "${BOOT_DIR_ABS%/*}"