home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
root
/
usr
/
share
/
YaST2
/
clients
/
inst_autoimage.ycp
< prev
next >
Wrap
Text File
|
2006-11-29
|
1KB
|
65 lines
/**
* File: clients/inst_autoimage.ycp
* Package: Auto-installation
* Author: Anas Nashif <nashif@suse.de>
* Summary: Imaging
*
* $Id: inst_autoimage.ycp 33269 2006-10-09 08:22:24Z ug $
*/
{
textdomain "autoinst";
import "Installation";
import "Progress";
import "Report";
import "AutoinstImage";
import "AutoinstSoftware";
if (!AutoinstSoftware::imaging)
return `auto;
string help_text = _("<p>
Please wait while the image is retrieved.</p>
");
list<string> progress_stages =
[
_("Retrieve Image File"),
_("Install image file")
];
list<string> progress_descriptions =
[
_("Retrieving image file..."),
_("Installing image file...")
];
Progress::New(
_("Installing image into system..."),
"", // progress_title
size( progress_stages ), // progress bar length
progress_stages,
progress_descriptions,
help_text );
Progress::NextStage();
//if (!AutoinstImage::Get(AutoinstSoftware::ft_module, Installation::destdir ))
//{
// Report::Error(_("Error while retrieving image."));
// return `abort;
//}
AutoinstImage::getScript();
AutoinstImage::runScript();
Progress::Finish();
return `next;
}