From patchwork Wed Dec 18 10:30:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Granados X-Patchwork-Id: 13913371 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D017F1F2C4E for ; Wed, 18 Dec 2024 10:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734517812; cv=none; b=Otu3ZNG/2mG1YIn1E4gGX7iuD8pqOO6c/aM1SuNVjDMmuBD05M6T0igGyDx89qdIpIm33Jy1ErKJvzp4OqzJP7oJEBVOEGehd2EpiRJfClNjhk8xlxUdviJmOWESmV9FwcqJUgZOuY7vpOlLz61dZTEYugL8dMUQpXb5iULc8Vs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734517812; c=relaxed/simple; bh=Kv/ycEEjWStHBxJuRHp2jefllpU4iYXDCmq1ZbHsqLs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oGeobNuouuE5xUMf7V8TLomLtQrf8/DmpvDK6sH06qihK2qZwwrfd1g7mXI808nBv5gI1P/mPXly4QiktBUeINQr1KMxr42MbWYzYEHh1wBud2TeYydIboaOLzgRscMdtfHjX6wN9pXLNWaDEMta2D4oqZjDGcnbv9QYGgJQNFY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RDzWbeR7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RDzWbeR7" Received: by smtp.kernel.org (Postfix) with ESMTPS id A8CF3C4CEEC; Wed, 18 Dec 2024 10:30:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1734517812; bh=Kv/ycEEjWStHBxJuRHp2jefllpU4iYXDCmq1ZbHsqLs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=RDzWbeR7ftSyPvUV5+Iv29xqzRfU49oHQoBUEtlCip0RzsqUdywLw+wS92EjO8Ibe ff5tC8Ne66d9Kdf2RpuwRvwCRsuc6+5jxVz0WMgR/M9XGDgDBUyK2J/GwOrGnnnaSU BZz0BoESGHJqEHIUbvv+pmdKoHAphoXufo8mnF6QIwVr8wvWHgR0n5k/RF3G80k7du Dji6wt9mJbWit2oSPxY4WgHKw+uZgxBY7uArjUJBrK1H1opA32Xlua3dBuAJdZ3N7c 0retRb2YM+sQC9qeR587SvTaExh5LdhwdqPhMadzqlEt5kgyADeu+Dqwy8rOMWRzgo OCYvlV/DjeazA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0EEAE77187; Wed, 18 Dec 2024 10:30:12 +0000 (UTC) From: Joel Granados Date: Wed, 18 Dec 2024 11:30:05 +0100 Subject: [PATCH 11/12] scripts: Return the full default path of the pool path Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241218-jag-bringup_fixes-v1-11-0bf2e07c640c@kernel.org> References: <20241218-jag-bringup_fixes-v1-0-0bf2e07c640c@kernel.org> In-Reply-To: <20241218-jag-bringup_fixes-v1-0-0bf2e07c640c@kernel.org> To: kdevops@lists.linux.dev Cc: Joel Granados , da.gomez@samsung.com X-Mailer: b4 0.15-dev-00a43 X-Developer-Signature: v=1; a=openpgp-sha256; l=618; i=joel.granados@kernel.org; h=from:subject:message-id; bh=Kv/ycEEjWStHBxJuRHp2jefllpU4iYXDCmq1ZbHsqLs=; b=owJ4nAHtARL+kA0DAAoBupfNUreWQU8ByyZiAGdipDF8wr0zfKRwI7Ai6EumFq+tcl5KmaZEm rSG4u2tOE11hokBswQAAQoAHRYhBK5HCVcl5jElzssnkLqXzVK3lkFPBQJnYqQxAAoJELqXzVK3 lkFP/xEL/j3qisqcUPCiG3GE6uRl38N7m4ZzmhW4DPZec+m+tzvqW5fluncQeC1mPJ3k7PlDgGD R/UrtnIqJRxu8lUMqt9QXD/x3wLv9Bpar4ATzGm9kVO/i4hawIKfKVRRCAfM9EwJ8e0mVzobOH3 G9VUe/Tw47LbZIgWTKvFsugZ8KGhUeezj1aWVcs3er1F/YHkCPLM13+zDQeM9Wh+b+XSPQHB1y4 tzzVYvtqgwD2jl66b8N8Md7XdZT23Dub7rcXMpvb5FUM7DlEHaEXPOXtfCpekbB06pIv1fU9L8Z OyTQDYg931Vs3Hcka+KTvwRvoF7yDS/9XXVGDkaKgxT8MEyvrivdvv8tMrGrxotnKgX19dS9mgj PjZ1Ft4422C9Oj4ivWe9JAVzFVRbOfxk3eQZ8J8Q3ucuGdkivm56dJj69dSMxRiGwY2VUqaXA3k oF6phCu3vP4JDDt2aIyPgcSb7lg97YTvayMlqjoeruZlWiD16aijXQ3REl84nUJipuvt/Jrvg+8 f0= X-Developer-Key: i=joel.granados@kernel.org; a=openpgp; fpr=F1F8E46D30F0F6C4A45FF4465895FAAC338C6E77 X-Endpoint-Received: by B4 Relay for joel.granados@kernel.org/default with auth_id=239 Avoid "file not found" failures related to relative paths in pool paths. Signed-off-by: Joel Granados --- scripts/get_libvirsh_pool_path.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_libvirsh_pool_path.sh b/scripts/get_libvirsh_pool_path.sh index 92901a8..c036777 100755 --- a/scripts/get_libvirsh_pool_path.sh +++ b/scripts/get_libvirsh_pool_path.sh @@ -17,7 +17,7 @@ POOL_LIST="" get_pool_vars VIRSH_WORKS=$(virsh_works) if [[ "$VIRSH_WORKS" == "n" ]]; then - echo "default" + echo "$(pwd)/default" exit fi