[gnome-continuous] libqa: don't use sysroot when looking for kernels



commit 3778280bc5574cddc905fa03322b37a0f77bade1
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Thu Aug 13 17:37:43 2015 +0200

    libqa: don't use sysroot when looking for kernels

 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 333b1cb..8b09045 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -294,7 +294,7 @@ function _findFirstFileMatching(dir, prefix, cancellable) {
 
 function _findCurrentKernel(mntdir, osname, cancellable) {
     let deployDir = getCurrentDeploymentDirectory(mntdir, osname);
-    let deployBootdir = sysroot.get_deployment_directory(current).resolve_relative_path('boot');
+    let deployBootdir = deployDir.resolve_relative_path('boot');
     return [_findFirstFileMatching(deployBootdir, 'vmlinuz-', cancellable),
            _findFirstFileMatching(deployBootdir, 'initramfs-', cancellable)];
 };


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