version 1.11.2.5, 2017/06/20 08:49:03
|
version 1.12, 2021/03/11 13:59:50
|
Line 50 build_fsdir()
|
Line 50 build_fsdir()
|
install -d boot; |
install -d boot; |
# cf |
# cf |
install -d cf; |
install -d cf; |
case ${TARGET} in |
|
i386|amd64) |
|
ln -fs /dev/ada0g cf/map.cfg |
|
;; |
|
mips) |
|
ln -fs /dev/map/cfg cf/map.cfg |
|
;; |
|
esac |
|
# etc |
# etc |
install -d etc; |
install -d etc; |
# exports |
# exports |
Line 66 build_fsdir()
|
Line 58 build_fsdir()
|
install -d home; |
install -d home; |
# local |
# local |
install -d local; |
install -d local; |
|
install -d local/lib; |
# root |
# root |
install -d -m 0750 root; |
install -d -m 0750 root; |
# pkg |
# pkg |
Line 82 create_etc_fstab()
|
Line 75 create_etc_fstab()
|
cat >$1/etc/fstab <<_EOF |
cat >$1/etc/fstab <<_EOF |
# Automatic generated fstab for ELWIX $2 at ${BUILD_DATE} |
# Automatic generated fstab for ELWIX $2 at ${BUILD_DATE} |
# |
# |
/dev/ufs/elwix /elwix ufs ro 0 1 |
|
_EOF |
_EOF |
} |
} |
|
|
Line 159 MakeFS_home ${FS_EXT} || exit 1
|
Line 151 MakeFS_home ${FS_EXT} || exit 1
|
MakeFS_var ${FS} ${FS_ETC} || exit 1 |
MakeFS_var ${FS} ${FS_ETC} || exit 1 |
MakeFS_var ${FS_EXT} ${FS_EXT_ETC} || exit 1 |
MakeFS_var ${FS_EXT} ${FS_EXT_ETC} || exit 1 |
|
|
MakeFS_etc ${FS} ${FS_ETC} || exit 1 | MakeFS_etc ${FS} ${FS_ETC} rootfs || exit 1 |
MakeFS_etc ${FS_EXT} ${FS_EXT_ETC} ext || exit 1 | MakeFS_etc ${FS_EXT} ${FS_EXT_ETC} rootfsext || exit 1 |
|
|
create_etc_fstab ${FS} || exit 1 |
create_etc_fstab ${FS} || exit 1 |
create_etc_fstab ${FS_EXT} ext || exit 1 |
create_etc_fstab ${FS_EXT} ext || exit 1 |