[gnome-ostree] guestfish.js: Drop use of --pid-file for guestmount
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] guestfish.js: Drop use of --pid-file for guestmount
- Date: Mon, 14 Jan 2013 15:30:31 +0000 (UTC)
commit d1b6dfceec92990338b87f0f73ff0d109cf0ea9c
Author: Colin Walters <walters verbum org>
Date: Mon Jan 14 10:29:50 2013 -0500
guestfish.js: Drop use of --pid-file for guestmount
It isn't in RHEL 6.3 yet, and is kind of redundant with the lock file
we were already using.
src/ostbuild/js/guestfish.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/ostbuild/js/guestfish.js b/src/ostbuild/js/guestfish.js
index 9f057c8..d8049b0 100644
--- a/src/ostbuild/js/guestfish.js
+++ b/src/ostbuild/js/guestfish.js
@@ -88,9 +88,7 @@ const GuestMount = new Lang.Class({
this._lock();
try {
this._mntdir = mntdir;
- this._mountPidFile = mntdir.get_parent().get_child(mntdir.get_basename() + '.guestmount-pid');
- let guestmountArgv = ['guestmount', '-o', 'allow_root',
- '--pid-file', this._mountPidFile.get_path()];
+ let guestmountArgv = ['guestmount', '-o', 'allow_root'];
this._appendOpts(guestmountArgv);
guestmountArgv.push(mntdir.get_path());
let context = new GSystem.SubprocessContext({ argv: guestmountArgv });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]