summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-19 12:10:37 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-28 16:17:45 +0100
commita520d5dddb991cd713392d4de0e342e312547a2e (patch)
tree5b753a1d6a783911ac68c4e93d5abb4f4ece990b /src
parentkernel-install: add new variable $KERNEL_INSTALL_INITRD_GENERATOR (diff)
downloadsystemd-a520d5dddb991cd713392d4de0e342e312547a2e.tar.xz
systemd-a520d5dddb991cd713392d4de0e342e312547a2e.zip
kernel-install: k-i already creates $ENTRY_DIR_ABS, no need to do it again
Diffstat (limited to 'src')
-rw-r--r--src/kernel-install/90-loaderentry.install8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/kernel-install/90-loaderentry.install b/src/kernel-install/90-loaderentry.install
index e588e72bf9..7b768457c1 100644
--- a/src/kernel-install/90-loaderentry.install
+++ b/src/kernel-install/90-loaderentry.install
@@ -78,12 +78,8 @@ else
fi
if ! [ -d "$ENTRY_DIR_ABS" ]; then
- if [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ]; then
- echo "+mkdir -v -p $ENTRY_DIR_ABS"
- mkdir -v -p "$ENTRY_DIR_ABS"
- else
- mkdir -p "$ENTRY_DIR_ABS"
- fi
+ echo "Error: entry directory '$ENTRY_DIR_ABS' does not exist" >&2
+ exit 1
fi
install -g root -o root -m 0644 "$KERNEL_IMAGE" "$ENTRY_DIR_ABS/linux" || {