[PATCH] Remove unwanted inherits of base-apt-helper

6 views
Skip to first unread message

vijaikumar....@gmail.com

unread,
Aug 19, 2019, 6:54:56 AM8/19/19
to isar-...@googlegroups.com, henning...@siemens.com, claudius....@siemens.com, jan.k...@siemens.com, Vijai Kumar K
From: Vijai Kumar K <Vijaikumar_...@mentor.com>

After bff4e89a changes, we do not require to inherit the base-apt-helper
class in isar-bootstrap.inc and base-apt.bb files. Remove them.

Signed-off-by: Vijai Kumar K <Vijaikumar_...@mentor.com>
---
meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 2 --
meta/recipes-devtools/base-apt/base-apt.bb | 2 --
2 files changed, 4 deletions(-)

diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
index ff8ab01..3410b64 100644
--- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
+++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
@@ -32,8 +32,6 @@ HOST_DISTRO_APT_SOURCES += "conf/distro/${HOST_DISTRO}.list"

DISTRO_APT_PREMIRRORS ?= "${@ "http://ftp\.(\S+\.)?debian.org/\S* file:///${REPO_BASE_DIR}/${BASE_DISTRO} \n" if bb.utils.to_boolean(d.getVar('ISAR_USE_CACHED_BASE_REPO')) else "" }"

-inherit base-apt-helper
-
python () {
distro_bootstrap_keys = (d.getVar("DISTRO_BOOTSTRAP_KEYS", False) or "").split()

diff --git a/meta/recipes-devtools/base-apt/base-apt.bb b/meta/recipes-devtools/base-apt/base-apt.bb
index 1c0b4c6..9f55ad5 100644
--- a/meta/recipes-devtools/base-apt/base-apt.bb
+++ b/meta/recipes-devtools/base-apt/base-apt.bb
@@ -3,8 +3,6 @@

SRC_URI = "file://distributions.in"

-inherit base-apt-helper
-
BASE_REPO_KEY ?= ""

CACHE_CONF_DIR = "${REPO_BASE_DIR}/${BASE_DISTRO}/conf"
--
2.17.1

Jan Kiszka

unread,
Aug 19, 2019, 7:25:55 AM8/19/19
to vijaikumar....@gmail.com, isar-...@googlegroups.com, henning...@siemens.com, claudius....@siemens.com, Vijai Kumar K
Good cleanup, thanks.

Reviewed-by: Jan Kiszka <jan.k...@siemens.com>

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

Baurzhan Ismagulov

unread,
Sep 4, 2019, 8:28:07 AM9/4/19
to isar-...@googlegroups.com
Hello Vijai Kumar,

On Mon, Aug 19, 2019 at 04:24:47PM +0530, vijaikumar....@gmail.com wrote:
> After bff4e89a changes, we do not require to inherit the base-apt-helper
> class in isar-bootstrap.inc and base-apt.bb files. Remove them.

Thanks, applied to next.

The patch didn't apply to the current next, so I've applied the changes
manually and overridden the author and the date. Could you please see if
everything is ok?

With kind regards,
Baurzhan.

Vijai Kumar K

unread,
Sep 4, 2019, 1:51:10 PM9/4/19
to isar-...@googlegroups.com
Just had a look. Everthing seems ok. Thanks Baurzhan.

BR,
Vijai Kumar K
>
> With kind regards,
> Baurzhan.
>
> --
> You received this message because you are subscribed to the Google Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20190904122804.GH6062%40yssyq.m.ilbers.de.
Reply all
Reply to author
Forward
0 new messages