PR 50464: remove timestamp from sonic disk partition label

- remove timestamp from sonic disk partition label

Ext2 filesystem labels can be at most 16 characters long

Related work items: #615372
This commit is contained in:
Guohan Lu 2016-09-11 07:19:59 +00:00 committed by Qi Luo
parent cc7f15094c
commit c14bfde3c0

View File

@ -106,7 +106,7 @@ git_revision="%%GIT_REVISION%%"
timestamp="$(date -u +%Y%m%d)"
demo_volume_label="SONiC-${demo_type}"
demo_volume_revision_label="SONiC-${demo_type}-${timestamp}-${git_revision}"
demo_volume_revision_label="SONiC-${demo_type}-${git_revision}"
# auto-detect whether BIOS or UEFI
if [ -d "/sys/firmware/efi/efivars" ] ; then