Skip to content

Commit

Permalink
Remove unused DISK_IDENTIFIER
Browse files Browse the repository at this point in the history
DISK_IDENTIFIER is not used since 657599f
  • Loading branch information
Siecje authored and tdewey-rpi committed Oct 11, 2024
1 parent 45b58e1 commit b8dfe15
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions service/rpi-sb-provisioner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,6 @@ check_command_exists fastboot
check_command_exists blockdev

check_command_exists grep
check_command_exists sfdisk

get_variable() {
[ -z "${DEMO_MODE_ONLY}" ] && fastboot getvar "$1" 2>&1 | grep -oP "${1}"': \K.*'
Expand Down Expand Up @@ -659,7 +658,6 @@ if [ ! -e "${RPI_SB_WORKDIR}/bootfs-temporary.img" ] ||
done

ensure_loopdev_partitions "$LOOP_DEV"
DISK_IDENTIFIER="$(sfdisk --disk-id "${LOOP_DEV}")"
BOOT_DEV="${LOOP_DEV}"p1
ROOT_DEV="${LOOP_DEV}"p2

Expand Down

0 comments on commit b8dfe15

Please sign in to comment.