Skip to contentSkip to conversation

rootfs-postcommands: remove make_zimage_symlink_relative()

PATCH New Enrico Jorns 1 participant 1 message Feb 12, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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}.

---
 meta/classes-recipe/rootfs-postcommands.bbclass | 6 ------
 1 file changed, 6 deletions(-)
meta/classes-recipe/rootfs-postcommands.bbclass +0 -6
index 3d05ff3b28..e81b69a239 100644
@@ -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
Signature · 1 line
2.39.2