1 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/installer/gtk-gui/install.sh,v 1.2 2008-09-24 10:44:21 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/installer/gtk-gui/install.sh,v 1.3 2008-09-24 10:54:00 niro Exp $ |
2 |
|
|
3 |
# export SHOW_BOOTSTRAP=' |
# export SHOW_BOOTSTRAP=' |
4 |
# <window title="Bootstrap" icon-name="gtk-preferences" window_position="1" resizable="true"> |
# <window title="Bootstrap" icon-name="gtk-preferences" window_position="1" resizable="true"> |
16 |
# </hbox> |
# </hbox> |
17 |
# <progressbar> |
# <progressbar> |
18 |
# <label>Installing...</label> |
# <label>Installing...</label> |
19 |
# <input> bootstrap-wrapper.sh </input> |
# <input> include/bootstrap-wrapper.sh </input> |
20 |
# <action type="exit">Ready</action> |
# <action type="exit">Ready</action> |
21 |
# </progressbar> |
# </progressbar> |
22 |
# </vbox> |
# </vbox> |
38 |
# </text> |
# </text> |
39 |
# </hbox> |
# </hbox> |
40 |
# <progressbar> |
# <progressbar> |
41 |
# <input> bootstrap-wrapper.sh download_stage1</input> |
# <input> include/bootstrap-wrapper.sh download_stage1</input> |
42 |
# <action type="exit">Ready</action> |
# <action type="exit">Ready</action> |
43 |
# </progressbar> |
# </progressbar> |
44 |
# </vbox> |
# </vbox> |
60 |
# </text> |
# </text> |
61 |
# </hbox> |
# </hbox> |
62 |
# <progressbar> |
# <progressbar> |
63 |
# <input> bootstrap-wrapper.sh download_stage2</input> |
# <input> include/bootstrap-wrapper.sh download_stage2</input> |
64 |
# <action type="exit">Ready</action> |
# <action type="exit">Ready</action> |
65 |
# </progressbar> |
# </progressbar> |
66 |
# </vbox> |
# </vbox> |
82 |
# </text> |
# </text> |
83 |
# </hbox> |
# </hbox> |
84 |
# <progressbar> |
# <progressbar> |
85 |
# <input> bootstrap-wrapper.sh install_stage1</input> |
# <input> include/bootstrap-wrapper.sh install_stage1</input> |
86 |
# <action type="exit">Ready</action> |
# <action type="exit">Ready</action> |
87 |
# </progressbar> |
# </progressbar> |
88 |
# </vbox> |
# </vbox> |
104 |
</text> |
</text> |
105 |
</hbox> |
</hbox> |
106 |
<progressbar> |
<progressbar> |
107 |
<input> bootstrap-wrapper.sh</input> |
<input> include/bootstrap-wrapper.sh</input> |
108 |
<action type="exit">Ready</action> |
<action type="exit">Ready</action> |
109 |
</progressbar> |
</progressbar> |
110 |
</vbox> |
</vbox> |
126 |
</text> |
</text> |
127 |
</hbox> |
</hbox> |
128 |
<progressbar> |
<progressbar> |
129 |
<input> prepare_disks.sh -f -p</input> |
<input> include/prepare_disks.sh --format </input> |
130 |
<action type="exit">Ready</action> |
<action type="exit">Ready</action> |
131 |
</progressbar> |
</progressbar> |
132 |
</vbox> |
</vbox> |
173 |
</text> |
</text> |
174 |
</hbox> |
</hbox> |
175 |
<progressbar> |
<progressbar> |
176 |
<input> prepare_bootloader.sh </input> |
<input> include/prepare_bootloader.sh </input> |
177 |
<action type="exit">Ready</action> |
<action type="exit">Ready</action> |
178 |
</progressbar> |
</progressbar> |
179 |
</vbox> |
</vbox> |
182 |
|
|
183 |
system_setup() |
system_setup() |
184 |
{ |
{ |
185 |
prepare_auth.sh |
include/prepare_auth.sh |
186 |
echo 25 |
echo 25 |
187 |
|
|
188 |
prepare_networking.sh |
include/prepare_networking.sh |
189 |
echo 50 |
echo 50 |
190 |
|
|
191 |
prepare_fstab.sh |
include/prepare_fstab.sh |
192 |
echo 75 |
echo 75 |
193 |
|
|
194 |
prepare_initrd.sh |
include/prepare_initrd.sh |
195 |
echo 100 |
echo 100 |
196 |
} |
} |
197 |
export -f system_setup |
export -f system_setup |
199 |
main_install() |
main_install() |
200 |
{ |
{ |
201 |
rundialog FORMAT_DISKS |
rundialog FORMAT_DISKS |
202 |
prepare_disks.sh --mount |
include/prepare_disks.sh --mount |
203 |
|
|
204 |
rundialog INSTALL_STAGE2 |
rundialog INSTALL_STAGE2 |
205 |
rundialog SYSTEM_SETUP |
rundialog SYSTEM_SETUP |
206 |
rundialog INSTALL_BOOTLOADER |
rundialog INSTALL_BOOTLOADER |
207 |
|
|
208 |
prepare_disks.sh --umount |
include/prepare_disks.sh --umount |
209 |
} |
} |