]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
rootfs-postcommands: remove make_zimage_symlink_relative()
authorEnrico Jörns <ejo@pengutronix.de>
Mon, 12 Feb 2024 21:44:12 +0000 (22:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Feb 2024 13:52:20 +0000 (13:52 +0000)
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 <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/rootfs-postcommands.bbclass

index 3d05ff3b28eeb083a828108116b13817ea0bb24f..e81b69a239b528c6b9bd5f3e50342c003aaca422 100644 (file)
@@ -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