From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6658246660386193408 X-Received: by 2002:a2e:800a:: with SMTP id j10mr1188139ljg.11.1550661793108; Wed, 20 Feb 2019 03:23:13 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:6547:: with SMTP id z68ls1219165ljb.5.gmail; Wed, 20 Feb 2019 03:23:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IZs2vYPlteis/8UtVnmcFMRUpChE2tzrcjuOgTkaqjN8b1QXsL5mMpkgGCHvwWVC5U92Vek X-Received: by 2002:a2e:91c4:: with SMTP id u4mr1984003ljg.29.1550661792586; Wed, 20 Feb 2019 03:23:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550661792; cv=none; d=google.com; s=arc-20160816; b=cyhrnS/dmksq8FBlHoTlUh2jbRubjsMKHUmz7dYLif66gW6GUCvcKBcpF31aEJ2Cjx /Q7X4EeVPUWhNKB3F48lAFo5UUAVG5nv4CM3kTfdsq/5KnS3kOUCnGJrIdHRj21ExW9H ttXlohjHBjugykYQOxt0w1C1XTCcpEtZAxwab0VCJJWFSac/7VGqf7Nj7UDFtox3VynJ APu93h2lWewSzWQKZdwRHePM9HyWjNfjZ3CCj6gF9xjIvNs7fJQePTJpd1yCTj5xhHT3 M/Odzo/n1+zzFeeANr4nzstMim2EQd+exNklArM2eHiqCpGLEwWnUH3fRQDLBma8oP2g r2bQ== 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=XZ1KkH3EER53FWIUs2PDPqArDhcJqtbR9bN9B3bO+Wo=; b=DDqrj4Pnf0unXC3PBvGp9BSf0ZLABdWsk+pQEICQbHTZg5LR0dVaQGLlnDhINA+rFM 7m3wpb7KQa0Q27b9awJ4z56PUuynr8sZ8W2HfU2hBNYh/5xoD0/J6tMzy2kNyOv/hjHj Jyyy8QJbmPUnfq9v4g1BYC5DmXOVqCpXD5VCD7osRehMU5xDDAlmSYA9Ytz55Db52utx hxXLw08o27G13oePA93U0MP7Jzm2MYcVaM3YR6CngLh0eXtZ/sr/Gfp6p1orfyKXO9aF zTYJA5JQNi67BgLa4BlGrV5rNu6QFcY1tnS9CWl6SmqodiWakwzMh/w5rGzdKXa+Ep/t 6UFA== 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 c17si351255lff.1.2019.02.20.03.23.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Feb 2019 03:23:12 -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 mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x1KBNBkn001554 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 20 Feb 2019 12:23:11 +0100 Received: from localhost.localdomain (golem.ppmd.siemens.net [139.25.69.17]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id x1KBNBuu023989; Wed, 20 Feb 2019 12:23:11 +0100 From: "Andreas J. Reichel" To: isar-users@googlegroups.com Cc: Andreas Reichel Subject: [PATCH 1/1] Fix path to user gpg-keys Date: Wed, 20 Feb 2019 12:21:33 +0100 Message-Id: <20190220112133.23122-2-andreas.reichel.ext@siemens.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190220112133.23122-1-andreas.reichel.ext@siemens.com> References: <20190219162942.6bfb794b@md1za8fc.ad001.siemens.net> <20190220112133.23122-1-andreas.reichel.ext@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: fmXo+Fpd+8/E From: Andreas Reichel If the key is fetched from remote (currently http, https), use the basename, otherwise, use the absolute path. Signed-off-by: Andreas Reichel --- meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index 234d339..25133be 100644 --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -40,7 +40,10 @@ python () { d.setVar("DEBOOTSTRAP_KEYRING", "--keyring ${APTKEYRING}") for key in distro_apt_keys.split(): url = urlparse(key) - filename = ''.join([wd, url.path]) + if "https://" in key or "http://" in key: + filename = os.path.basename(url.path) + else: + filename = ''.join([wd, url.path]) d.appendVar("SRC_URI", " %s" % key) d.appendVar("APTKEYFILES", " %s" % filename) if bb.utils.to_boolean(d.getVar('ISAR_USE_CACHED_BASE_REPO')): -- 2.20.1