27 |
${INSTALLER_LIBDIR}/functions/common.sh \ |
${INSTALLER_LIBDIR}/functions/common.sh \ |
28 |
${INSTALLER_LIBDIR}/functions/common-dialogs.sh \ |
${INSTALLER_LIBDIR}/functions/common-dialogs.sh \ |
29 |
${INSTALLER_LIBDIR}/functions/hwdetection.sh \ |
${INSTALLER_LIBDIR}/functions/hwdetection.sh \ |
30 |
|
${INSTALLER_LIBDIR}/functions/bootloader.sh \ |
31 |
|
${INSTALLER_LIBDIR}/functions/initrd-tools.sh \ |
32 |
${INSTALLER_LIBDIR}/functions/installer-dialogs.sh |
${INSTALLER_LIBDIR}/functions/installer-dialogs.sh |
33 |
do |
do |
34 |
if [ -e ${inc} ] |
if [ -e ${inc} ] |
248 |
export ALL_CDROMS="$(get_hwinfo cdrom)" |
export ALL_CDROMS="$(get_hwinfo cdrom)" |
249 |
} |
} |
250 |
|
|
|
dialog_setup_hdd_create_partitions() |
|
|
{ |
|
|
dialog \ |
|
|
--backtitle "${TITLE}" \ |
|
|
--infobox "Erstelle Disk Partitionen ..." 3 70 |
|
|
} |
|
|
|
|
|
dialog_setup_hdd_format() |
|
|
{ |
|
|
dialog \ |
|
|
--backtitle "${TITLE}" \ |
|
|
--infobox "Erstelle Datei-Systeme ..." 3 70 |
|
|
} |
|
|
|
|
|
dialog_install_settings() |
|
|
{ |
|
|
dialog \ |
|
|
--backtitle "${TITLE}" \ |
|
|
--infobox "Speichere System-Einstellungen ..." 3 70 |
|
|
} |
|
|
|
|
|
dialog_install_system_image() |
|
|
{ |
|
|
dialog \ |
|
|
--backtitle "${TITLE}" \ |
|
|
--gauge "Kopiere System-Image ..." 6 80 |
|
|
} |
|
|
|
|
251 |
install_meter() |
install_meter() |
252 |
{ |
{ |
253 |
while [[ ${CURRENTLINE} != ${TOTALLINES} ]] |
while [[ ${CURRENTLINE} != ${TOTALLINES} ]] |
261 |
return 0 |
return 0 |
262 |
} |
} |
263 |
|
|
|
|
|
|
dialog_install_bootsector() |
|
|
{ |
|
|
dialog \ |
|
|
--backtitle "${TITLE}" \ |
|
|
--infobox "Schreibe den Bootsektor ..." 3 70 |
|
|
} |
|
|
|
|
|
dialog_install_successful() |
|
|
{ |
|
|
dialog \ |
|
|
--backtitle "${TITLE}" \ |
|
|
--colors \ |
|
|
--msgbox "Die Installation war \Z2erfolgreich\Zn." 5 81 |
|
|
} |
|
|
|
|
|
dialog_install_failure() |
|
|
{ |
|
|
dialog \ |
|
|
--backtitle "${TITLE}" \ |
|
|
--colors \ |
|
|
--msgbox "Die Installation ist \Z1Fehlgeschlagen\Zn.\n\n\ |
|
|
Fehler bei ${ERROR}, RetVal: ${RETVAL} \ |
|
|
" 10 81 |
|
|
} |
|
|
|
|
264 |
dialog_main() |
dialog_main() |
265 |
{ |
{ |
266 |
local method=0 |
local method=0 |
717 |
dialog_install_settings |
dialog_install_settings |
718 |
sleep 1 |
sleep 1 |
719 |
install_system_settings |
install_system_settings |
720 |
|
dialog_install_initrd |
721 |
install_initrd_chroot |
install_initrd_chroot |
722 |
|
|
723 |
dialog_install_bootsector |
dialog_install_bootsector |
740 |
dialog_install_settings |
dialog_install_settings |
741 |
sleep 1 |
sleep 1 |
742 |
install_system_settings |
install_system_settings |
743 |
|
dialog_install_initrd |
744 |
install_initrd_chroot |
install_initrd_chroot |
745 |
|
|
746 |
dialog_install_bootsector |
dialog_install_bootsector |