mirror of
https://github.com/armbian/build.git
synced 2025-08-09 20:56:57 +02:00
* Refactor patches * Fix bug: the USB closed to the HDMI doesn't work * Fix bug: cpufreq doesn't work * Fix bug: thermal_zone doesn't work * More frequency governors * Add bootscript * Fix bug: add missing dependency needed for gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
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
|
|
|