From patchwork Tue Mar 30 21:32:35 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: 398 Return-Path: Delivered-To: ilbers.mnt@gmail.com Received: by 2002:a4a:378f:0:0:0:0:0 with SMTP id r137csp207017oor; Tue, 30 Mar 2021 23:33:23 -0700 (PDT) X-Received: by 2002:a63:f443:: with SMTP id p3mr1787503pgk.378.1617172403036; Tue, 30 Mar 2021 23:33:23 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1617172403; cv=pass; d=google.com; s=arc-20160816; b=KevxCiMJgGjgXz8Kz21KMkCjqr0gqF9+mLbGUvfYWuBaHprKdG68fUtWpLX5VTDqhW CJm7jxHouTxKsgbGgkbFp4JH440F6S75+F6/PDV072vFzfuCi3BqFruOXvKbsnGytl/u jr9bqlqz/hrE2izH8cN3PlX1ZkT0BF1yxYGGn0u5tXvVILAypJJIB/IkECsy8cb+Kx2j VOJwBKKLHVXzr8Hw48JpnGtb9gt87SCMuH0REcOCJuESzucHrtUEsPXHihl7C6f4FC70 y+I3RLYzJkuy5gF3X3RKu+5/2utLtOw6Cq3HvXH7+EVAG7HME5gLhYSNDFQSV3uMEDKM TP5A== 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=Uv/A1vBOqW4KvrRrOHPgawGHyDIqF5z150ZI8qmSJ1A=; b=Oju2uP0g4pfyMO9f3+3tgg41OcZIUbkPDePhfVvhVMAxmvDClZUm/Y2FzS+LcIGbUW aZiWo7PBNbyQSE6H77bLX3jBJ2XIs1/9KLL9MHMRadSgKAjc9zrxG+eFqFw7p+8YrXUg r3VbJLUy7Y+mWrMP3bRHmvWzZa+dv34J9k+M/eRXsNQwbyRAhHlGW/WjGE2AyTbvBnwE qYBzDCgBYQJVvnsHRCAGCC8oBN2VWB6XaU+f6bmTPJrxSxKrf33+rl3mv7awBx+pkBJJ 6kmSCjLb/W+/WSVLjPApAm2PszfXR0+Ml5dNBYjwfjPGlRmUxaB45fp+B+A88Y9yB3vA +wrQ== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=CfrkYI3r; arc=pass (i=2 spf=pass spfdomain=mentor.com); spf=pass (google.com: domain of isar-users+bncbcwp7lf37ukrbmvpscbqmgqevohwsnq@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCWP7LF37UKRBMVPSCBQMGQEVOHWSNQ@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 u3sor656201pgr.84.2021.03.30.23.33.22 (Google Transport Security); Tue, 30 Mar 2021 23:33:23 -0700 (PDT) Received-SPF: pass (google.com: domain of isar-users+bncbcwp7lf37ukrbmvpscbqmgqevohwsnq@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=CfrkYI3r; arc=pass (i=2 spf=pass spfdomain=mentor.com); spf=pass (google.com: domain of isar-users+bncbcwp7lf37ukrbmvpscbqmgqevohwsnq@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCWP7LF37UKRBMVPSCBQMGQEVOHWSNQ@googlegroups.com ARC-Seal: i=2; a=rsa-sha256; t=1617172402; cv=pass; d=google.com; s=arc-20160816; b=xAspgcTekMJyGxIjjByW3l5NN0aa8BpQk/D8wZSXg1Shi16BKY7q6Mqqud3CcpGN1S 1Qq0+8imrZLGqliSKBRcf5r2lRN4AYwX67QrvBfMNTltO+vwhXDNd8evIWmbB9SPXAuF thYzOadAU741OBLPqr0yoa3RO1wyJ2y91pyhR9JhPLZ0959b6ELZeXYcrzWToEXUv3PH hp061JZvuJ0QBYa1oPHbj6Zc9EDZyUVHOIYusXVvMcgnWTupJUaoyl9nGfuTzPeJIUQi BSiJgGY9p7nYaGUUe275zhSvZtWAGc1JZyw/6OvYuViKI+ci5nwQ6N+VRkmO8ncxRQ87 hUPQ== 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=Uv/A1vBOqW4KvrRrOHPgawGHyDIqF5z150ZI8qmSJ1A=; b=IB9JAAR1bbHDhKY2EcM+8WEWS9EWLtfl7iM8VvcB+m+NQzYU1g2Xf/IBYCGAqxB9d0 kyZv7ZJEpR54gVUfRVwOBAhTyKfo0ALMtHHXNhVV7pjHOaJBa+FIX10PRqqrmBFztKtY ZgsM4y8zcG1079lhQgGzC0Ph9G6tMYDsTPpgZNn/duwxaaTX+6JtvELp16vjWC9YE6fR Vu+KHfesJpAtFMruG5xwalADCNbmeZJNB4/KGg+V/90Mb/F44r/0xSDGnSuAU9ukW5/R NtbEpH3hUt2R/fNY13juq/DhS6L0R/DpALju+/14JHT3XGILyQnwBHW2vphcs+gQrAEw av/g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 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=Uv/A1vBOqW4KvrRrOHPgawGHyDIqF5z150ZI8qmSJ1A=; b=CfrkYI3r2qwf4qZ0RnnAxdmJtXsUmVPoL7voISHn0S8g1WFkGvBkmV6YhmE5YLyj0C PZTDmzR6rSUv/iS7NdDMguFD6UBxASJRkzmortBA8NsV9HenjdqtLbC99+A9rVtlqQ4V qNTvP936om7qfOiJHvLCr3BuBR6BWDqZwpEPReZFy0+uxoghQ2CA89uIemJ/8ELgIFvV jVXW5SrwmuMIEnIPXMerGjbU+FCppbmNAa8c4/UmvQz/4trymvM5xIWKwduWd+Ve1xj4 krKBvv9LlyZLhJOVVFHASjKUDjXtCjmJlOjZUPJZ8P/1Y4eepBt+Eo2BRgyoB1UuzHaS ChaA== 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=Uv/A1vBOqW4KvrRrOHPgawGHyDIqF5z150ZI8qmSJ1A=; b=h9Nywr26honPBAUAUibm+tEMQ5HwPnjaECBIbbjbXTXOG7sV2Hj4JGisftAmsHKZpI HCfDGsM2BT4M+/vWtOAGxJTOWDvnUMrQp8c+qaR4bVenxV7uhP1lnUjrHiJolHFsv8EQ oo5C6oGvFzqLikKDEXptXJtjygstLr+KXwMJFdbDYeI7PIxpQJ2K9CpY0GVu7CHREGJK 6+6mq+NS7mGnjsYIeFpcl/P0olABPQa32tJJSltRKUvtmFKY9sObOmTytGJIKrivEFnU +6r7IgjXoqkFOBjC1b7g4KcoTu+31mxVswmpTt+ts7XetCLzPhN07VCmG3XHpocRUV9A p6nw== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531O68Q215KY//GW5X5OYpgycFvlcwb4lVguS9WWaIljgvysosTM pLbx4mW9PAQ8nFbSilK5oGM= X-Google-Smtp-Source: ABdhPJzJWonx2HXekmaf2J297vmWLyw6bmxaIL8EP2m3El2cVwWUQkVFAaCKNKJDlkuvgCSS8LAHLA== X-Received: by 2002:a65:4046:: with SMTP id h6mr1749303pgp.345.1617172402690; Tue, 30 Mar 2021 23:33:22 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:eb43:: with SMTP id i3ls627984pli.7.gmail; Tue, 30 Mar 2021 23:33:22 -0700 (PDT) X-Received: by 2002:a17:90a:b293:: with SMTP id c19mr1979242pjr.193.1617172401980; Tue, 30 Mar 2021 23:33:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617172401; cv=none; d=google.com; s=arc-20160816; b=MbXLSzxobvXpOaIpYXzKv5xYjCjTY/+1VAeVAXmFvmgldXodJKI84i25o6rLMO9t6m sTsY7/biLMA/aJbcr+UISjrO9rxq/jh0MGIiBcSq/mK1oaxUBTzUxxTBdUb3tgcLyniI ICir8U5VWhnQK9XLsCda8HFVGPAiBIzbu+oz8YZxW8Xl/bDTX/Zzv1FiA9xtuT4/pHDH vB9Yh68zfUs65KgKrmZZNupe0s5OGVKcIPpEJH3KdSYfiNQTUQ2E5q2jBIuDrySBP+zH miT5SLnwSK1ZZHlAbSn9AgRUxwzMx6x01PBak1Bhifv+JPzrhI3iMiN99lPf78dH8QKZ rNpQ== 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=nAn4viNYx8YxyyaCinMFEku75g3Fs5pFg0MDTe1X2OlCgNpGQE+s1oU3dFo0SujOee BqBy4521piXOTg4AUTEotgHBFWookSa04yLNtO4Jb8UAZap3cyLBtPICv+MNjjKsg+2k QyvHaRKIKdAftUEEnBx24i5Tyum/3ULcDKu6P7o7JNt3UQ71cLukCqWQQyMKboDz1IQb NN9WhpYCEI8F+AvowNrHUScuLgfdDhr4DmacHqpSyewhbDdOGjtGwv4dZSgC4FpnI8xw MsWbjqwkmBrLvJhCu5uN/xWbzC4iIQYpzn5fVaw4xhWoolc/QRP6s4jDeI2eohZ9IS+p i5+Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com. [68.232.141.98]) by gmr-mx.google.com with ESMTPS id n10si93853pgq.2.2021.03.30.23.33.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Mar 2021 23:33:21 -0700 (PDT) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) client-ip=68.232.141.98; IronPort-SDR: 1ycNs3UiOyG68XWkxWGcy/hX9YGfxD6XXOkEWP0qNzOoxRr51NtuKZmbF6Fi0JIVclUheMKs63 W2HRY5DOz2E8DOOC17ozMoa8aunwHnPoHK4AIxGjtpWIbp83oyabS761zkiW+RNU3UfSIZL0ka bbvEOlZB7ucRWvSF9aCLoKcbn50WFewynwCJ6gcfGfqhtNzh8gqz76zn7N/DSnG0OP5Ps3K9Y8 bhhn/VpP+gizK3HLmbCvxTzPDjEJ4ILs5ZZln0zcSpCwKoxg27W90jLQPgRTqRzE2szL1nrasn yaM= X-IronPort-AV: E=Sophos;i="5.81,291,1610438400"; d="scan'208";a="59645878" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 30 Mar 2021 22:33:22 -0800 IronPort-SDR: vE1sP6fs9THsMfTXTLV8r6CfghncXUMY6lMuZX86oHIa4W7QfzhGv1tZEdkbDxd/LcBpZ/rfvP e6sRSWwBtPiDyzn+Ez9caLiY7J4HnRGV7LVm9OVtaZAoV2bkZI4WSBYIjzaTjBv5WHVk7QRtmR 6pcMs39vhb62dAzEovSpMNya/CF4SA260x1uq/7U/lklByJ5R5bm6YASD/TZyDnTK6NV85Qmz+ iydVspXa99luF8Mje3rRZwnPTCeGgY2IIH+ZUeYSyUqxxUskqngkCgp4jO/OWzm5HqG40a+amU DC0= From: Vijai Kumar K To: , , CC: Vijai Kumar K Subject: [PATCH v4 2/2] Modify hello to demonstrate apt:// without ${PV} Date: Wed, 31 Mar 2021 12:02:35 +0530 Message-ID: <20210331063235.6877-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210331063235.6877-1-Vijaikumar_Kanagarajan@mentor.com> References: <20210331063235.6877-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-02.mgc.mentorg.com (147.34.90.202) 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.141.98 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?1695728169473427893?= X-GMAIL-MSGID: =?utf-8?q?1695728169473427893?= 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