diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-03-22 01:14:53 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-03-22 01:14:53 +0000 |
commit | 7e04216c28d5b4d3bdfc88b1ccc8a0dfd148bb06 (patch) | |
tree | 704ab914b05ae7a30ce5fef0a9f70d87d26b3012 /release/ia64 | |
parent | 57d3996c320e3d8655f5bc5464824d4a2bb015be (diff) | |
download | FreeBSD-src-7e04216c28d5b4d3bdfc88b1ccc8a0dfd148bb06.zip FreeBSD-src-7e04216c28d5b4d3bdfc88b1ccc8a0dfd148bb06.tar.gz |
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
Diffstat (limited to 'release/ia64')
-rw-r--r-- | release/ia64/mkisoimages.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/ia64/mkisoimages.sh b/release/ia64/mkisoimages.sh index 192228b..edb4bc3 100644 --- a/release/ia64/mkisoimages.sh +++ b/release/ia64/mkisoimages.sh @@ -91,6 +91,8 @@ fi publisher="The FreeBSD Project. http://www.freebsd.org/" +echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > $1/etc/fstab $MKISOFS $BOOTOPTS -r -J -V $LABEL -publisher "$publisher" -o $NAME $BASE $* rm -f $BASE/$EFIPART +rm $1/etc/fstab exit 0 |