s390utils/SOURCES/00-zipl-prepare.install

10 lines
180 B
Plaintext
Raw Normal View History

2019-08-06 18:58:26 +00:00
#!/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%/*}"