Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2016 09:34:08 -0400
From:      Rick Miller <vmiller@hostileadmin.com>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>,  "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: stable/10 release.sh fails during mkisoimages-uefi.sh
Message-ID:  <CAHzLAVHseh1r3Jc5vZKm5B0a%2BFkn5TSM3KSGbZ732XP%2BC2DRdQ@mail.gmail.com>
In-Reply-To: <20160427213739.GN6614@zxy.spb.ru>
References:  <CAHzLAVFt8Bjp_CwFyyyz1ymw89me4vAS6J6p0N9e8GcHU8_tvQ@mail.gmail.com> <20160427213739.GN6614@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 27, 2016 at 5:37 PM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:

> On Wed, Apr 27, 2016 at 01:00:19PM -0400, Rick Miller wrote:
>
> > Hi all,
> >
> > Building stable/10@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHzLAVHseh1r3Jc5vZKm5B0a%2BFkn5TSM3KSGbZ732XP%2BC2DRdQ>