aboutsummaryrefslogtreecommitdiff
path: root/editbootinstall_rpilegacy.sh
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'editbootinstall_rpilegacy.sh')
-rwxr-xr-xeditbootinstall_rpilegacy.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/editbootinstall_rpilegacy.sh b/editbootinstall_rpilegacy.sh
deleted file mode 100755
index dfa178f..0000000
--- a/editbootinstall_rpilegacy.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-set -euxo pipefail
-
-diskname=$1
-devname="$2"
-loopname="${devname%*p?}"
-loopdev=/dev/${loopname#/dev/*}
-
-#==========================================
-# Force the ESP to use legacy MBR identifier
-#------------------------------------------
-#
-# Raspberry Pi 3 and older systems don't handle
-# the 0xef partition type for the ESP, so switch
-# to the legacy one.
-#
-sfdisk --change-id ${loopdev} 1 6