From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6669723628337102848 X-Received: by 2002:a17:906:94c:: with SMTP id j12mr13915213ejd.199.1553513946106; Mon, 25 Mar 2019 04:39:06 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:e10a:: with SMTP id h10ls1503957edl.5.gmail; Mon, 25 Mar 2019 04:39:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOgDJrdgODPcbhGSXQLOq9DdN1aS08gXHpQqYaQMBYpX7Lytn5ba8AnADIAeKRGOxj6veg X-Received: by 2002:a50:cd4b:: with SMTP id d11mr15729011edj.137.1553513945612; Mon, 25 Mar 2019 04:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553513945; cv=none; d=google.com; s=arc-20160816; b=KrCfuO9eI0N3bTxNyWp4ms4TDbvQ7eH8ZFMpXj/ho0F4lWL5KrwhE96UI88dFJP/g7 H490SE+PiVxcUmLkh9r7oTDbQmpOut6T8VN61jTF/Dpuf4jdoSzjzMdycqfopNhPA2LS m5niex5es3uoztYpZRSqUqFp56xeKex1ypfvXL0JhEy4mppYXVEOd5M1L7kXyLzlpOGD 4x7kWjhuVl00aRnFJ53dEvTpRpTcGsJNNsd5lv4kScM2eKuHRbDrX4Qoq9+G8jdNetuj 4ciQJO9WcPsg6qviK4ddkjgyd1TteQtj5jR+SeeHlJXgXyggaKoDyG5/dKj7yxEtjgja vYNw== 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=EPPGaUFREO6OcjcQCyWGXfOjCf7c/OCtqx8IW0OQmNU=; b=pn0lt1E9c2MAqRjEX5ro5dg0h0tnOhjD91puFXTx5IXEJuV0OeEeWWmEClaPrEd2d3 mTeiuAG6cjOg7cSzT75nL53dtajZnsKFexzAiXk0RyP1MzPmXFiYw23kMRT6nYmiXDgG sUrfdwfQzBbdPjIV1FVMo5iRZcRRsRUB3mYaQ5h2Itn34QeOSlscerbDxHBU1cPW36yu LJbnxxdCduRgplrHRywZlYoy7kmiLv4U3ML9cf3mmpb2LUhD8ViMi+Tt6a6MQf9tuEWv npmPCjtRAipicxYnKdwKwA95pzBplJ1aUIYdBP1VeORVLtXzwUcFBpq8dTSg7sw7DfqQ mLiw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of mosipov@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id r10si985168eda.4.2019.03.25.04.39.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 04:39:05 -0700 (PDT) Received-SPF: pass (google.com: domain of mosipov@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of mosipov@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.164] (d51a48a80.access.telenet.be [81.164.138.128]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id x2PBd1pE017640 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2019 12:39:02 +0100 Subject: Re: [PATCH v8 0/7] Fix usage of additional apt keys and repos To: Andreas Reichel Cc: isar-users@googlegroups.com References: <20190321151526.12001-1-andreas.reichel.ext@siemens.com> <20190325101939.GA11173@iiotirae> <20190325112835.GA4930@iiotirae> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: Date: Mon, 25 Mar 2019 12:39:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190325112835.GA4930@iiotirae> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: dprHwgvo6Yq1 On 3/25/19 12:28 PM, Andreas Reichel wrote: > On Mon, Mar 25, 2019 at 11:35:33AM +0100, Maxim Yu. Osipov wrote: >> On 3/25/19 11:19 AM, Andreas Reichel wrote: >>>> Not working yet: >>>> qemuarm64-stretch with BASE_REPO_KEY and do_cache_base_repo >>>> >>>> | gpgme gave error GPGME:54: Unusable secret key >>>> >>>> I have created a keypair inside the build container and exported the >>>> public key to a file "blabla.key". Then I set >>>> >>>> BASE_REPO_KEY = "file:///build/blabla.key" >>>> >>>> Any idea? >>>> >>> There was actually no problem anymore. The KEY had to be in the gpg key >>> ring which was expected by the normal user in /tmp/tmpb6et85_1/.gnupg, not >>> /home/builder/.gnupg. After readding the secrect key for the normal >>> build user, it worked. >>> >>> I have just triggered a CI build on ilbers-ci. After that is green, >>> you can apply my patchset. >> >> Just FYI: >> >> I test patchsets independently before applying them into the tree. >> >> Meanwhile I encourage people to use CI build before sending patchset to the >> mailing list (if this is not RFC) to avoid unnecessary patchsets iterations. >> >> >> The automated CI test procedure consists actually from the two steps: >> >> 1) "fast" CI build/smoke test (by passing the key '-f' to corresponding >> ci_build.sh and vm_smoke_test scripts) - it tests cross compilation for >> three supported stretch QEMU targets and one de0-nano-soc target. >> >> 2) "standard" CI build - it tests native build for the almost full set >> of QEMU targets. >> >> >> If the new feature is added to the ISAR it's always desirable to add >> corresponding test case into the CI. >> > In this case it means we/I should add a test case where the docker > upstream repo is added and an image with docker is built. I hope that your feature is generic enough to add some simpler (not docker) third party repo for testing purposes. Regards, Maxim. > Let's say it is a generalization of an existing feature :) > > Regards, > Andreas >> >> Regards, >> Maxim. >> >> >> >>> Regards >>> Andreas >>> >>>> Signed-off-by: Andreas Reichel >>>> >>>> Andreas Reichel (7): >>>> Revert "isar-bootstrap: Allow to set local keys in DISTRO_APT_KEYS" >>>> Remove duplicate code from apt-keyring generation >>>> Fix fetched key location in apt-keyring generator >>>> Use apt-key to generate keyrings >>>> If we use a custom keyring debootstrap may fall to https >>>> raspbian-jessie: Use DISTRO_BOOTSTRAP_KEYS >>>> docs: Update user_manual.md >>>> >>>> doc/user_manual.md | 7 +- >>>> meta-isar/conf/distro/raspbian-jessie.conf | 2 +- >>>> .../conf/multiconfig/qemuamd64-buster.conf | 1 - >>>> .../conf/multiconfig/qemuamd64-jessie.conf | 1 - >>>> meta/conf/bitbake.conf | 1 + >>>> .../isar-bootstrap/isar-bootstrap-host.bb | 4 +- >>>> .../isar-bootstrap/isar-bootstrap-target.bb | 4 +- >>>> .../isar-bootstrap/isar-bootstrap.inc | 95 +++++++++++++------ >>>> 8 files changed, 79 insertions(+), 36 deletions(-) >>>> >>>> -- >>>> 2.21.0 >>>> >>> >> >> >> -- >> 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 > -- 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