Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2005 08:19:42 GMT
From:      soc-saturnero <soc-saturnero@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 83253 for review
Message-ID:  <200509080819.j888JgHO011497@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=83253

Change 83253 by soc-saturnero@soc-saturnero_sberta on 2005/09/08 08:18:42

	Change fstab line to ro. Set the LABEL value and honor in
	       mkisofs command.

Affected files ...

.. //depot/projects/soc2005/freesbie/scripts/iso.sh#4 edit
.. //depot/projects/soc2005/freesbie/scripts/powerpc/iso.sh#4 edit

Differences ...

==== //depot/projects/soc2005/freesbie/scripts/iso.sh#4 (text+ko) ====

@@ -40,7 +40,7 @@
 mkdir -p ${CLONEDIR}/dist
 mv root.dist.bz2 ${CLONEDIR}/dist/
 
-echo "/dev/iso9660/${LABEL} / cd9660 rw 0 0" > ${CLONEDIR}/etc/fstab
+echo "/dev/iso9660/${LABEL} / cd9660 ro 0 0" > ${CLONEDIR}/etc/fstab
 
 cd ${CLONEDIR}
 

==== //depot/projects/soc2005/freesbie/scripts/powerpc/iso.sh#4 (text+ko) ====

@@ -12,6 +12,8 @@
     exit 1
 fi
 
+LABEL="FreeSBIE"
+
 echo "#### Building bootable ISO image for ${ARCH} ####"
 
 # This part was taken from the mkisoimages.sh scripts under
@@ -43,7 +45,7 @@
 
 echo "Running mkisofs..."
 
-mkisofs -hfs-bless boot -map ${SRCDIR}/release/powerpc/hfs.map -r -hfs -part -no-desktop -hfs-volid FreeSBIE -V FreeSBIE -l -J -L -o $ISOPATH . >> ${LOGFILE} 2>&1
+mkisofs -hfs-bless boot -map ${SRCDIR}/release/powerpc/hfs.map -r -hfs -part -no-desktop -hfs-volid ${LABEL} -V ${LABEL} -l -J -L -o $ISOPATH . >> ${LOGFILE} 2>&1
 
 echo "ISO created:"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509080819.j888JgHO011497>