mirror of
https://github.com/armbian/build.git
synced 2025-08-09 12:46:58 +02:00
* meson: bump version bump edge to thirdparty linux-5.18-rc7 bump current to linux-5.15 change legacy back to LTS linux-5.10 * Upgrade kernel config * meson: edge and current: Enable NTFS3 driver
28 lines
719 B
Diff
28 lines
719 B
Diff
Generate uImage instand of zImage
|
|
|
|
---
|
|
scripts/package/builddeb | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
|
|
index 91a502bb9..196889f1d 100755
|
|
--- a/scripts/package/builddeb
|
|
+++ b/scripts/package/builddeb
|
|
@@ -218,6 +218,13 @@ if [ "$ARCH" != "um" ]; then
|
|
create_package linux-libc-dev debian/linux-libc-dev
|
|
fi
|
|
|
|
+sed -e "s/exit 0//g" -i $tmpdir/DEBIAN/postinst
|
|
+cat >> $tmpdir/DEBIAN/postinst <<EOT
|
|
+mkimage -A arm -O linux -T kernel -C none -a 0x2080000 -e 0x2080000 -n "Linux" -d /boot/zImage /boot/uImage > /dev/null 2>&1
|
|
+rm -f /boot/zImage
|
|
+exit 0
|
|
+EOT
|
|
+
|
|
create_package "$packagename" "$tmpdir"
|
|
|
|
if [ -n "$BUILD_DEBUG" ] ; then
|
|
--
|
|
2.25.1
|
|
|