From: claudius.heine.ext@siemens.com
To: isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: [PATCH v2 2/2] deprecate isar-image
Date: Thu, 21 Mar 2019 12:57:40 +0100 [thread overview]
Message-ID: <20190321115740.17459-3-claudius.heine.ext@siemens.com> (raw)
In-Reply-To: <20190321115740.17459-1-claudius.heine.ext@siemens.com>
From: Claudius Heine <ch@denx.de>
This deprecates the isar-image class, the image class should be
inherited instead.
Signed-off-by: Claudius Heine <ch@denx.de>
---
RECIPE-API-CHANGELOG.md | 9 +++++++++
doc/user_manual.md | 2 +-
meta-isar/recipes-core/images/isar-image-base.bb | 2 +-
meta-isar/recipes-core/images/isar-image-ubi.bb | 2 +-
meta/classes/isar-image.bbclass | 5 +++++
5 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md
index e5f3150..d389d99 100644
--- a/RECIPE-API-CHANGELOG.md
+++ b/RECIPE-API-CHANGELOG.md
@@ -145,3 +145,12 @@ a root password, leak that password via its script in /var/lib/dpkg/info.
Instead set the CFG_ROOT_PW variable to the encrypted password and use the
transient 'isar-cfg-rootpw' package (now installed as transient package per
default).
+
+Changes in v0.8
+---------------
+
+### `isar-image.bbclass` class will be deprecated in future version of isar
+
+The content of `isar-image.bbclass` was moved to the `image.bbclass` file.
+Recipes that inherit `isar-image` should be modified to inherit from `image`
+instead.
diff --git a/doc/user_manual.md b/doc/user_manual.md
index 9ea3f42..5e74927 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -534,7 +534,7 @@ IMAGE_PREINSTALL = " \
openssh-server \
"
-inherit isar-image
+inherit image
```
diff --git a/meta-isar/recipes-core/images/isar-image-base.bb b/meta-isar/recipes-core/images/isar-image-base.bb
index c86e63b..b381d85 100644
--- a/meta-isar/recipes-core/images/isar-image-base.bb
+++ b/meta-isar/recipes-core/images/isar-image-base.bb
@@ -10,4 +10,4 @@ LIC_FILES_CHKSUM = "file://${LAYERDIR_core}/licenses/COPYING.GPLv2;md5=751419260
PV = "1.0"
-inherit isar-image
+inherit image
diff --git a/meta-isar/recipes-core/images/isar-image-ubi.bb b/meta-isar/recipes-core/images/isar-image-ubi.bb
index 4b7e109..3b41f23 100644
--- a/meta-isar/recipes-core/images/isar-image-ubi.bb
+++ b/meta-isar/recipes-core/images/isar-image-ubi.bb
@@ -10,7 +10,7 @@ DESCRIPTION = "UBI Isar image"
LICENSE = "gpl-2.0"
LIC_FILES_CHKSUM = "file://${LAYERDIR_core}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
-inherit isar-image
+inherit image
SRC_URI += "file://ubinize.cfg.tmpl \
file://fitimage.its.tmpl"
diff --git a/meta/classes/isar-image.bbclass b/meta/classes/isar-image.bbclass
index 1d5870b..743ecbb 100644
--- a/meta/classes/isar-image.bbclass
+++ b/meta/classes/isar-image.bbclass
@@ -4,3 +4,8 @@
# Copyright (C) 2015-2018 ilbers GmbH
# Copyright (c) Siemens AG, 2019
inherit image
+
+python() {
+ bb.warn("isar-image is deprecated, please change 'isar-image' inheritance "
+ "to 'image'.")
+}
--
2.20.1
next prev parent reply other threads:[~2019-03-21 11:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-21 11:57 [PATCH v2 0/2] Move isar-image into image class claudius.heine.ext
2019-03-21 11:57 ` [PATCH v2 1/2] meta: merges " claudius.heine.ext
2019-03-21 11:57 ` claudius.heine.ext [this message]
2019-03-28 12:45 ` [PATCH v2 0/2] Move " Maxim Yu. Osipov
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=20190321115740.17459-3-claudius.heine.ext@siemens.com \
--to=claudius.heine.ext@siemens.com \
--cc=ch@denx.de \
--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