build/patch/kernel/meson64-legacy/0002-Bootscript-needs-indication-that-its-a-legacy-kernel.patch

26 lines
902 B
Diff

From 80c32b8b2269bf5502f589cda9c2be4bb598b624 Mon Sep 17 00:00:00 2001
From: Igor Pecovnik <igor.pecovnik@gmail.com>
Date: Thu, 6 Aug 2020 17:15:05 +0200
Subject: [PATCH] Bootscript needs indication that its a legacy kernel
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
---
scripts/package/builddeb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 8b15a0572..e7d1daa4e 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -268,7 +268,7 @@ rm -f /$installed_image_path
sed -e "s/exit 0//g" -i $tmpdir/DEBIAN/postinst
cat >> $tmpdir/DEBIAN/postinst <<EOT
ln -sf $(basename $installed_image_path) /boot/zImage > /dev/null 2>&1 || mv /$installed_image_path /boot/zImage
-touch /boot/.next
+rm -f /boot/.next
exit 0
EOT
##
--
Created with Armbian build tools https://github.com/armbian/build