chiark / gitweb /
analyze: various cleanups
[elogind.git] / src / kernel-install / kernel-install
index 8dd7f6788b37d37854776fc510f10b7869b6d637..16c06e08421da98de928095d4db4e7b743ce165d 100644 (file)
@@ -67,9 +67,9 @@ if ! ( [[ $COMMAND ]] && [[ $KERNEL_VERSION ]] && [[ $KERNEL_IMAGE ]] ); then
     exit 1
 fi
 
-BOOT_DIR="$MACHINE_ID/$KERNEL_VERSION"
-BOOT_DIR_ABS="/boot/$BOOT_DIR"
-LOADER_ENTRY="/boot/loader/entries/${ID}-${KERNEL_VERSION}-${MACHINE_ID}.conf"
+BOOT_DIR="/${MACHINE_ID}/${KERNEL_VERSION}"
+BOOT_DIR_ABS="/boot${BOOT_DIR}"
+LOADER_ENTRY="/boot/loader/entries/${MACHINE_ID}-${KERNEL_VERSION}.conf"
 ret=0
 
 dropindirs_sort()