Diff of /trunk/installer-simple/bin/installer.sh.in
Parent Directory | Revision Log | Patch
revision 2883 by niro, Fri Jul 31 09:42:12 2015 UTC | revision 2884 by niro, Fri Jul 31 09:54:20 2015 UTC | |
---|---|---|
# | Line 99 install_meter() | Line 99 install_meter() |
99 | return 0 | return 0 |
100 | } | } |
101 | ||
install_mount_rootfs() | ||
{ | ||
local opts | ||
if [[ -n ${SWAPHDD} ]] | ||
then | ||
swapon ${SWAPHDD} || die | ||
fi | ||
if [[ -n ${ROOTHDD} ]] | ||
then | ||
mount -t ${FORMAT_FILESYSTEM_ROOTHDD} ${ROOTHDD} ${INSTALL_ROOT} || die | ||
fi | ||
if [[ -n ${BOOTHDD} ]] | ||
then | ||
install -d ${INSTALL_ROOT}/boot || die | ||
mount -t ${FORMAT_FILESYSTEM_BOOTHDD} ${BOOTHDD} ${INSTALL_ROOT}/boot || die | ||
fi | ||
cd ${INSTALL_ROOT} || die | ||
} | ||
102 | mount_rootfs() | mount_rootfs() |
103 | { | { |
104 | local retval | local retval |
|