aboutsummaryrefslogtreecommitdiff
path: root/release/i386/mkisoimages.sh
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-03-22 01:14:53 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-03-22 01:14:53 +0000
commit0877c11eda4e6c6b8048d2b92ccfbea8132c7cbc (patch)
tree704ab914b05ae7a30ce5fef0a9f70d87d26b3012 /release/i386/mkisoimages.sh
parent6359b5731ce3d4646f42c4a94f4633a5e1618adf (diff)
downloadsrc-0877c11eda4e6c6b8048d2b92ccfbea8132c7cbc.tar.gz
src-0877c11eda4e6c6b8048d2b92ccfbea8132c7cbc.zip
Use labels to find release media instead of hard-coded device paths. This
makes booting more reliable (and working at all on USB sticks). While here, move responsibility for setting up fstab into the various platform mk-*.sh scripts. Suggested by: many
Notes
Notes: svn path=/head/; revision=219856
Diffstat (limited to 'release/i386/mkisoimages.sh')
-rw-r--r--release/i386/mkisoimages.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/i386/mkisoimages.sh b/release/i386/mkisoimages.sh
index 9bb3dbcaac85..d5570dcc4165 100644
--- a/release/i386/mkisoimages.sh
+++ b/release/i386/mkisoimages.sh
@@ -57,4 +57,7 @@ fi
LABEL=$1; shift
NAME=$1; shift
+echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > $1/etc/fstab
mkisofs $bootable -r -J -V $LABEL -publisher "$publisher" -o $NAME $*
+rm $1/etc/fstab
+