mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-23 07:11:26 +00:00
14 lines
645 B
Diff
14 lines
645 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,8 @@ 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/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
|