[honister,2/2] arm-bsp/corstone1000: Add RDEPENDS to remove unwanted images.

Message ID 20220314162502.25350-3-harry.moulton@arm.com
State New
Headers show
Series Backport: Remove redundant code from kernel recipe and unwanted images. | expand

Commit Message

harry.moulton@arm.com March 14, 2022, 4:25 p.m. UTC
From: Harry Moulton <harry.moulton@arm.com>

Remove unwanted build images that push the binaries size over the size
limit for corstone1000.

Signed-off-by: Harry Moulton <harry.moulton@arm.com>
---
 meta-arm-bsp/conf/machine/include/corstone1000.inc | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jon Mason March 16, 2022, 1:28 p.m. UTC | #1
On Mon, Mar 14, 2022 at 04:25:02PM +0000, harry.moulton@arm.com wrote:
> From: Harry Moulton <harry.moulton@arm.com>
> 
> Remove unwanted build images that push the binaries size over the size
> limit for corstone1000.

I don't see this in the master branch.  Is this not needed there (if
so, please add to the comment above as to why).  If so, please send
there first.

Thanks,
Jon

> 
> Signed-off-by: Harry Moulton <harry.moulton@arm.com>
> ---
>  meta-arm-bsp/conf/machine/include/corstone1000.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-arm-bsp/conf/machine/include/corstone1000.inc b/meta-arm-bsp/conf/machine/include/corstone1000.inc
> index 6ec0982..200fad1 100644
> --- a/meta-arm-bsp/conf/machine/include/corstone1000.inc
> +++ b/meta-arm-bsp/conf/machine/include/corstone1000.inc
> @@ -51,6 +51,8 @@ KERNEL_IMAGETYPE = "Image"
>  
>  INITRAMFS_IMAGE_BUNDLE ?= "1"
>  
> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base ?= ""
> +
>  #telling the build system which image is responsible of the generation of the initramfs rootfs
>  INITRAMFS_IMAGE = "corstone1000-initramfs-image"
>  
> -- 
> 2.17.1
> 
>

Patch

diff --git a/meta-arm-bsp/conf/machine/include/corstone1000.inc b/meta-arm-bsp/conf/machine/include/corstone1000.inc
index 6ec0982..200fad1 100644
--- a/meta-arm-bsp/conf/machine/include/corstone1000.inc
+++ b/meta-arm-bsp/conf/machine/include/corstone1000.inc
@@ -51,6 +51,8 @@  KERNEL_IMAGETYPE = "Image"
 
 INITRAMFS_IMAGE_BUNDLE ?= "1"
 
+RDEPENDS:${KERNEL_PACKAGE_NAME}-base ?= ""
+
 #telling the build system which image is responsible of the generation of the initramfs rootfs
 INITRAMFS_IMAGE = "corstone1000-initramfs-image"