From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6621151687620952064 X-Received: by 2002:a1c:7e83:: with SMTP id z125mr3170wmc.6.1543313744187; Tue, 27 Nov 2018 02:15:44 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:ffc5:: with SMTP id x5ls7051500wrs.16.gmail; Tue, 27 Nov 2018 02:15:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/X1TlrIEKmETDO1PwWY3CDDzAvFL4bBso/Ttt6VX6dmAEci14QFt/gxp+9uFp2fHfO2oMl7 X-Received: by 2002:adf:ee51:: with SMTP id w17mr3077979wro.17.1543313743807; Tue, 27 Nov 2018 02:15:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543313743; cv=none; d=google.com; s=arc-20160816; b=j518Qn+xFtyT0cGRZWS31JcuDQP2wPRePVLH/oFQuUqv7xyGOVrg53y2f3YM8MYGm9 vT9GvTtAHm1hQIQdA2X4C3ASgwBAtAJG0JcWIsodnDfJQ+D/O80ofYDXhLkIWzrbHncs vhYPl4Sg1e2O9NtDtZJefXmGDkVPjPMZMAAsBGCXpfgCX+Z8weee3OZ/DqiKjxtAoHlL 6WIvcE24ocLptzw3FDXxfL98oaJiUF8I9lcuPv84leVByuFr/NdrwfMJ0E69rT1TitYx b15uB41hS6ejpNvKlmeqaGN3AYv2nI0eLs14exz1u+ur4IsCHT13sJbtiyT5+lwdZM1J 9hnA== 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:organization:from:references:cc:to :subject; bh=kbzvoNgsk7vjGumqxJjU8ITRQBTpHF7kPKGmMFGrKv8=; b=Rp6DcJ5lYRYlus3Cc4EuSWDHm4at9KNLY6arxaZ6ORi/KyyK8rSvJ/TP4zRa6t+Wfg YL2nGlIC5ciXM4SshP2jMpx5tazpakWoeOWj8Py19Lvg+kDajAw4oYjVYy40R3AP1Z7x dYqY1EbR5nEwPhN5GUCPF1euoj2pwwiVKgoLIjO1QqgvbT8JdTCcfCXFYqU6uJ7CdvWP n4l9sSkZGknGZI2iG+3B/NNju/pJYPIA9i5S9rB5xOsq1yrlXp7wrE4gfzpHRrKXTrrQ GBWIEeQAtbewy3o+M9IMW2rCV8HDNKMzBcAUUhBwBfPDt04mlN9BNTBnGqBuy6YP55Lc 9iFw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id t20si124591wmt.2.2018.11.27.02.15.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 02:15:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id wARAFeN8006786 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 27 Nov 2018 11:15:42 +0100 Subject: Re: [PATCH 3/3] isar-bootstrap: Eliminate no-gpg-check option usage To: Henning Schild Cc: isar-users@googlegroups.com References: <20181107160955.23426-1-mosipov@ilbers.de> <20181107160955.23426-4-mosipov@ilbers.de> <20181127104338.4d491830@md1za8fc.ad001.siemens.net> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: Date: Tue, 27 Nov 2018 13:15:35 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181127104338.4d491830@md1za8fc.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: m5n0Sah5nx/O On 11/27/18 12:43 PM, Henning Schild wrote: > There is no problem with disabling gpg in the debootstrap case. Because > debootstrap only works against one repo and we trust this one. Nevertheless this doesn't work. Maxim. > Instead of the original "if [ "${ISAR_USE_CACHED_BASE_REPO}" = "1" ]" > we should depend on the trusted option, which we have available in the > python code in this file. Doing this will enable people to debootstrap > from a trusted repo, no matter if that is the cache. > Henning > > Am Wed, 7 Nov 2018 17:09:55 +0100 > schrieb "Maxim Yu. Osipov" : > >> Marking repo as trusted eliminates this option usage. >> >> Suggested-by: Henning Schild >> Signed-off-by: Maxim Yu. Osipov >> --- >> meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 3 --- >> 1 file changed, 3 deletions(-) >> >> diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc >> b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index >> cc1791c..592d042 100644 --- >> a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ >> b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -178,9 >> +178,6 @@ isar_bootstrap() { shift >> done >> debootstrap_args="--verbose --variant=minbase --include=locales " >> - if [ "${ISAR_USE_CACHED_BASE_REPO}" = "1" ]; then >> - debootstrap_args="$debootstrap_args --no-check-gpg" >> - fi >> E="${@bb.utils.export_proxies(d)}" >> sudo -E flock "${ISAR_BOOTSTRAP_LOCK}" -c "\ >> set -e > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov