[gnome-continuous] libqa: Set default syslinux timeout in qcow2 to 1 second

commit 9b0f23fb864a79272ed4d05c16359d1e375f03c0
Author: Colin Walters <walters verbum org>
Date:   Tue Nov 5 13:49:53 2013 -0500

    libqa: Set default syslinux timeout in qcow2 to 1 second
    This allows people to more easily interrupt the boot process.

 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 ff6ce4e..4c78870 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -319,7 +319,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('', null, false, Gio.FileCreateFlags.NONE, cancellable);
+    syslinuxPath.replace_contents('TIMEOUT 10\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]