Skip to contentSkip to conversation

images: remove redundant IMAGE_BASENAME assignments

PATCH New [email protected] 1 participant 1 message Dec 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 images: remove redundant IMAGE_BASENAME assignments

From: Ross Burton <[email protected]>

core-image-tiny-initramfs and core-image-testcontroller-initramfs just repeat PN, which is the default value.

core-image-minimal-initramfs adds MLPREFIX, but that's also covered by PN:

$ bitbake-getvar -r lib32-core-image-minimal-initramfs IMAGE_BASENAME
IMAGE_BASENAME="lib32-core-image-minimal-initramfs"

As these assignments are all redundant, remove them.

---
 meta/recipes-core/images/core-image-minimal-initramfs.bb         | 1 -
 meta/recipes-core/images/core-image-tiny-initramfs.bb            | 1 -
 .../images/core-image-testcontroller-initramfs.bb                | 1 -
 3 files changed, 3 deletions(-)
meta/recipes-core/images/core-image-minimal-initramfs.bb +0 -1
index 7bb0b2738c7..36e8771c4ab 100644
@@ -20,7 +20,6 @@ IMAGE_FEATURES = ""
 # Don't allow the initramfs to contain a kernel
 PACKAGE_EXCLUDE = "kernel-image-*"
 
-export IMAGE_BASENAME = "${MLPREFIX}core-image-minimal-initramfs"
 IMAGE_NAME_SUFFIX ?= ""
 IMAGE_LINGUAS = ""
 
meta/recipes-core/images/core-image-tiny-initramfs.bb +0 -1
index 8af25f1b1fe..7a71d55b1e8 100644
@@ -13,7 +13,6 @@ PACKAGE_INSTALL = "initramfs-live-boot-tiny packagegroup-core-boot dropbear ${VI
 # Do not pollute the initrd image with rootfs features
 IMAGE_FEATURES = ""
 
-export IMAGE_BASENAME = "core-image-tiny-initramfs"
 IMAGE_NAME_SUFFIX ?= ""
 IMAGE_LINGUAS = ""
 
meta/recipes-extended/images/core-image-testcontroller-initramfs.bb +0 -1
index a5b3d10205c..3b81afd7c07 100644
@@ -7,7 +7,6 @@ PACKAGE_INSTALL = "initramfs-live-boot initramfs-live-install-testfs initramfs-l
 # Do not pollute the initrd image with rootfs features
 IMAGE_FEATURES = ""
 
-export IMAGE_BASENAME = "core-image-testcontroller-initramfs"
 IMAGE_NAME_SUFFIX ?= ""
 IMAGE_LINGUAS = ""
 
Signature · 1 line
2.34.1