[Lunar-commits] <moonbase> syslinux: Fix plugin twofold

Auke Kok sofar at foo-projects.org
Wed Jan 25 04:56:14 CET 2012


commit 69973f27fa1248ad9cbd9236597c27ff01349719
Author: Auke Kok <sofar at foo-projects.org>
Date:   Wed Jan 25 04:56:14 2012 +0100

    syslinux: Fix plugin twofold
    
    - images can't end in 0 unless they are linux - confuses them with PXE
    - don't insert root= twice in error.
---
 utils/syslinux/plugin.d/bootloader-syslinux.plugin |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/syslinux/plugin.d/bootloader-syslinux.plugin b/utils/syslinux/plugin.d/bootloader-syslinux.plugin
index d584048..c7b4470 100644
--- a/utils/syslinux/plugin.d/bootloader-syslinux.plugin
+++ b/utils/syslinux/plugin.d/bootloader-syslinux.plugin
@@ -26,8 +26,8 @@ plugin_kernel_updatebootloader_syslinux() {
   entry() {
     echo "label $2"
     echo "        menu label $2"
-    echo "        kernel $3/$1"
-    echo "        append root=$4 ro quiet"
+    echo "        linux $3/$1"
+    echo "        append $4 ro quiet"
     echo ""
   }
 


More information about the Lunar-commits mailing list