17 lines
579 B
Diff
17 lines
579 B
Diff
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
|
|
index 3b80bd3f6..79bb8de6d 100755
|
|
--- a/scripts/package/builddeb
|
|
+++ b/scripts/package/builddeb
|
|
@@ -285,6 +285,11 @@ if [ "$ARCH" != "um" ]; then
|
|
create_package "$dtb_packagename" "$dtb_dir"
|
|
fi
|
|
|
|
+sed -e "s/exit 0//g" -i $tmpdir/DEBIAN/postinst
|
|
+cat >> $tmpdir/DEBIAN/postinst <<EOT
|
|
+mkimage -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n "Linux" -d /$installed_image_path /boot/uImage > /dev/null 2>&1
|
|
+exit 0
|
|
+EOT
|
|
create_package "$packagename" "$tmpdir"
|
|
|
|
if [ -n "$BUILD_DEBUG" ] ; then
|