From: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
To: <isar-users@googlegroups.com>, <henning.schild@siemens.com>
Cc: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
Subject: [PATCH v3 2/2] Modify hello to demonstrate apt:// without ${PV}
Date: Thu, 4 Mar 2021 23:11:37 +0530 [thread overview]
Message-ID: <20210304174137.11166-3-Vijaikumar_Kanagarajan@mentor.com> (raw)
In-Reply-To: <20210304174137.11166-1-Vijaikumar_Kanagarajan@mentor.com>
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 "<debian_source>-<debian-source-version>"
hardcoding ${S} to it. So we needed to know the correct
${PV}(debian-source-version) beforehand.
Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
---
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
next prev parent reply other threads:[~2021-03-04 17:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 17:41 [PATCH v3 0/2] Custom ${S} series Vijai Kumar K
2021-03-04 17:41 ` [PATCH v3 1/2] dpkg-base: Introduce do_apt_unpack Vijai Kumar K
2021-03-04 17:41 ` Vijai Kumar K [this message]
2021-03-04 18:56 ` [PATCH v3 0/2] Custom ${S} series Henning Schild
2021-03-04 20:53 ` Henning Schild
2021-03-29 9:14 ` Anton Mikanovich
2021-03-30 6:20 ` vijaikumar....@gmail.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210304174137.11166-3-Vijaikumar_Kanagarajan@mentor.com \
--to=vijaikumar_kanagarajan@mentor.com \
--cc=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox