From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6935855593929310208 X-Received: by 2002:a05:600c:49aa:: with SMTP id h42mr4861398wmp.80.1617611729478; Mon, 05 Apr 2021 01:35:29 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a7b:cc94:: with SMTP id p20ls7202148wma.0.gmail; Mon, 05 Apr 2021 01:35:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAd4c1kKgviOb6saDsI2Y6lE+MWRwS9/hZImwWe1VFtZeA4lSEjbWF6HYkA2jRqyyISlF9 X-Received: by 2002:a1c:f705:: with SMTP id v5mr5641845wmh.105.1617611728614; Mon, 05 Apr 2021 01:35:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617611728; cv=none; d=google.com; s=arc-20160816; b=MNnX/Kd56F/Xum6OnGRrrSnldd9wyL2qpkAKGcYXsEAOLKyJe0A/dzvfyiQmRqHNMw F3+76Ujhy747+HkzCcjk3v+M/EDgdIXnq4/c6yF729HBaa8zEOZhdqKcGzyHyj2U+QIj 17ER00fMXTAwEnffAAckQnSVvC6Viv4BIZeCbx7SXlJ0Ii1WeLYYhG7b/+CtCC2kmeE+ 1LhUMxFnVGkus1d/Uc8NEmllw9KWGimwIOSWimXMV7I1nujWoF+BA54aEAVOqMc9Nhdd LmVjwG1+pZSVJIPIW3sAwEl2380kPkVkfEaORrSSq4Mhz+wAPLNrcWm7hzMMxBd+UrbK 4AGQ== 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=Ulbg7AYzjgNC/NGWfiDsGI1v3f6Vvylxv/ynvsUhkoBtxSYNvTtZyetlhw9FHY5+cM wPZa8bk8EvmyJtLlxDmSIcxNnKduZWUc5AM1D06WcOmHMXyflPfT5KtztOZcH7ST5x5T M+S3SZPLR/CPNjiAg2A1j7zFH+Rn4Vm8x5O9Nk2or2ikCapvFa0CapXAbYvpeFTZXrAw fAkghhIqnE9rgUdyQaoEje8zhLylK6M6kNCimQVqgRFbDDmyNDzBeudUkuyz0VfyaQhD xKcuGZ1WzIcJZGv+rbMmF1bXBW8s/ey9ZaZGTSqA+W8CTTT3dSZ1RgIm0iS9i2i6Vz58 8YwQ== 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 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com. [68.232.137.252]) by gmr-mx.google.com with ESMTPS id r11si2072016wrm.1.2021.04.05.01.35.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Apr 2021 01:35:28 -0700 (PDT) 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; 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 IronPort-SDR: 88GVVUjfQJsxLvsvL5RySlUTBvoAsOKE8LPKoNMWyVtcB+eBCXgC7RJwSrFH+4/KqhSy4iVckR UebaL9zLOZSSzcuGLyDqiCwiFSrXAehdN9ZH8x0CyJYDBQLXhrRoAE8CIdVK7XZZ4YnmwlKKXV 6UzEHrM0EwSLNF7p98QZnnEUsnorqQ1nQDCna9itt2T7t3g0cfmSEtX9065655GuDy8VIyp1UG Gl15rgYpueKykeMp2PGtPAvaOZ465HtXK6lZsWRBvA6JZTYSUxj6PGedP1zHtQnPLgm6nQ1Upq hJY= X-IronPort-AV: E=Sophos;i="5.81,306,1610438400"; d="scan'208";a="59930279" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 05 Apr 2021 00:35:27 -0800 IronPort-SDR: GwJwinol1ZZ1YdLciqK60JH0wygOysBuJsjWbNOgdmqQUoTfSMezm/yHjSigfS/lJ06yUG0S+f DYsGyLZ7y6XjbTffSuHW7eTpdhEvzBokaq7XYPGIJpKF6Tmgs9t/IN//aSXfv22Gd4PIJliRhS LppMSJYheiV+y6koMqSU85l5dikS+NdtoX4LgqsXeAeGD6ED9aAxiSkH+TcBTJdALCCZcK42G8 Z6I7vCra0oRMjGZNPtcFwL8KCl4IowVgkkD1w/Nr1yZJl++6fQ3Tgv81+obsLRg0KxC7yDv+2q 7iw= From: Vijai Kumar K To: , , , CC: Vijai Kumar K Subject: [PATCH v5 2/3] Modify hello to demonstrate apt:// without ${PV} Date: Mon, 5 Apr 2021 14:04:58 +0530 Message-ID: <20210405083459.12277-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210405083459.12277-1-Vijaikumar_Kanagarajan@mentor.com> References: <20210405083459.12277-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 Content-Type: text/plain Return-Path: Vijaikumar_Kanagarajan@mentor.com X-ClientProxiedBy: svr-orw-mbx-04.mgc.mentorg.com (147.34.90.204) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-TUID: AmK480RVzhJa 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 -- 2.17.1