public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] fix: remove unneeded unconditional recipes
@ 2021-04-13 15:26 Silvano Cirujano Cuesta
  2021-04-13 16:01 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Silvano Cirujano Cuesta @ 2021-04-13 15:26 UTC (permalink / raw)
  To: isar-users

Commit 9c3499adf91 introduced the unconditional inclusion of the recipes
isar-exclude-docs and isar-disable-apt-cache, but they are only needed
for container images.

Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
---
 meta/classes/container-img.bbclass             | 2 ++
 meta/classes/image-container-extension.bbclass | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/container-img.bbclass b/meta/classes/container-img.bbclass
index 79ef3e8..887d49e 100644
--- a/meta/classes/container-img.bbclass
+++ b/meta/classes/container-img.bbclass
@@ -6,6 +6,8 @@
 # This class provides the task 'containerize_rootfs'
 # to create container images containing the target rootfs.
 
+IMAGE_INSTALL += "isar-exclude-docs isar-disable-apt-cache"
+
 do_container_image[stamp-extra-info] = "${DISTRO}-${MACHINE}"
 do_container_image[vardeps] += "CONTAINER_FORMATS"
 do_container_image(){
diff --git a/meta/classes/image-container-extension.bbclass b/meta/classes/image-container-extension.bbclass
index f693627..e26604a 100644
--- a/meta/classes/image-container-extension.bbclass
+++ b/meta/classes/image-container-extension.bbclass
@@ -6,7 +6,6 @@
 # This class extends the image.bbclass for containerizing the root filesystem.
 
 CONTAINER_FORMATS ?= "docker-archive"
-IMAGE_INSTALL += "isar-exclude-docs isar-disable-apt-cache"
 
 containerize_rootfs() {
     local cmd="/bin/dash"
-- 
2.30.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-14  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 15:26 [PATCH] fix: remove unneeded unconditional recipes Silvano Cirujano Cuesta
2021-04-13 16:01 ` Jan Kiszka
2021-04-14  7:45   ` Silvano Cirujano Cuesta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox