s390utils/SOURCES/00-zipl-prepare.install

10 lines
180 B
Plaintext
Raw Permalink Normal View History

2020-09-08 08:38: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%/*}"