From: Enrico Jörns Date: Mon, 12 Feb 2024 21:44:12 +0000 (+0100) Subject: rootfs-postcommands: remove make_zimage_symlink_relative() X-Git-Tag: uninative-4.4~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24ce7e5445962b9b3143036ecb3d44945082ce44;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git rootfs-postcommands: remove make_zimage_symlink_relative() This does not seem to have any purpose anymore since the pkg_postinst from kernel.bbclass always creates relative symlinks from zImage to zImage-${KERNEL_VERSION}. Signed-off-by: Enrico Jorns Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/rootfs-postcommands.bbclass b/meta/classes-recipe/rootfs-postcommands.bbclass index 3d05ff3b28e..e81b69a239b 100644 --- a/meta/classes-recipe/rootfs-postcommands.bbclass +++ b/meta/classes-recipe/rootfs-postcommands.bbclass @@ -364,12 +364,6 @@ remove_init_link () { fi } -make_zimage_symlink_relative () { - if [ -L ${IMAGE_ROOTFS}/boot/zImage ]; then - (cd ${IMAGE_ROOTFS}/boot/ && for i in `ls zImage-* | sort`; do ln -sf $i zImage; done) - fi -} - python write_image_manifest () { from oe.rootfs import image_list_installed_packages from oe.utils import format_pkg_list