1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-08 05:09:56 +00:00

arm-bsp/linux-yocto: remove redundant kernel hacking

The CS1K kernel used overrides to empty the kernel-image package, so
the initramfs didn't contain a kernel image.

The initramfs contained a kernel via a bad dependency in ffa-debugfs-mod,
but now that has been worked around we can remove the CS1K workaround.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2022-02-09 17:46:10 +00:00
committed by Jon Mason
parent a82df9187d
commit 7fc51c7c08
@@ -91,24 +91,6 @@ SRC_URI:append:corstone1000 = " ${@bb.utils.contains('MACHINE_FEATURES', \
# corstone1000 has limited flash memory constraints
KERNEL_EXTRA_FEATURES:corstone1000 = ""
KERNEL_FEATURES:corstone1000 = ""
# No need to include the kernel image in the rootfs
# So, let's delete the package doing that and uninstalling the initial
# kernel binary.
# The kernel binary needed is the initramfs bundle
FILES:kernel-image-image:corstone1000=""
# Uninstalling the initial kernel binary
do_install:append:corstone1000() {
if [ -e "${D}/${KERNEL_IMAGEDEST}/$imageType-${KERNEL_VERSION}" ]; then
rm ${D}/${KERNEL_IMAGEDEST}/$imageType-${KERNEL_VERSION}
fi
if [ -e "${D}/${KERNEL_IMAGEDEST}/$imageType" ]; then
rm ${D}/${KERNEL_IMAGEDEST}/$imageType
fi
}
#
# FVP BASE KMACHINE