diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-01-08 21:13:58 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-01-08 21:13:58 +0000 |
commit | 0e4b6f5ed799d0c257bb2c1bdd3874d75916f333 (patch) | |
tree | 3c6599eed2f48176f0c36c7be11d24e57faf3872 /release/amd64 | |
parent | 6317f31612cf736073c079a099d9c174953957c6 (diff) | |
download | src-0e4b6f5ed799d0c257bb2c1bdd3874d75916f333.tar.gz src-0e4b6f5ed799d0c257bb2c1bdd3874d75916f333.zip |
ISO 9660 specification allows only "d-characters" and "a-characters" in the
Volume Descriptor (section 7.4). In short, upper-case alphanumeric + some
symbols only. While the makefs utility automatically converts the characters,
$LABEL should be consistent in the scripts.
Notes
Notes:
svn path=/head/; revision=245177
Diffstat (limited to 'release/amd64')
-rw-r--r-- | release/amd64/mkisoimages.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/amd64/mkisoimages.sh b/release/amd64/mkisoimages.sh index 74a34a93221e..105a07395fc2 100644 --- a/release/amd64/mkisoimages.sh +++ b/release/amd64/mkisoimages.sh @@ -36,9 +36,9 @@ if [ $# -lt 3 ]; then exit 1 fi -LABEL=$1; shift +LABEL=`echo $1 | tr '[:lower:]' '[:upper:]'`; shift NAME=$1; shift -echo "/dev/iso9660/`echo $LABEL | tr '[:lower:]' '[:upper:]'` / cd9660 ro 0 0" > $1/etc/fstab +echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > $1/etc/fstab makefs -t cd9660 $bootable -o rockridge -o label=$LABEL $NAME $* rm $1/etc/fstab |