Remove tmpfs size and properly format generated fstab for arm
Remove tmpfs size limitation, this breaks make installworld and installation of some packages Format generated fstab using tabs to make it consistent and readable MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29283
This commit is contained in:
parent
eeb26cf52c
commit
5bffdafd6c
@ -197,18 +197,18 @@ arm_install_base() {
|
||||
echo '# Custom /etc/fstab for FreeBSD embedded images' \
|
||||
> ${CHROOTDIR}/${DESTDIR}/etc/fstab
|
||||
if [ "${PART_SCHEME}" == "GPT" ]; then
|
||||
echo "/dev/ufs/rootfs / ufs rw 1 1" \
|
||||
echo "/dev/ufs/rootfs / ufs rw 1 1" \
|
||||
>> ${CHROOTDIR}/${DESTDIR}/etc/fstab
|
||||
echo "/dev/msdosfs/EFI /boot/efi msdosfs rw,noatime 0 0" \
|
||||
echo "/dev/msdosfs/EFI /boot/efi msdosfs rw,noatime 0 0" \
|
||||
>> ${CHROOTDIR}/${DESTDIR}/etc/fstab
|
||||
fi
|
||||
if [ "${PART_SCHEME}" == "MBR" ]; then
|
||||
echo "/dev/ufs/rootfs / ufs rw 1 1" \
|
||||
echo "/dev/ufs/rootfs / ufs rw 1 1" \
|
||||
>> ${CHROOTDIR}/${DESTDIR}/etc/fstab
|
||||
echo "/dev/msdosfs/MSDOSBOOT /boot/msdos msdosfs rw,noatime 0 0" \
|
||||
echo "/dev/msdosfs/MSDOSBOOT /boot/msdos msdosfs rw,noatime 0 0" \
|
||||
>> ${CHROOTDIR}/${DESTDIR}/etc/fstab
|
||||
fi
|
||||
echo "tmpfs /tmp tmpfs rw,mode=1777,size=50m 0 0" \
|
||||
echo "tmpfs /tmp tmpfs rw,mode=1777 0 0" \
|
||||
>> ${CHROOTDIR}/${DESTDIR}/etc/fstab
|
||||
|
||||
local hostname
|
||||
|
Loading…
Reference in New Issue
Block a user