From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6620706842589790208 X-Received: by 2002:aa7:d1cb:: with SMTP id g11-v6mr321279edp.4.1541504952224; Tue, 06 Nov 2018 03:49:12 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:b4ed:: with SMTP id x42-v6ls2350499edd.0.gmail; Tue, 06 Nov 2018 03:49:11 -0800 (PST) X-Google-Smtp-Source: AJdET5fbDa8hgKcO26nNAkKFfj7WrAO3F5Y1roRu+cJ/5Kt96cYz+7nnJ7scRciJOXS4f89OAwVp X-Received: by 2002:a50:c982:: with SMTP id w2-v6mr4870628edh.12.1541504951826; Tue, 06 Nov 2018 03:49:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541504951; cv=none; d=google.com; s=arc-20160816; b=qE6KV87JGvgVYepcqoe1yZW5dedTIZjH0Tt7kbd97qMkk1PWzTUJmICxY35cVEnl5X YF0VoCR6TGvrWQbEc+ZYEcYlVIT2FUxlCuteTvUojwBFRaXXmmmBZQ5aedPoOQpjj3ep rSpZSNdIot14y3FelCLijxRZ2qMAh5/OoVv9QjxDXd49bPyFMyyoai8dIdXorv3g/qfv RCArLBLaX832TE+G8ow0Jo/tNF1DZrz4GgIpQwbZBdWJaUjBKym41eHI7Gwmw1siMdMh ubKqWIi10/0uPT8eDU4qC/hthVIwdqUe2JlrFYDMz1GGQ9WU5wLjPM+47fUgOxb2Dohf hb+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=Ith6JB7Uq/pPsIm8tGaDT8SijjxqkXCpJjXjrFSOpRA=; b=XoGw6rQG4UyW8IN9b2CmFcyjG6nk5euWokRChXiVP+xjrf3lcGFrZCS8TCDJEzZh5X R55H4qz7Jses6CSW1/o2scp8YN0dcTgxd1DARmjC0CJYT4xpoO/gC4k3vRL+d9FN3dkK 9cKZky/1WnbF/+pNSYqv1Jg69iBV6ktXIfhBwEGlBe1Jj031qJRlVQSm9PwgSIwu14ap FsQerFGUcCgwKVhiXhO+jsBRm4zVswf3wxFYROitYUxCxQoq8fgif1sOAhdH2oWwYnc7 vtJ5TJuCRJ84zUXg+zCtOXCgMWJVEiIfY5/EK/uO2QsNHgkoX9Q1E7OieO9/ARd1aYOf It+g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id a35-v6si425254edd.1.2018.11.06.03.49.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 03:49:11 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id wA6BnBm7006903 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 6 Nov 2018 12:49:11 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.68.252]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id wA6BnBDN025667; Tue, 6 Nov 2018 12:49:11 +0100 Date: Tue, 6 Nov 2018 12:49:10 +0100 From: Henning Schild To: Jan Kiszka Cc: isar-users Subject: Re: [PATCH] linux-custom: Update isar-apt prior to installing build deps Message-ID: <20181106124910.66f51096@md1za8fc.ad001.siemens.net> In-Reply-To: <8cc02aa9-ad5a-0190-0162-fcb648b50d82@siemens.com> References: <8cc02aa9-ad5a-0190-0162-fcb648b50d82@siemens.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: J5UoTsrtKEW9 Am Tue, 6 Nov 2018 12:23:53 +0100 schrieb Jan Kiszka : > Some of them may have been built by a recipe. > > Signed-off-by: Jan Kiszka > --- > > Henning, maybe also useful for your scenario of the openssl rebuild > because the kernel depends on self-built packages there as well. Will try once merged. > meta/recipes-kernel/linux/linux-custom.inc | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/meta/recipes-kernel/linux/linux-custom.inc > b/meta/recipes-kernel/linux/linux-custom.inc index e9a68fd..d9b2935 > 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc > +++ b/meta/recipes-kernel/linux/linux-custom.inc > @@ -27,11 +27,18 @@ KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | > linux-initramfs-tool, kmod, linux-ba KERNEL_HEADERS_DEBIAN_DEPENDS ?= > "libc6, libssl1.1" > do_install_builddeps() { > + dpkg_do_mounts > E="${@ bb.utils.export_proxies(d)}" > + sudo -E chroot ${BUILDCHROOT_DIR} \ > + apt-get update \ > + -o > Dir::Etc::sourcelist="sources.list.d/isar-apt.list" \ > + -o Dir::Etc::sourceparts="-" \ > + -o APT::Get::List-Cleanup="0" All these args make sure we just update that one repo? Henning > sudo -E chroot ${BUILDCHROOT_DIR} \ > apt-get install \ > -y -o Debug::pkgProblemResolver=yes \ > --no-install-recommends ${KBUILD_DEPENDS} > + dpkg_undo_mounts > } > > addtask install_builddeps after do_prepare_build before do_build