mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Refactored.
All function body is indented. kaiten-yaki-* has main function. "sourced" style is not enforced.
This commit is contained in:
parent
a5ecca9860
commit
f1a43e9c54
6 changed files with 475 additions and 460 deletions
|
|
@ -2,29 +2,29 @@
|
|||
|
||||
function parainstall_msg() {
|
||||
|
||||
cat <<HEREDOC
|
||||
******************************************************************************
|
||||
The pre-install process is done. We are ready to install the Linux to the
|
||||
target storage device. By pressing return key, GUI/TUI installer starts.
|
||||
cat <<- HEREDOC
|
||||
******************************************************************************
|
||||
The pre-install process is done. We are ready to install the Linux to the
|
||||
target storage device. By pressing return key, GUI/TUI installer starts.
|
||||
|
||||
Please pay attention to the partition/logical volume mapping configuration.
|
||||
In this installation, you have to map the previously created partitions/logical
|
||||
volumes to the appropriate directories of the target system as followings :
|
||||
Please pay attention to the partition/logical volume mapping configuration.
|
||||
In this installation, you have to map the previously created partitions/logical
|
||||
volumes to the appropriate directories of the target system as followings :
|
||||
|
||||
HEREDOC
|
||||
HEREDOC
|
||||
|
||||
# In the EFI system, add this mapping
|
||||
if [ ${ISEFI} -eq 1 ] ; then
|
||||
echo "/boot/efi : ${DEV}${EFIPARTITION}"
|
||||
fi
|
||||
# In the EFI system, add this mapping
|
||||
if [ ${ISEFI} -eq 1 ] ; then
|
||||
echo "/boot/efi : ${DEV}${EFIPARTITION}"
|
||||
fi
|
||||
|
||||
# Root volume mapping
|
||||
echo "/ : /dev/mapper/${VGNAME}-${LVROOTNAME}"
|
||||
# Root volume mapping
|
||||
echo "/ : /dev/mapper/${VGNAME}-${LVROOTNAME}"
|
||||
|
||||
# In case of erased storage, add this mapping
|
||||
if [ ${ERASEALL} -eq 1 ] ; then
|
||||
echo "swap : /dev/mapper/${VGNAME}-${LVSWAPNAME}"
|
||||
fi
|
||||
# In case of erased storage, add this mapping
|
||||
if [ ${ERASEALL} -eq 1 ] ; then
|
||||
echo "swap : /dev/mapper/${VGNAME}-${LVSWAPNAME}"
|
||||
fi
|
||||
|
||||
return 0
|
||||
return 0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue