[gnome-ostree] libqa: Forward journal to console when doing bootloader installation
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] libqa: Forward journal to console when doing bootloader installation
- Date: Mon, 17 Jun 2013 21:08:30 +0000 (UTC)
commit 08ecf9d75c1c5da9b59342dd20604119bae7fe8a
Author: Colin Walters <walters verbum org>
Date: Mon Jun 17 17:07:59 2013 -0400
libqa: Forward journal to console when doing bootloader installation
If the process goes awry, it's easier to debug.
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 6d699c5..9a1b443 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -382,7 +382,7 @@ function bootloaderInstall(diskpath, workdir, osname, cancellable) {
'-device',
'virtserialport,chardev=journaljson,name=org.gnome.journaljson',
'-kernel', tmpKernelPath.get_path(),
'-initrd', tmpInitrdPath.get_path(),
- '-append', 'console=ttyS0 root=LABEL=gnostree-root rw ostree=' + osname +
'/current systemd.unit=gnome-ostree-install-bootloader.target'
+ '-append', 'console=ttyS0 root=LABEL=gnostree-root rw ostree=' + osname +
'/current systemd.unit=gnome-ostree-install-bootloader.target systemd.journald.forward_to_console=true'
]);
ProcUtil.runSync(qemuArgs, cancellable, { cwd: workdir.get_path(),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]