summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-07-03 00:31:33 +0000
committergjb <gjb@FreeBSD.org>2016-07-03 00:31:33 +0000
commit7cad03457f382ad9aaf520a2f41ddfa2d5663cd0 (patch)
treef04dd3182f1fbd3e7d553139b881e7a52d2394a2 /release
parent13295f52fb5936b237a994e75311fe18612c73c4 (diff)
downloadFreeBSD-src-7cad03457f382ad9aaf520a2f41ddfa2d5663cd0.zip
FreeBSD-src-7cad03457f382ad9aaf520a2f41ddfa2d5663cd0.tar.gz
Limit VOLUME_LABEL (first argument to the mkisoimages scripts)
to 32 characters. This is a direct commit to stable/10, as UEFI support natively exists for 11.0-CURRENT and unsupported in 9-STABLE. Submitted by: Rick Miller PR: 210463 Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release')
-rw-r--r--release/amd64/mkisoimages-uefi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/amd64/mkisoimages-uefi.sh b/release/amd64/mkisoimages-uefi.sh
index 9526ad7..3f656ac 100644
--- a/release/amd64/mkisoimages-uefi.sh
+++ b/release/amd64/mkisoimages-uefi.sh
@@ -50,7 +50,7 @@ if [ $# -lt 3 ]; then
exit 1
fi
-LABEL=`echo $1 | tr '[:lower:]' '[:upper:]'`; shift
+LABEL=`echo $1 | tr '[:lower:]' '[:upper:]' | cut -c 1-31`; shift
NAME=$1; shift
publisher="The FreeBSD Project. http://www.FreeBSD.org/"
OpenPOWER on IntegriCloud