[SCM] debian-live/live-helper branch, master, updated. 1.0_a34-1-5-g8908015

Jesse Hathaway jesse at mbuki-mvuki.org
Wed Oct 31 19:51:29 UTC 2007


The branch, master has been updated
       via  890801563d0c63e1af88fefb82bccc5715d3af9b (commit)
      from  e7100f46b8e616f200845bc644f1d1f881ceceb8 (commit)


- Shortlog ------------------------------------------------------------
8908015 fix syslinux timeout option

Summary of changes:
 helpers/lh_binary_syslinux           |    2 +-
 helpers/lh_config                    |    4 ++--
 manpages/lh_config.de.1              |    2 +-
 manpages/lh_config.en.1              |    2 +-
 templates/syslinux/menu/header.cfg   |    2 +-
 templates/syslinux/menu/prompt.cfg   |    2 +-
 templates/syslinux/normal/footer.cfg |    1 -
 templates/syslinux/normal/prompt.cfg |    2 +-
 8 files changed, 8 insertions(+), 9 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit 890801563d0c63e1af88fefb82bccc5715d3af9b
Author: Jesse Hathaway <jesse at mbuki-mvuki.org>
Date:   Wed Oct 31 14:39:05 2007 -0400

    fix syslinux timeout option
    
    change MILISECONDS to SECONDS. Syslinux actually uses
    tenths of seconds not milliseconds, but it seems
    unnecessary to expose this to the user. Fix templates
    to only specify the timeout once.

diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 7de257c..5e87d75 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -254,7 +254,7 @@ Configure_syslinux_templates ()
              -e "s/{\$LH_DATE}/$(date +%Y%m%d)/" \
              -e "s/{\$LH_MEDIA}/${MEDIA}/" \
 		       -e "s/{\$LH_VERSION}/${VERSION}/" \
-		       -e "s/{\$LINUX_TIMEOUT}/${LH_SYSLINUX_TIMEOUT}/" \
+		       -e "s/{\$LH_SYSLINUX_TIMEOUT}/${LH_SYSLINUX_TIMEOUT}0/" \
 		       -e 's/\ $//g' \
              $template_file
    done
diff --git a/helpers/lh_config b/helpers/lh_config
index 741b442..808c9cc 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -94,7 +94,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
 \t    [-s|--source-images iso|net|tar|usb-hdd]\n\
 \t    [--symlinks enabled|disabled]\n\
 \t    [--syslinux-splash FILE]\n\
-\t    [--syslinux-timeout MILISECONDS]\n\
+\t    [--syslinux-timeout SECONDS]\n\
 \t    [--sysvinit enabled|disabled]\n\
 \t    [--tasksel aptitude|tasksel]\n\
 \t    [--tasks TASK]\n\
@@ -971,7 +971,7 @@ LH_NET_COW_SERVER="${LH_NET_COW_SERVER}"
 # (Default: empty)
 LH_SYSLINUX_SPLASH="${LH_SYSLINUX_SPLASH}"
 
-# \$LH_SYSLINUX_TIMEOUT: set custom syslinux timeout
+# \$LH_SYSLINUX_TIMEOUT: set custom syslinux timeout in seconds
 # (Default: 0)
 LH_SYSLINUX_TIMEOUT="${LH_SYSLINUX_TIMEOUT}"
 
diff --git a/manpages/lh_config.de.1 b/manpages/lh_config.de.1
index ad521f6..4b20d12 100644
--- a/manpages/lh_config.de.1
+++ b/manpages/lh_config.de.1
@@ -139,7 +139,7 @@ Hier ist eine vollst\[:a]ndige Liste aller verf\[:u]gbaren Optionen f\[:u]r lh_c
 
 .IP "\fB\-\-syslinux\-splash\fR \fIFILE\fR" 4
 
-.IP "\fB\-\-syslinux\-timeout\fR \fIMILISECONDS\fR" 4
+.IP "\fB\-\-syslinux\-timeout\fR \fISECONDS\fR" 4
 
 .IP "\fB\-\-sysvinit\fR enabled|disabled" 4
 
diff --git a/manpages/lh_config.en.1 b/manpages/lh_config.en.1
index 570ff22..46aec1e 100644
--- a/manpages/lh_config.en.1
+++ b/manpages/lh_config.en.1
@@ -158,7 +158,7 @@ EXAMPLE:
 
 .IP "\fB\-\-syslinux\-splash\fR \fIFILE\fR" 4
 
-.IP "\fB\-\-syslinux\-timeout\fR \fIMILISECONDS\fR" 4
+.IP "\fB\-\-syslinux\-timeout\fR \fISECONDS\fR" 4
 
 .IP "\fB\-\-sysvinit\fR enabled|disabled" 4
 
diff --git a/templates/syslinux/menu/header.cfg b/templates/syslinux/menu/header.cfg
index 56c5efd..bb3dac8 100644
--- a/templates/syslinux/menu/header.cfg
+++ b/templates/syslinux/menu/header.cfg
@@ -1,7 +1,7 @@
 default            {$LIVE_DATA_PATH}/vesamenu.c32
 font               {$LIVE_DATA_PATH}/iso01.f14.psf
 
-timeout            1000
+timeout            {$LH_SYSLINUX_TIMEOUT}
 prompt             0
 
 menu background    {$SPLASH}
diff --git a/templates/syslinux/menu/prompt.cfg b/templates/syslinux/menu/prompt.cfg
index d5b1831..3ea1ab4 100644
--- a/templates/syslinux/menu/prompt.cfg
+++ b/templates/syslinux/menu/prompt.cfg
@@ -1,5 +1,5 @@
 prompt 1
-timeout 0
+timeout {$LH_SYSLINUX_TIMEOUT}
 default live
 display {$LIVE_SCREEN_PATH}/f1.txt
 include {$LIVE_SCREEN_PATH}/menu.cfg
diff --git a/templates/syslinux/normal/footer.cfg b/templates/syslinux/normal/footer.cfg
index 368c307..e69de29 100644
--- a/templates/syslinux/normal/footer.cfg
+++ b/templates/syslinux/normal/footer.cfg
@@ -1 +0,0 @@
-timeout {$LINUX_TIMEOUT}
diff --git a/templates/syslinux/normal/prompt.cfg b/templates/syslinux/normal/prompt.cfg
index 97ed60c..0e82c43 100644
--- a/templates/syslinux/normal/prompt.cfg
+++ b/templates/syslinux/normal/prompt.cfg
@@ -1,5 +1,5 @@
 prompt 1
-timeout 0
+timeout {$LH_SYSLINUX_TIMEOUT}
 default live
 display {$LIVE_SCREEN_PATH}/boot.txt
 include {$LIVE_SCREEN_PATH}/menu.cfg

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list