mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
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
(cherry picked from commit 5bffdafd6c)
This commit is contained in:
parent
908d607bd1
commit
9f7ff9fe84
1 changed files with 5 additions and 5 deletions
|
|
@ -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 a new issue