All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] core/pkg-generic: also list files installed in images/
@ 2021-11-09 17:04 Yann E. MORIN
  2021-11-11 15:11 ` Herve Codina
  2021-12-12 22:13 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Yann E. MORIN @ 2021-11-09 17:04 UTC (permalink / raw)
  To: buildroot; +Cc: Herve Codina, Yann E. MORIN, Thomas Petazzoni

Some packages install nothing in target nor staging, but install images
(like the kernel vmlinux, or a bootloader boot blob...)

If we want to apropriately account for the files installed by each
package, we also need to take images/ into account.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Herve Codina <herve.codina@bootlin.com>
---
 package/pkg-generic.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index ab48240283..5626af1d87 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -276,6 +276,7 @@ $(BUILD_DIR)/%/.stamp_configured:
 	$(call prepare-per-package-directory,$($(PKG)_FINAL_DEPENDENCIES))
 	@$(call pkg_size_before,$(TARGET_DIR))
 	@$(call pkg_size_before,$(STAGING_DIR),-staging)
+	@$(call pkg_size_before,$(BINARIES_DIR),-images)
 	@$(call pkg_size_before,$(HOST_DIR),-host)
 	$(call fixup-libtool-files,$(NAME),$(HOST_DIR))
 	$(call fixup-libtool-files,$(NAME),$(STAGING_DIR))
@@ -402,6 +403,7 @@ $(BUILD_DIR)/%/.stamp_target_installed:
 $(BUILD_DIR)/%/.stamp_installed:
 	@$(call pkg_size_after,$(TARGET_DIR))
 	@$(call pkg_size_after,$(STAGING_DIR),-staging)
+	@$(call pkg_size_after,$(BINARIES_DIR),-images)
 	@$(call pkg_size_after,$(HOST_DIR),-host)
 	@$(call check_bin_arch)
 	$(Q)touch $@
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] core/pkg-generic: also list files installed in images/
  2021-11-09 17:04 [Buildroot] [PATCH] core/pkg-generic: also list files installed in images/ Yann E. MORIN
@ 2021-11-11 15:11 ` Herve Codina
  2021-12-12 22:13 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Herve Codina @ 2021-11-11 15:11 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Thomas Petazzoni, buildroot

Hi,

On Tue,  9 Nov 2021 18:04:20 +0100
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> Some packages install nothing in target nor staging, but install images
> (like the kernel vmlinux, or a bootloader boot blob...)
> 
> If we want to apropriately account for the files installed by each
> package, we also need to take images/ into account.
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Herve Codina <herve.codina@bootlin.com>
> ---

Just a typo:
s/apropriately/appropriately/

Ok for the patch content.

Best regards,
Hervé

-- 
Hervé Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] core/pkg-generic: also list files installed in images/
  2021-11-09 17:04 [Buildroot] [PATCH] core/pkg-generic: also list files installed in images/ Yann E. MORIN
  2021-11-11 15:11 ` Herve Codina
@ 2021-12-12 22:13 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-12-12 22:13 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Herve Codina, Thomas Petazzoni, buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Some packages install nothing in target nor staging, but install images
 > (like the kernel vmlinux, or a bootloader boot blob...)

 > If we want to apropriately account for the files installed by each
 > package, we also need to take images/ into account.

 > Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
 > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Cc: Herve Codina <herve.codina@bootlin.com>

Committed to 2021.02.x and 2021.08.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-12-12 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 17:04 [Buildroot] [PATCH] core/pkg-generic: also list files installed in images/ Yann E. MORIN
2021-11-11 15:11 ` Herve Codina
2021-12-12 22:13 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.