[gnome-continuous/gnome-3-14: 2/19] libqa: Use a bootloader prompt by default (and bump timeout to 3s)



commit 9d3df68c84c514f141b41c6f7e8f773a1770bb97
Author: Colin Walters <walters verbum org>
Date:   Mon Oct 13 15:19:05 2014 -0400

    libqa: Use a bootloader prompt by default (and bump timeout to 3s)
    
    This was the intention, but we need to specify PROMPT 1 to have
    it take effect.

 src/js/libqa.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/libqa.js b/src/js/libqa.js
index 3f82fad..196f0b3 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -334,7 +334,7 @@ function pullDeploy(mntdir, srcrepo, osname, target, revision, originRepoUrl, ca
     bootLoaderLink.make_symbolic_link('loader.0', cancellable);
     GSystem.file_ensure_directory(bootLoaderDir0, true, cancellable);
     let syslinuxPath = mntdir.resolve_relative_path('boot/loader/syslinux.cfg');
-    syslinuxPath.replace_contents('TIMEOUT 10\n', null, false, Gio.FileCreateFlags.NONE, cancellable);
+    syslinuxPath.replace_contents('TIMEOUT 30\nPROMPT 1\n', null, false, Gio.FileCreateFlags.NONE, 
cancellable);
     
     // A compatibility symlink for syslinux
     let syslinuxDir = mntdir.resolve_relative_path('boot/syslinux');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]