From nobody Tue Feb 10 08:27:06 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1581355493590892.231786098496; Mon, 10 Feb 2020 09:24:53 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-31-UmmKOITKN-CuUBztcPCEDA-1; Mon, 10 Feb 2020 12:24:30 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A2762800D55; Mon, 10 Feb 2020 17:24:24 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7C2BA89F0A; Mon, 10 Feb 2020 17:24:24 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 07EFC866D6; Mon, 10 Feb 2020 17:24:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 01AHLJgo028227 for ; Mon, 10 Feb 2020 12:21:19 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1F7125C107; Mon, 10 Feb 2020 17:21:19 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.43.2.246]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 99F8E5C10B for ; Mon, 10 Feb 2020 17:21:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581355492; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=HiqJHJLA2Z5MGxsOS3DTR5J7OSGA/EiNpbK5Yea53wQ=; b=ALwkF4ybs2SlgL5KmG5jvQBMwBqKZwK3oduGExPMLvPyv7W7bY/bTu2fNh8ZVMYqDpio8m PG+6q/LE+gVyzgAM6FU8/IFTxUDafeaymoCbLLGwNMI71FoLtKfmgIjGtkQ5scpoFtEmgK T9oVNyCVV75B1binwrais8CcXxXh2DA= From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] ci: Make container environment available to scripts Date: Mon, 10 Feb 2020 18:21:12 +0100 Message-Id: <20200210172113.53965-2-abologna@redhat.com> In-Reply-To: <20200210172113.53965-1-abologna@redhat.com> References: <20200210172113.53965-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: UmmKOITKN-CuUBztcPCEDA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" For container images targeted at cross-building, we bake a small amount of architecture-specific information in the environment so that builds can work as expected without requiring additional work from the user; unfortunately this information got lost as soon as we called sudo. Explicitly allow it. Signed-off-by: Andrea Bolognani --- ci/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/Makefile b/ci/Makefile index acb655941c..03799924b4 100644 --- a/ci/Makefile +++ b/ci/Makefile @@ -220,6 +220,8 @@ ci-run-command@%: ci-prepare-tree --login \ --user=3D"#$(CI_UID)" \ --group=3D"#$(CI_GID)" \ + CONFIGURE_OPTS=3D"$$CONFIGURE_OPTS" \ + PKG_CONFIG_LIBDIR=3D"$$PKG_CONFIG_LIBDIR" \ CI_CONT_SRCDIR=3D"$(CI_CONT_SRCDIR)" \ CI_CONT_BUILDDIR=3D"$(CI_CONT_BUILDDIR)" \ CI_SMP=3D"$(CI_SMP)" \ --=20 2.24.1