Skip to content

Commit

Permalink
Merge pull request #1682 from gdha/master
Browse files Browse the repository at this point in the history
FIX rpmb block devices check in 200_partition_layout.sh
  • Loading branch information
gdha committed Jan 6, 2018
2 parents cc9b6c2 + 6e7db89 commit 506f70e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -256,7 +256,7 @@ Log "Saving disk partitions."
#Check if blockd is a path of a multipath device.
if is_multipath_path ${blockd} ; then
Log "Ignoring $blockd: it is a path of a multipath device"
elif [[ ! ($blockd = *rpmb || *[0-9]boot[0-9]) ]]; then # Silently skip Replay Protected Memory Blocks and others
elif [[ ! ($blockd = *rpmb || $blockd = *[0-9]boot[0-9]) ]]; then # Silently skip Replay Protected Memory Blocks and others
devname=$(get_device_name $disk)
devsize=$(get_disk_size ${disk#/sys/block/})
disktype=$(parted -s $devname print | grep -E "Partition Table|Disk label" | cut -d ":" -f "2" | tr -d " ")
Expand Down

0 comments on commit 506f70e

Please sign in to comment.