90-uki-copy.install: create $BOOT/EFI/Linux directory if needed

Do not consider a missing 'Linux' subdirectory an error.
Just create it instead.
This commit is contained in:
Gerd Hoffmann
2023-03-07 08:14:46 +01:00
parent 78088b8f43
commit c7314ee7e2
+2 -2
View File
@@ -49,8 +49,8 @@ case "$COMMAND" in
esac
if ! [ -d "$UKI_DIR" ]; then
echo "Error: entry directory '$UKI_DIR' does not exist" >&2
exit 1
[ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "creating $UKI_DIR"
mkdir -p "$UKI_DIR"
fi
TRIES_FILE="${KERNEL_INSTALL_CONF_ROOT:-/etc/kernel}/tries"