From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6686392523912380416 X-Received: by 2002:adf:9e86:: with SMTP id a6mr2621149wrf.178.1556797075056; Thu, 02 May 2019 04:37:55 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:6342:: with SMTP id x63ls597804wmb.0.canary-gmail; Thu, 02 May 2019 04:37:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzutDo3ieXjw0WlnEuXfpvV4Sbgbs/FMbd4F2jTl612sVzxHwhh4bmc6J7exMOSSpjpNLAw X-Received: by 2002:a1c:c910:: with SMTP id f16mr2086422wmb.118.1556797074625; Thu, 02 May 2019 04:37:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556797074; cv=none; d=google.com; s=arc-20160816; b=cGaa77uKGgOJg55GEOgaYnJhOyrgoRXaW++srCnEzFLJ8TbxDoHBKkkwZP4+GMjpCk X5iWwdzqYmY+Doc8JBtXFU/r+zQ6SbzhS7afCChwDLFNgsRdaJq+EqSkvK1SiqV17yzD 3DGMUcwDYZ/Q+HQTEUwFi8K13YBV9331f8Ihvg0p1syYMwpow3usz+nKrVZjFPQKXiYR S4PGTCbDi6jW6DrLH67p2VkT7gmquFE+z5nhnahdNlVAzlNX0aVfQCMhpXfc1DKU/jRl KfwgT5eakMwvh6y+MtCRGPXM0h4nFfYVTHDc8zruhkoscsFM1VLJdtz2Cl9Z4qbztL1L Qy9w== 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:date:subject:cc:to:from; bh=mlfGhrfb8icmuazYnY93l1bxLbNaY2Fe5s7xKj4kCxY=; b=YfwdnkFaXH4f6+mhPbCS7AKmNOI9/fY0CdTlNXYGPES1Pz6EyMJwAmxc7Ct73NJ/l8 6wIciTWVDVw6W/XxN+JMr1W4wUL1Z4lUSt5pohMgcR4nRXkzKIcqYHNpwDvf0RQnG38Z ihX+s9X+zs5qTyP97vhI/re8UKWoDO0X1YHoedW5mM8Ogd7BystKi/SGy8+0Mep1CaHQ PjC9KJ2HnHB8CaqKnjL03Ps6he83mg7jFthwVc1PyuVN1d6nfqglkZi361tvJuL1lXQ0 WGM+W65+vmiM6jiz3JoNp690GiJPlfhvxLbThgOjOSaDyXNWdO4BTDy8oCP60SV/bAvZ C14Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id f85si308687wme.1.2019.05.02.04.37.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:37:54 -0700 (PDT) Received-SPF: pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x42Bbspf000631 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 2 May 2019 13:37:54 +0200 Received: from localhost.localdomain (golem.ppmd.siemens.net [139.25.69.122]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id x42BbrOV027767; Thu, 2 May 2019 13:37:54 +0200 From: "Andreas J. Reichel" To: isar-users@googlegroups.com Cc: Andreas Reichel Subject: [PATCH v10 6/6] Give keyring to debootstrap when using cached base repo Date: Thu, 2 May 2019 13:37:44 +0200 Message-Id: <20190502113744.31753-7-andreas.reichel.ext@siemens.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190502113744.31753-1-andreas.reichel.ext@siemens.com> References: <20190502113744.31753-1-andreas.reichel.ext@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: WoNL4PNVba6Z From: Andreas Reichel When using ISAR_USE_CACHED_BASE_REPO = 1, the keyring for debootstrap has to be specified to which the user key for signing was added. Signed-off-by: Andreas Reichel --- meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index c6c3cde..09aed83 100644 --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -238,7 +238,8 @@ isar_bootstrap() { shift done debootstrap_args="--verbose --variant=minbase --include=${DISTRO_BOOTSTRAP_BASE_PACKAGES}" - if [ ! "x${DISTRO_BOOTSTRAP_KEYS}" = "x" ]; then + if [ ! "x${DISTRO_BOOTSTRAP_KEYS}" = "x" ] || \ + [ "${ISAR_USE_CACHED_BASE_REPO}" = "1" ]; then debootstrap_args="$debootstrap_args --keyring=${DISTRO_BOOTSTRAP_KEYRING}" fi if [ "${ISAR_USE_CACHED_BASE_REPO}" = "1" ]; then -- 2.21.0