]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
kernel-install: Use "Default" as fallback instead of "Linux"
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Aug 2020 18:22:11 +0000 (19:22 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Aug 2020 18:22:11 +0000 (19:22 +0100)
"Linux" conflicts /efi/Linux when /efi is the install location.
/efi/Linux is already reserved for unified kernel images so we can't use
it for type #1 images. Instead, we use "Default".

src/kernel-install/kernel-install

index ca21be7e6162ac6a2889e055bf394a527ee224d4..3359ec227c9685600f7a90fbf763ea707c7cf5a5 100755 (executable)
@@ -88,7 +88,7 @@ KERNEL_IMAGE="$2"
 if [[ -f /etc/machine-id ]]; then
     read MACHINE_ID < /etc/machine-id
 else
-    MACHINE_ID="Linux"
+    MACHINE_ID="Default"
 fi
 
 if [[ ! $COMMAND ]] || [[ ! $KERNEL_VERSION ]]; then