100 |
return 0 |
return 0 |
101 |
} |
} |
102 |
|
|
103 |
|
install_mount_rootfs() |
104 |
|
{ |
105 |
|
is_mounted --location "${INSTALLROOT}" || mount "${ROOTHDD}" "${INSTALLROOT}" |
106 |
|
install -d ${INSTALLROOT}/boot || dialog_die |
107 |
|
} |
108 |
|
|
109 |
|
install_umount_rootfs() |
110 |
|
{ |
111 |
|
is_mounted --location ${INSTALLROOT}/boot && umount ${INSTALLROOT}/boot |
112 |
|
is_mounted --location ${INSTALLROOT} && umount ${INSTALLROOT} |
113 |
|
} |
114 |
|
|
115 |
|
install_do_reboot() |
116 |
|
{ |
117 |
|
reboot |
118 |
|
} |
119 |
|
|
120 |
run_hardware_detection() |
run_hardware_detection() |
121 |
{ |
{ |
122 |
local hwinfo |
local hwinfo |
279 |
mkfs."${FORMAT_FILESYSTEM}" -q "${ROOTHDD}" || dialog_die |
mkfs."${FORMAT_FILESYSTEM}" -q "${ROOTHDD}" || dialog_die |
280 |
} |
} |
281 |
|
|
|
install_mount_rootfs() |
|
|
{ |
|
|
is_mounted --location "${INSTALLROOT}" || mount "${ROOTHDD}" "${INSTALLROOT}" |
|
|
install -d ${INSTALLROOT}/boot || dialog_die |
|
|
} |
|
|
|
|
282 |
install_system_image() |
install_system_image() |
283 |
{ |
{ |
284 |
pushd ${INSTALLROOT} > /dev/null |
pushd ${INSTALLROOT} > /dev/null |
320 |
fi |
fi |
321 |
} |
} |
322 |
|
|
|
install_umount_rootfs() |
|
|
{ |
|
|
is_mounted --location ${INSTALLROOT}/boot && umount ${INSTALLROOT}/boot |
|
|
is_mounted --location ${INSTALLROOT} && umount ${INSTALLROOT} |
|
|
} |
|
|
|
|
|
install_do_reboot() |
|
|
{ |
|
|
reboot |
|
|
} |
|
|
|
|
323 |
|
|
324 |
### installer dialogs ### |
### installer dialogs ### |
325 |
|
|