build/patch/kernel/meson64-dev/general-packaging-for-meson64.patch
Thomas McKahan 1e8023fb0d Meson64 Dev packaging fix
Missed from the Next patchset
2018-10-30 21:50:57 -04:00

15 lines
813 B
Diff

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 033b55a76..d916f36ac
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -206,7 +206,9 @@ if [ "\$(grep nand /proc/partitions)" != "" ] && [ "\$(grep mmc /proc/partitions
cp /tmp/uImage /boot/uImage
rm -f /$installed_image_path
else
- ln -sf $(basename $installed_image_path) /boot/$image_name || mv /$installed_image_path /boot/$image_name
+ ln -sf $(basename $installed_image_path) /boot/$image_name || mv /$installed_image_path /boot/$image_name
+ ln -sf $(basename $installed_image_path) /boot/zImage || mv /$installed_image_path /boot/zImage
+ mkimage -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n "Linux kernel" -d /boot/$(basename $installed_image_path) /boot/uImage
fi
touch /boot/.next
exit 0