From 49c020954f76e7a70d53e2127d9a955617075570 Mon Sep 17 00:00:00 2001 From: SolidHal Date: Tue, 15 Oct 2019 08:19:21 -0700 Subject: [PATCH] Fix block size of kernel blank-er --- scripts/InstallScripts/UpgradeKernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/InstallScripts/UpgradeKernel.sh b/scripts/InstallScripts/UpgradeKernel.sh index 7afe7cd..7cbbbde 100755 --- a/scripts/InstallScripts/UpgradeKernel.sh +++ b/scripts/InstallScripts/UpgradeKernel.sh @@ -30,7 +30,7 @@ echo if [[ $REPLY =~ ^[Yy]$ ]] then echo Writing kernel partition - dd if=/dev/zero of=/dev/mmcblk2p1 bs=1 count=65536 + dd if=/dev/zero of=/dev/mmcblk2p1 bs=512 count=65536 dd if="$BOOT_DEVICE"1 of=/dev/mmcblk2p1 echo You can now reboot fi