15 lines
689 B
Diff
15 lines
689 B
Diff
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
|
|
index 3c79b90..9ed87b5 100755
|
|
--- a/scripts/package/builddeb
|
|
+++ b/scripts/package/builddeb
|
|
@@ -206,7 +206,8 @@ 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
|
|
+ rm -f /boot/zImage;gunzip -c /boot/$(basename $installed_image_path) > /boot/xImage
|
|
+ mkimage -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n "Linux kernel" -d /boot/xImage /boot/uImage; rm -f /boot/xImage
|
|
fi
|
|
touch /boot/.next
|
|
exit 0
|