[gnome-ostree] libqa: Remove hardcoded gnome-ostree



commit 84465433368a85114b368da2939fa280fda6a09c
Author: Colin Walters <walters verbum org>
Date:   Thu Jan 17 21:59:48 2013 -0500

    libqa: Remove hardcoded gnome-ostree

 src/ostbuild/js/libqa.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/js/libqa.js b/src/ostbuild/js/libqa.js
index 6d2b5d2..d95a547 100644
--- a/src/ostbuild/js/libqa.js
+++ b/src/ostbuild/js/libqa.js
@@ -174,7 +174,7 @@ function pullDeploy(mntdir, srcrepo, osname, target, cancellable) {
     let defaultFstab = 'LABEL=gnostree-root / ext4 defaults 1 1\n\
 LABEL=gnostree-boot /boot ext4 defaults 1 2\n\
 LABEL=gnostree-swap swap swap defaults 0 0\n';
-    let fstabPath = ostreedir.resolve_relative_path('deploy/gnome-ostree/current-etc/fstab'); 
+    let fstabPath = ostreedir.resolve_relative_path('deploy/' + osname + '/current-etc/fstab'); 
     fstabPath.replace_contents(defaultFstab, null, false, Gio.FileCreateFlags.REPLACE_DESTINATION, cancellable);
     
     let grubDir = mntdir.resolve_relative_path('boot/grub');



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