version 1.7.2.9, 2013/08/05 08:52:54
|
version 1.7.2.14, 2013/08/05 12:08:47
|
Line 95 build_fsdir()
|
Line 95 build_fsdir()
|
|
|
create_etc_fstab() |
create_etc_fstab() |
{ |
{ |
cat >$1 <<_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 |
/dev/ufs/elwix /elwix ufs ro 0 1 |
Line 109 install_fsdir()
|
Line 109 install_fsdir()
|
echo "+++ Install ELWIX FS $1 in bundle OS install file ..." |
echo "+++ Install ELWIX FS $1 in bundle OS install file ..." |
OSZ="" |
OSZ="" |
|
|
install -v ${REL}/${ROOTFS_KERN} $1/boot/kernel | install -v ${REL}/${ROOTFS_KERN} $1/boot/kernel/kernel.gz |
|
|
case "$2" in |
case "$2" in |
[Ll][Ii][Tt][Ee]_128) |
[Ll][Ii][Tt][Ee]_128) |
Line 167 if [ ! -r ${REL}/${ROOTFS_KERN} -o ! -r ${REL}/${ROMFS
|
Line 167 if [ ! -r ${REL}/${ROOTFS_KERN} -o ! -r ${REL}/${ROMFS
|
fi |
fi |
|
|
clean_fsdir ${FS} ${REL}/${OS} |
clean_fsdir ${FS} ${REL}/${OS} |
clean_fsdir ${FS_LITE} ${REL}/${OS_LITE} |
|
clean_fsdir ${FS_LITE128} ${REL}/${OS_LITE128} |
clean_fsdir ${FS_LITE128} ${REL}/${OS_LITE128} |
|
|
build_fsdir ${FS} |
build_fsdir ${FS} |
build_fsdir ${FS_LITE} |
|
build_fsdir ${FS_LITE128} |
build_fsdir ${FS_LITE128} |
|
|
MakeFS_home ${FS} |
MakeFS_home ${FS} |
MakeFS_home ${FS_LITE} |
|
MakeFS_home ${FS_LITE128} |
MakeFS_home ${FS_LITE128} |
|
|
MakeFS_var ${FS} ${FS_ETC} |
MakeFS_var ${FS} ${FS_ETC} |
MakeFS_var ${FS_LITE} ${FS_ETC} |
|
MakeFS_var ${FS_LITE128} ${FS_ETC} |
MakeFS_var ${FS_LITE128} ${FS_ETC} |
|
|
MakeFS_etc ${FS} ${FS_ETC} |
MakeFS_etc ${FS} ${FS_ETC} |
MakeFS_etc ${FS_LITE} ${FS_ETC} lite |
|
MakeFS_etc ${FS_LITE128} ${FS_ETC} lite_128 |
MakeFS_etc ${FS_LITE128} ${FS_ETC} lite_128 |
|
|
create_etc_fstab ${FS} |
create_etc_fstab ${FS} |
create_etc_fstab ${FS_LITE} lite |
|
create_etc_fstab ${FS_LITE128} lite_128 |
create_etc_fstab ${FS_LITE128} lite_128 |
|
|
MakeFS_backup ${FS} |
MakeFS_backup ${FS} |
MakeFS_backup ${FS_LITE} |
|
MakeFS_backup ${FS_LITE128} |
MakeFS_backup ${FS_LITE128} |
|
|
MakeFS_boot ${FS} |
MakeFS_boot ${FS} |
MakeFS_boot ${FS_LITE} |
|
MakeFS_boot ${FS_LITE128} |
MakeFS_boot ${FS_LITE128} |
|
|
install_fsdir ${FS} |
install_fsdir ${FS} |
install_fsdir ${FS_LITE} lite |
|
install_fsdir ${FS_LITE128} lite_128 |
install_fsdir ${FS_LITE128} lite_128 |
|
|
echo "+++ Complete build ELWIX FS" |
echo "+++ Complete build ELWIX FS" |