diff --git a/patch/misc/general-packaging-5.10.y.patch b/patch/misc/general-packaging-5.10.y.patch index 17115421b5..f77610e08a 100644 --- a/patch/misc/general-packaging-5.10.y.patch +++ b/patch/misc/general-packaging-5.10.y.patch @@ -196,7 +196,7 @@ index 1b11f8993..c21d931ea 100755 +## +sed -e "s/exit 0//g" -i $tmpdir/DEBIAN/postinst +cat >> $tmpdir/DEBIAN/postinst < /dev/null || mv /$installed_image_path /boot/$image_name ++ln -sf $(basename $installed_image_path) /boot/$image_name 2> /dev/null || cp /$installed_image_path /boot/$image_name +touch /boot/.next +exit 0 +EOT