From nobody Sun Feb 8 17:22:34 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1692986167; cv=none; d=zohomail.com; s=zohoarc; b=QtwPPvqbgVV9MyHcg2ZDy2EjT3Wie+rD1OLRr2GY/j9sUusWgxmNY/fQLyJeTEEviJUUYfKv10trU4wFZHakk1Qo+HW5CIACI+goiIoDWHXlDE8k/L2YG+3TMj9zRNXzw1eq0WsEaFOs8WzxkKX595eeK8QAkZVuy5Bi+SVfTPI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692986167; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=dPbZpkZtF+2b57inkl1YNHrsMTMXhSa9dpQStPPe+zk=; b=mxYJ03dKj2BJdVo/x0R/nQNd+ygSGiIN8NwCnmen/H7g53ugL+TzwIiLm1uxmQjGuKeS0aoEKxOirB97x2C74PhMLUH7akqO+3JX0fTXMzp+rA/hpOWU/aHKdtp1iQcJJO9ordDKAVwpwLdTWzahUpfzs9mBSt80XU5z3Q3oVfU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1692986167028129.185299896664; Fri, 25 Aug 2023 10:56:07 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-178-HdKiIdFKMwymA-AwNLlDJQ-1; Fri, 25 Aug 2023 13:55:51 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 308DA80D2CE; Fri, 25 Aug 2023 17:55:48 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A052740C6F4E; Fri, 25 Aug 2023 17:55:46 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 561A219465B2; Fri, 25 Aug 2023 17:55:46 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 67D0B19465A8 for ; Fri, 25 Aug 2023 17:55:45 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 53CB54A9004; Fri, 25 Aug 2023 17:55:45 +0000 (UTC) Received: from orca.. (unknown [10.45.225.96]) by smtp.corp.redhat.com (Postfix) with ESMTP id A6E13492C14; Fri, 25 Aug 2023 17:55:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692986166; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=dPbZpkZtF+2b57inkl1YNHrsMTMXhSa9dpQStPPe+zk=; b=DwPcwVdbI+jkE064X+XvyyL72WSGxvZHbQ8u7rVsypZseT9PeIBlS/Js7u77UzLSa4WS+A KtgwkD8S8KffFGEF/vO9s2l8t6lbkbHtgQHMSEK8W5NTD8UyYxASu9PwNmZvwaf0bo3lQw CBIp+mWUaSFyXHDJrSjdzLnE5LeCrCI= X-MC-Unique: HdKiIdFKMwymA-AwNLlDJQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 02/33] ci: build.sh: Add GIT_ROOT env helper variable Date: Fri, 25 Aug 2023 19:55:10 +0200 Message-ID: <0afc1c88997d595a33c36818bc7863e7bb69f87e.1692986130.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Skultety Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692986167747100001 Content-Type: text/plain; charset="utf-8"; x-default="true" We'll use this one in many of the job functions future patches will introduce, it's a neat shortcut to avoid using relative paths. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- ci/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/build.sh b/ci/build.sh index d5586f457c..152c222244 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -9,6 +9,8 @@ export PATH=3D"$CCACHE_WRAPPERSDIR:$PATH" export VIR_TEST_VERBOSE=3D"1" export VIR_TEST_DEBUG=3D"1" =20 +GIT_ROOT=3D"$(git rev-parse --show-toplevel)" + # $MESON_OPTS is an env that can optionally be set in the container, # populated at build time from the Dockerfile. A typical use case would # be to pass options to trigger cross-compilation --=20 2.41.0