From patchwork Thu Mar 4 07:41:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 349 Return-Path: Delivered-To: ilbers.mnt@gmail.com Received: by 2002:a4a:c583:0:0:0:0:0 with SMTP id x3csp6298599oop; Thu, 4 Mar 2021 09:42:07 -0800 (PST) X-Received: by 2002:a19:2393:: with SMTP id j141mr2818743lfj.533.1614879727190; Thu, 04 Mar 2021 09:42:07 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1614879727; cv=pass; d=google.com; s=arc-20160816; b=CSPYKId+01pOiBPWa/1B8VyzTcx8l3poDKw1/8u8XSHq895fZrusyunaGGuFEWqZSE ho2l9GlM4GlU+vRaynY6C/saVm5vvPGPu50urrj3b+5ukpRd2R2DalpoBU7hcOuHFOVL RmacwPr6JT0KGauMly+SkFtB3vCoYDAMXJznxzebfTYPThBCvpHTksRK2njkilzVLinN IpSu90rEUihPRADlhHK/oUFPJSlGG/GPfiG/4+uWu0Nuk7a6TOnhE6auPK0as7e7x3QN H2HuFbjaYXQzqnXCfoQSHWUGeU4UYIta1WxSeFa2isk9HOjVw8I046Oq7A10gL3RxaOK sfYw== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=Pd68VuF6MJOKPqZ9deTh+UbstFZqiv0u6SVpkcf9Ino=; b=sS+hpdw0sVBtL0kAgKsS4I8+nuke1yQDiPJLHNzxpoF729D6dDE2Se9+qAxmZGl/23 aHcgokwao9wwtFvleJC0fCcIT2O7p8Pb7438VAMPqLLoWZZKhc1nwEYREnAXbfjYcgZa uAhPe+hBdoljlqxAJmCgjDlZX+1VLV7mZMx/13f5WUkbC0G2sLMV2Ft5kiq5SYVE6bSb xYWZ7YudQX3R70UsXhqkbbzVCkWKwGnxRedSonM5RfDcYCLc3uesv1Fi8+vqZkR6UdM1 +fDCdloD9bQ2+hqJbbXJ4dDQ7lghO3b93u1aUdpVu/R1gDSrtTvtC+ySVMgeoA0NYe7l XyLA== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=BG316rEP; arc=pass (i=2 spf=pass spfdomain=mentor.com); spf=pass (google.com: domain of isar-users+bncbcwp7lf37ukrb3vxqsbamgqeck3opbi@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCWP7LF37UKRB3VXQSBAMGQECK3OPBI@googlegroups.com Received: from mail-sor-f55.google.com (mail-sor-f55.google.com. [209.85.220.55]) by mx.google.com with SMTPS id d7sor29334ljg.76.2021.03.04.09.42.06 (Google Transport Security); Thu, 04 Mar 2021 09:42:07 -0800 (PST) Received-SPF: pass (google.com: domain of isar-users+bncbcwp7lf37ukrb3vxqsbamgqeck3opbi@googlegroups.com designates 209.85.220.55 as permitted sender) client-ip=209.85.220.55; Authentication-Results: mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=BG316rEP; arc=pass (i=2 spf=pass spfdomain=mentor.com); spf=pass (google.com: domain of isar-users+bncbcwp7lf37ukrb3vxqsbamgqeck3opbi@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCWP7LF37UKRB3VXQSBAMGQECK3OPBI@googlegroups.com ARC-Seal: i=2; a=rsa-sha256; t=1614879726; cv=pass; d=google.com; s=arc-20160816; b=T7uAXijozuzf72HejuINHJYKxV5v7U0ZS3MVFDqeQ+q8TmvgOfvQoS3JcDVXS3Uz3o yS//cLK/VADI1zJvum+V5/Cmth6dGTv1Q4NnpkhcxscSeOMKIa/EyfG+VmGv0neygPV4 heh7CTxHNfShr+FNPDiRMHRgqZop2GpnKd+TS+vL4jJ+Fp92lFtUEscIn5KKr4uI/bGC iPjQ5FtrIB+9r0Ebs+gBwMmaiFzvF4Ztw3hc+jupjGn+FIjJcAp8O6JKNCFNY3qAPGN1 fHUXKnSQnYfA4zY0Bfql8O+3EGWoZx5Ar2HeNITOaSOKeGiU+VyX5vDi71a7HtA/0JK+ 9KIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=Pd68VuF6MJOKPqZ9deTh+UbstFZqiv0u6SVpkcf9Ino=; b=tYckBxpj/xzISZwKrnKX21WXHV1fvXcK6tPA77088XyVBFgTzotzktP6sqX1S7yxX0 AAmr4CcAsWbWPvJ+pfE/NGGzWFmOnBzm8JDUAfZGKB0MEIrKK56AJFcG0/FDrQGh6WY4 o8ccm2AQjEAD+Zz4NuicrvjC1AnFw1NurUMFzXeeWKu0Fa2uoJjHuHevFGZ7yV75gq21 /igJE7ylmgRnBxA3lEM71OaTIOseea/FPsK6JHVg0tHjIEKWcLH3/SHYCvwbTbI4POe4 zhiV1hm1yG8WXDLwPWUf8biM3FNfkbk4hfzsmbObZWXJuHCSkLh3sJYfYSGrV3OcQblf NlEA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.252 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:ironport-sdr:ironport-sdr:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=Pd68VuF6MJOKPqZ9deTh+UbstFZqiv0u6SVpkcf9Ino=; b=BG316rEPRALkfledNjhjfaIi6iUTk4H/fXm/eYCQFRJb6zhJFNA/5PznvkDPTiIust xe3KLhTi+Wg/hJRfGrehiCwNisv3+WBI1hdym65pq0OZ/urbfHV5fxukTcPnxpbBXicP pfautln+Ff/21iahcHd5E3TfATnjNhLCTesaAzHRyH7nrTfCm5KUCYgJnQrUQWG3TQFn z8VrNYFFMXyMqJkbbUOGOgB3+ukrtRhS9ujC30APwfVmvgraucAR+mLrfF2NljOHToOP a1T/k1vT7jB/5xWKPjjgdvQ6SU8/yJtrO1K2rsy/18RbE9ZR5FXhFeKlhU5T4PSvvrV/ j2GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:ironport-sdr:ironport-sdr:from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=Pd68VuF6MJOKPqZ9deTh+UbstFZqiv0u6SVpkcf9Ino=; b=gXmfyguSL5F0WOr5U4kDZkxNXsjzKU4mmA0xApxnxDqCM/HKSs00fdjXlHl514XrkR R8k0WcTvNYDBzEe/MdBvjWn1kK3TzvrE5aCwIwoNon0jxEngGOyf9Bpwmi/YVQMMdk03 aEk2iDvxbPiu2OZFCUk8JqIR5lhZBqMLmlH4ko6s8VGc3pRpUjl73zLwUWLS6PVTtjn1 nN8ZXyn7VV7NWg3qL8SjtCjRcNQnaLeCp90jVr5R5xlgMeWXtSOL8nA5vZ9qXJIfocc3 Mdo1gqCeXpogjdNuvCjhszexlvqvEJ+419KlsqH1j5EpdJ/b7BOP0sm0Svz0hptWjWq2 vu3g== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531xJsrwxjoTvLr9be/42c/oLHWT218PV4bMDHzE9xCzCHxszmSH 6VIKfvT/tnHEAHq31rRwMxU= X-Google-Smtp-Source: ABdhPJxBBX5n+o3ku70jykkOPAY+R1YEOOGXrG99DDXVuLUAubhGSsQJREmfwh83YRBRYB6SCKckpA== X-Received: by 2002:a2e:7317:: with SMTP id o23mr3001264ljc.250.1614879726721; Thu, 04 Mar 2021 09:42:06 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:6d4:: with SMTP id u20ls1669052lff.1.gmail; Thu, 04 Mar 2021 09:42:05 -0800 (PST) X-Received: by 2002:ac2:5103:: with SMTP id q3mr3028680lfb.26.1614879725276; Thu, 04 Mar 2021 09:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614879725; cv=none; d=google.com; s=arc-20160816; b=j3tRj0dHgxdaUUOXqYQ68KKGOwEzhfTQxHiyHqTT5wfmARf2//2bFGKgwJp/mZ1iKY 9s8T4fXSAQccHMiClUWcVXEsCNewQRF7kZeGNqEW8KJHDIj9kZ7MkU3HL1QyBtE9AmvC dYUQ41vFcQ30aoNpGh+hR4xbEiO0SHpiW9i/DexETlj7wsKWii4jFim8BJF6ncWaW3NF T/VF4wwf8gl7BmjktGCwRxbqmvHOujnQmA48AqzsE//gpS78BIlN79YcDNmD7Xuoyvf0 4CxsYvCtLVLbz5Pjmc7oalftdUxba6r24pGiXsdwOeCOJXVZCCpkGC28btGPW3tnlQUi mqLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:ironport-sdr:ironport-sdr; bh=RnorLW1jmjSsCV4wyKAYJqq1zr+sbyQFPRfC5ZeBQVs=; b=ys+ikFARrswOGDiq54GOGg+pdl+GdG23WLTOGpWhLE9TfwZN4fF1g9JOB4smchWue4 7bIAx9ttKKT1hJwA5ws6/sRV9TTxwBPj0YEoYF+kqO3X69JJWU/UtbrBt8knP+GCIEER QUFgbkHc7xsyK0+UOCX45wN3oG9AxxZekvI/dgW2I0IiUzXgEHxH9VPeWpVVWDZ56SpG 3eiSj4MvlZPXJukodUR2ZA3peKdUvj/ZbjMJCbL2k9ePrtan4Ly71P5aDtFPfe4Cl9tE NNNAEgJXZ8m+uaClps1IZdenj0NSxmeWVn3CrueunKWDFgI2XfgZBkdrQue7CaQm4cVB +IQA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.252 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com. [68.232.137.252]) by gmr-mx.google.com with ESMTPS id m17si9741lfg.0.2021.03.04.09.42.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Mar 2021 09:42:05 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.252 as permitted sender) client-ip=68.232.137.252; IronPort-SDR: ZR0GuW4AX1YfVWpfLZOABr0AURSYpKTjVPQmZjNrySO9OMToQcde/l27rp1diJIriwjsu5AQt3 ipCh4XAmg8xlFf8DId/dfQ7I7XAE46jj5a2zGLAPaz1Ne8Sr+WG0ihw/4jdYTPfgW37TOsVP7g u1Z19MLzH/4Rcm1SCfSxq3SUy1A8TXx2Kp8lSojl2KjXiGesEeflWyIO+iIUYDDvRspwcQsljc f20Ggvp4EQ8PNKci1F5mCAeSF8lhCSG3I+zgq+kzgPHujI9b0XcnFZjVaFllHACn/8esq2THLN 180= X-IronPort-AV: E=Sophos;i="5.81,222,1610438400"; d="scan'208";a="58899587" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 04 Mar 2021 09:42:04 -0800 IronPort-SDR: OX6EDNVUXnm3LGbqBwqkwJxD+wSEgXHqjq/laGzkSti73NRK/GVM4mBe7oSmDL7tuCyc10XAM+ X55Ukxc8hag1LoR1eQQYzQpUVxZ3+cI+3jnXQFE8/ofjZYZe3APzRX1ud4kmBrc6I7JKdtihvr Mmy4w4qs6XKk39ehknfFhMNm7q0xrRMcKLjA//X9ZvC+fSubD0UIHHLVSFQdhWTR+b6MeIiUdb yMgrRUAtak26FJsXsNR6ddZPhnPCYezXmh5FuutbLq+x3uhWJfflAhQ2J9CwRz1vZOAmMm7YRp lqY= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH v3 2/2] Modify hello to demonstrate apt:// without ${PV} Date: Thu, 4 Mar 2021 23:11:37 +0530 Message-ID: <20210304174137.11166-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210304174137.11166-1-Vijaikumar_Kanagarajan@mentor.com> References: <20210304174137.11166-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: SVR-ORW-MBX-05.mgc.mentorg.com (147.34.90.205) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-Original-Sender: vijaikumar_kanagarajan@mentor.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.252 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1693324125011493602?= X-GMAIL-MSGID: =?utf-8?q?1693324125011493602?= With the introduction of do_apt_unpack, we can set custom ${S}. With that feature in place it is no longer mandatory to specify the ${PV} of the package. ${PV} was mandatory before because do_apt_fetch was unpacking the contents into a folder named "-" hardcoding ${S} to it. So we needed to know the correct ${PV}(debian-source-version) beforehand. Signed-off-by: Vijai Kumar K --- meta-isar/recipes-app/hello/{hello.inc => hello.bb} | 0 meta-isar/recipes-app/hello/hello_2.10.bb | 11 ----------- meta-isar/recipes-app/hello/hello_2.9.bb | 8 -------- 3 files changed, 19 deletions(-) rename meta-isar/recipes-app/hello/{hello.inc => hello.bb} (100%) delete mode 100644 meta-isar/recipes-app/hello/hello_2.10.bb delete mode 100644 meta-isar/recipes-app/hello/hello_2.9.bb diff --git a/meta-isar/recipes-app/hello/hello.inc b/meta-isar/recipes-app/hello/hello.bb similarity index 100% rename from meta-isar/recipes-app/hello/hello.inc rename to meta-isar/recipes-app/hello/hello.bb diff --git a/meta-isar/recipes-app/hello/hello_2.10.bb b/meta-isar/recipes-app/hello/hello_2.10.bb deleted file mode 100644 index bfb8722..0000000 --- a/meta-isar/recipes-app/hello/hello_2.10.bb +++ /dev/null @@ -1,11 +0,0 @@ -# Example recipe to rebuild a debian source package -# -# This software is a part of ISAR. -# Copyright (c) Siemens AG, 2019 -# -# SPDX-License-Identifier: MIT - -require hello.inc - -DEFAULT_PREFERENCE_debian-buster = "1" -DEFAULT_PREFERENCE_debian-stretch = "1" diff --git a/meta-isar/recipes-app/hello/hello_2.9.bb b/meta-isar/recipes-app/hello/hello_2.9.bb deleted file mode 100644 index 2fe59d1..0000000 --- a/meta-isar/recipes-app/hello/hello_2.9.bb +++ /dev/null @@ -1,8 +0,0 @@ -# Example recipe to rebuild a debian source package -# -# This software is a part of ISAR. -# Copyright (c) Siemens AG, 2019 -# -# SPDX-License-Identifier: MIT - -require hello.inc