test: clarify GPT related comment in blockdev.sh
After we create the GPT, we change the partition type GUID to the associated SPDK value. The current comment just says "change the GUID" which is ambiguous because there are multiple GUIDs associated with each partition. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Id821c5c5bbd7a72d84d5ddf4d91d633307f2235b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17855 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
2e56512236
commit
62c399ffaf
@ -119,7 +119,7 @@ function setup_gpt_conf() {
|
||||
if [[ -n $gpt_nvme ]]; then
|
||||
# Create gpt partition table
|
||||
parted -s "$gpt_nvme" mklabel gpt mkpart SPDK_TEST_first '0%' '50%' mkpart SPDK_TEST_second '50%' '100%'
|
||||
# change the GUID to SPDK GUID value
|
||||
# Change the partition type GUIDs to SPDK partition type values
|
||||
SPDK_GPT_OLD_GUID=$(get_spdk_gpt_old)
|
||||
SPDK_GPT_GUID=$(get_spdk_gpt)
|
||||
sgdisk -t "1:$SPDK_GPT_GUID" "$gpt_nvme"
|
||||
|
Loading…
Reference in New Issue
Block a user