Author: gjb
Date: Sun Jul  3 00:31:33 2016
New Revision: 302318
URL: https://svnweb.freebsd.org/changeset/base/302318

Log:
  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

Modified:
  stable/10/release/amd64/mkisoimages-uefi.sh

Modified: stable/10/release/amd64/mkisoimages-uefi.sh
==============================================================================
--- stable/10/release/amd64/mkisoimages-uefi.sh Sun Jul  3 00:08:17 2016        
(r302317)
+++ stable/10/release/amd64/mkisoimages-uefi.sh Sun Jul  3 00:31:33 2016        
(r302318)
@@ -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/";
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to