From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6518631923461390336 X-Received: by 10.25.203.197 with SMTP id b188mr3491040lfg.8.1517814163999; Sun, 04 Feb 2018 23:02:43 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.46.12 with SMTP id u12ls628815lju.4.gmail; Sun, 04 Feb 2018 23:02:43 -0800 (PST) X-Google-Smtp-Source: AH8x225tTiaqKL0+dpdHif4BWvAAFzKbRTZcXuzzQqroahVxdmQQnIaShLILDRh1p6997xILXD2z X-Received: by 10.46.18.16 with SMTP id t16mr2614116lje.40.1517814163317; Sun, 04 Feb 2018 23:02:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517814163; cv=none; d=google.com; s=arc-20160816; b=rbh6+N9PTEonZyPNYxdaaCOuJIyWDKSUh9lg3RHT96RSPq6vHmADwXhjJmCxrll8hW 3Dkq5lJFx/IQ83uYLrgychoQaptL9d+rmGWpnr59HDucJwNL0eQu88MXQ1bWhsIQz8d0 0gyHaN1VOiQYVFTg+CROVrurrvNgLARgonoHWQob5p4n51xlqIa24/Xd3Ty9uraJ6VwG 92uOeAPwkOg0llvyIxdQb9fli0kUlvGgpM8khIeVfA/SpDSpYFVJgcALbepVhY/Iqk46 LpmMyYERuxXbtH/QaQBKA7YSK/Hmf04Gxth+KDRGE4L781rZ6itKWyAWUUWoYBFqZ97k ca7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=BeQMLuTtrG90zQwacWNGPEhalDvQv8Mdbwze8R6Ep+8=; b=RqmRw+IpRZs01vbarCiYMSu6VJuy800CY9co5+CQ/XWLg/drOUI853WrQLSVKixgV/ ACJV1K4W4km3zdaZVG/4OoEYhz/sxTodRpcUL7T7JzmXOsHO/BG+9Sbwi1PAmai7kgfx dmWWnHn+mnAvEZuMKQdTcLadURFlsMRKzieg9Ild3lQt3dzRofC7p6EzOR2L3csxkKIU lhc1FrTEmUu+/oD8PgqekfFhQze50qCxdgFnDI6gnmNxmKyzZR9tOaZtmX3g4SiJNKZq u6s0DBKdhPeWgyQxP//6eXbqDpf8I821fcbkn66H6BmW7GF3W19HFudrY/2F8OK+d6/1 NewA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id w29si599959lfc.5.2018.02.04.23.02.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 23:02:43 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w1572g1T030365 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 5 Feb 2018 08:02:42 +0100 Received: from [167.87.25.38] ([167.87.25.38]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w1572fwT006072; Mon, 5 Feb 2018 08:02:41 +0100 Subject: Re: [PATCH 1/1] buildchroot: allow unauthenticated sources when installing dependencies To: "Hombourger, Cedric" , "isar-users@googlegroups.com" References: <20180204094053.86-1-Cedric_Hombourger@mentor.com> <20180204094053.86-2-Cedric_Hombourger@mentor.com> <7087B498BB31B32A.276abe84-d62a-44b2-a65b-abc241cae647@mail.outlook.com> From: Jan Kiszka Message-ID: Date: Mon, 5 Feb 2018 08:02:40 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <7087B498BB31B32A.276abe84-d62a-44b2-a65b-abc241cae647@mail.outlook.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: WHhvFUNdt/5F On 2018-02-04 16:42, Hombourger, Cedric wrote: > Hi Jan, > > Do you have any build deps pulling from the unauthenticated repo? There > are no issues with packages to be installed into the image (or > buildchroot when pulled explicitly) ; only with dependencies > Yes, I do (jailhouse kernel driver depending on custom kernel-headers). The difference is that I have Alex' "build.sh: Force 'yes' for apt" patch applied. Please make sure to check the list for pending patching and clarify in the cover letter e.g. how yours relate to them. Also your reproducible build series seems to have some overlap. Thanks, Jan > > > On Sun, Feb 4, 2018 at 1:04 PM +0100, "Jan Kiszka" > > wrote: > > On 2018-02-04 10:40, Cedric_Hombourger@mentor.com wrote: > > From: Cedric Hombourger > > While multistrap would accept unauthenticated sources (with a > warning), > mk-build-deps (called while building custom packages) > would not. > Strangely, I was already doing that successfully, > without the change below. Jan > Signed-off-by: Cedric Hombourger > > --- > meta/recipes-devtools/buildchroot/files/build.sh | 3 +++ > 1 > file changed, 3 insertions(+) > > diff --git > a/meta/recipes-devtools/buildchroot/files/build.sh > b/meta/recipes-devtools/buildchroot/files/build.sh > index > 760ebc8..b6075b3 100644 > --- > a/meta/recipes-devtools/buildchroot/files/build.sh > +++ > b/meta/recipes-devtools/buildchroot/files/build.sh > @@ -9,6 +9,9 @@ > cd $1 > # Install command to be used by mk-build-deps > > install_cmd="apt-get -o Debug::pkgProblemResolver=yes > --no-install-recommends -y" > > +# Allow unauthenticated feeds > > +install_cmd="${install_cmd} --allow-unauthenticated" > + > # > Install all build deps > mk-build-deps -t "${install_cmd}" -i -r > debian/control > > -- Siemens AG, Corporate Technology, CT RDA IOT > SES-DE Corporate Competence Center Embedded Linux > -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux