aboutsummaryrefslogtreecommitdiff
path: root/release/i386
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2016-01-05 03:20:45 +0000
committerGlen Barber <gjb@FreeBSD.org>2016-01-05 03:20:45 +0000
commit10c40dfa68b9d163878c454bd66058e6c159e23e (patch)
tree15c1d3e12aae2e0ff0e43cdd007ce964dc7dccd7 /release/i386
parentd88def534ea2271e6cf53e895414c1f13beebfea (diff)
downloadsrc-10c40dfa68b9d163878c454bd66058e6c159e23e.tar.gz
src-10c40dfa68b9d163878c454bd66058e6c159e23e.zip
Notes
Diffstat (limited to 'release/i386')
-rwxr-xr-xrelease/i386/make-memstick.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/i386/make-memstick.sh b/release/i386/make-memstick.sh
index 27979ae779f1..f824382ec4b0 100755
--- a/release/i386/make-memstick.sh
+++ b/release/i386/make-memstick.sh
@@ -29,12 +29,14 @@ if [ -e ${2} ]; then
fi
echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab
+echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
makefs -B little -o label=FreeBSD_Install ${2}.part ${1}
if [ $? -ne 0 ]; then
echo "makefs failed"
exit 1
fi
rm ${1}/etc/fstab
+rm ${1}/etc/rc.conf.local
mkimg -s gpt -b ${1}/boot/pmbr -p freebsd-boot:=${1}/boot/gptboot -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}
rm ${2}.part