From 3a79a037da2e30de80dd37391f452195e038110c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 21 Sep 2022 01:05:37 +0200 Subject: kernel-install/90-loaderentry: fix chown --- src/kernel-install/90-loaderentry.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel-install') diff --git a/src/kernel-install/90-loaderentry.install b/src/kernel-install/90-loaderentry.install index b34bbd83cd..743af33aa9 100755 --- a/src/kernel-install/90-loaderentry.install +++ b/src/kernel-install/90-loaderentry.install @@ -111,7 +111,7 @@ install -m 0644 "$KERNEL_IMAGE" "$ENTRY_DIR_ABS/linux" || { echo "Error: could not copy '$KERNEL_IMAGE' to '$ENTRY_DIR_ABS/linux'." >&2 exit 1 } -chown root.root "$ENTRY_DIR_ABS/linux" || : +chown root:root "$ENTRY_DIR_ABS/linux" || : shift "$INITRD_OPTIONS_SHIFT" # All files listed as arguments, and staged files starting with "initrd" are installed as initrds. @@ -128,7 +128,7 @@ for initrd in "$@" "${KERNEL_INSTALL_STAGING_AREA}"/initrd*; do echo "Error: could not copy '$initrd' to '$ENTRY_DIR_ABS/$initrd_basename'." >&2 exit 1 } - chown root.root "$ENTRY_DIR_ABS/$initrd_basename" || : + chown root:root "$ENTRY_DIR_ABS/$initrd_basename" || : done mkdir -p "${LOADER_ENTRY%/*}" || { -- cgit v1.2.1