stable/10 release.sh fails during mkisoimages-uefi.sh

Rick Miller vmiller at hostileadmin.com
Wed Jun 22 13:34:10 UTC 2016


On Wed, Apr 27, 2016 at 5:37 PM, Slawa Olhovchenkov <slw at zxy.spb.ru> wrote:

> On Wed, Apr 27, 2016 at 01:00:19PM -0400, Rick Miller wrote:
>
> > Hi all,
> >
> > Building stable/10 at r298482 errors when executing newfs_msdos on
> > uefi-disc1.iso as shown below.  It is being built on a system running a
> > 10.2 version of stable/10.  I believe this problem could be due to either
> > the attempt to compile newer stable/10 code on an older 10.2 version of
> > stable/10 or something in the code is broke.  Can you shed some light on
> > the error below?
>
> This issuse (makefs: error: The Disk Label must be at most 32
> characters long) present always.
> Best way is fix makefs to shrink label to 32 characters and conver
> this error to warning


Thanks.  This is resolved with this patch:

diff --git a/release/amd64/mkisoimages-uefi.sh
b/release/amd64/mkisoimages-uefi.sh
index 9526ad7..0441dac 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-32`; shift
 NAME=$1; shift

 publisher="The FreeBSD Project.  http://www.FreeBSD.org/"

 and PR 210463 was opened.

-- 
Take care
Rick Miller


More information about the freebsd-questions mailing list