armbian-build/patch/kernel/s5p6818-dev/packaging-4.x-odroid.patch

14 lines
506 B
Diff

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 750d70e..8fc16c9 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -267,7 +267,7 @@ mountpoint -q /boot || mount /boot
cp /tmp/uImage /boot/uImage
rm -f /$installed_image_path
else
-ln -sf $(basename $installed_image_path) /boot/zImage > /dev/null 2>&1 || mv /$installed_image_path /boot/zImage
+rm -f /boot/zImage;gunzip -c /boot/$(basename $installed_image_path) > /boot/Image
fi
touch /boot/.next
exit 0