mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
initramfs-debug-image: support cases where machines override IMAGE_FSTYPES
As done for initramfs-kexecboot-image we need to use python to get the
desired value for IMAGE_FSTYPES.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 93e139c998)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
32b4237a27
commit
5195f02b0d
@@ -11,7 +11,12 @@ IMAGE_FEATURES = ""
|
|||||||
export IMAGE_BASENAME = "initramfs-debug-image"
|
export IMAGE_BASENAME = "initramfs-debug-image"
|
||||||
IMAGE_LINGUAS = ""
|
IMAGE_LINGUAS = ""
|
||||||
|
|
||||||
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
|
# Some BSPs use IMAGE_FSTYPES_<machine override> which would override
|
||||||
|
# an assignment to IMAGE_FSTYPES so we need anon python
|
||||||
|
python () {
|
||||||
|
d.setVar("IMAGE_FSTYPES", d.getVar("INITRAMFS_FSTYPES"))
|
||||||
|
}
|
||||||
|
|
||||||
inherit core-image
|
inherit core-image
|
||||||
|
|
||||||
IMAGE_ROOTFS_SIZE = "8192"
|
IMAGE_ROOTFS_SIZE = "8192"
|
||||||
|
|||||||
Reference in New Issue
Block a user