From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6662306185101705216 X-Received: by 2002:a2e:9d93:: with SMTP id c19mr1359748ljj.25.1551189037179; Tue, 26 Feb 2019 05:50:37 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:92cf:: with SMTP id k15ls2062111ljh.6.gmail; Tue, 26 Feb 2019 05:50:36 -0800 (PST) X-Google-Smtp-Source: AHgI3IYXEbJPuCEWKG+KHWqWao9fdJUl0YRnO3yAeOq6EwQ/lE8Iy/jfLQCHh7fgNpcSXtngis0A X-Received: by 2002:a2e:2c1a:: with SMTP id s26mr1398805ljs.12.1551189036666; Tue, 26 Feb 2019 05:50:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551189036; cv=none; d=google.com; s=arc-20160816; b=guaU9TBbw5YrJ4WdgNeA5FjqkJXc0g+GnhchewHes+kJhNhMK9Y4boEYuIKtqOe6ZE nW47RvW1vMOkF4Vxw+4bC5oG2tpM4l510gOvDOBVJV7295kzU5Hup77NANX6sflXiJ2z Hvn7xmKRnn3suSALFbbpp4NE5X5UV2wPllRpnp0fwApFr9fgbEoS8NC6ec9elMN2hY7s HYdzSPJOMd/ENJ8fijCSL7CvzHopTVKYr47EVtVmCZuDNKIcdb/Inuy/y/7ypFw4ot4D mjxFlPS73xoqAwTRCVcpS+SjXOxJPo+Q6eNViPmmpjV+5fYMVlwcRtWJTfZVkETmr7fT kC/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=3f/fRGgfRrskiOdEZqoBWkc9tI2Chv8SuV9hp7SGXwk=; b=C/d+QkSs5gLYs5ptiWEDu6ONzEQ/nEQsYpSEWAKU/ykO3aX52ZhJuplTntfn7YAWEV G0s674dWJiXWzfvvc37nvqP4O8s0SPXgWC9HUaRDq4/RPxZkmseR2j12kKkQiLExBtNe m9GPIU86aMGaWf1g55c16BzG9ZAWTpBahEdoMOzDYXxRdtHHYAQe6R9MF4ewLX3Y/OEq Q4OXhiu7wYcYEMfi+KEnY/fIyxvI5yYXkyaiuY8mdV6zbAyiRvIgOOHO5pen7zSS0AOt F9qWOKjOQ+Kjx/AsXe7T1clU3yVl7hj/ic2UsNTY2Hz3YYopCKomxXcuKV32Yz3I8ezb 6gGQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id m16si450300lfl.0.2019.02.26.05.50.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 05:50:36 -0800 (PST) Received-SPF: pass (google.com: domain of andreas.reichel.ext@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 andreas.reichel.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x1QDoZV5003883 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 26 Feb 2019 14:50:35 +0100 Received: from localhost.localdomain (golem.ppmd.siemens.net [139.25.69.17]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id x1QDoZd6003394; Tue, 26 Feb 2019 14:50:35 +0100 From: "Andreas J. Reichel" To: isar-users@googlegroups.com Cc: Andreas Reichel Subject: [RFC v1 0/3] Fix additional apt repos with foreign keys Date: Tue, 26 Feb 2019 14:48:41 +0100 Message-Id: <20190226134844.8632-1-andreas.reichel.ext@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: cLQybOBlf8wN From: Andreas Reichel This patch series fixes problems when adding a additional repos which need different gpg keys for authentication. The patches are designed to make the existing 'API', i.e. bitbake variables work, not to solve the remaining design problems. On basis of this series, we should discuss how to further proceed since there should be a destinction wether we change the bootstrapping apt source or if we change the apt source for additional packages. If we change the bootstrapping apt source, we already need keys installed in the build environment to do the first debootstrap. If we only want additional packages in the target rootfs, we only need to add keys inside the target chroot. Currently this is not possible and requires additional bitbake variables, i.e. APT_KEYS_TARGET_PKGS, or APT_KEYS_TARGET_BOOTSTRAP. Also the reason for the option I delete in patch 3 is unclear to me. This way we could never add additional repositories. Andreas Reichel (3): Fix path to user gpg-keys Refactor gpg code to use apt code Use all source lists in target root apt meta/classes/isar-bootstrap-helper.bbclass | 14 ++++++++---- .../isar-bootstrap/isar-bootstrap.inc | 22 +++++++++---------- 2 files changed, 21 insertions(+), 15 deletions(-) -- 2.20.1