summaryrefslogtreecommitdiff
path: root/src/kernel-install
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-01-20 12:59:33 +0100
committerGerd Hoffmann <kraxel@redhat.com>2023-03-07 08:14:46 +0100
commitc7314ee7e290b3978e2f2d7726d07656eda071f9 (patch)
tree154d5ebf418f9ac3d8892384b2d30729e8dc9d1f /src/kernel-install
parent78088b8f43717a43661cd2c1627a9860904c4794 (diff)
downloadsystemd-c7314ee7e290b3978e2f2d7726d07656eda071f9.tar.gz
90-uki-copy.install: create $BOOT/EFI/Linux directory if needed
Do not consider a missing 'Linux' subdirectory an error. Just create it instead.
Diffstat (limited to 'src/kernel-install')
-rwxr-xr-xsrc/kernel-install/90-uki-copy.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel-install/90-uki-copy.install b/src/kernel-install/90-uki-copy.install
index d6e3deb723..6c71b211d7 100755
--- a/src/kernel-install/90-uki-copy.install
+++ b/src/kernel-install/90-uki-copy.install
@@ -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"