yast2-bootloader |
clients/bootfloppy.ycp |
Boot floppy creation | |
|
This module create boot floppies and module floppies.
You can use a new boot/install floppy to boot either
the installed system or the rescue system from CD.
Imports
Local Functions
|
Get strnig to show while writing the image to floppy
- Parameters:
-
image string image name
- Return value:
-
label to show
Show popup with a custom message
- Parameters:
-
label string message to show
Hide shown popup window
Create the image of the floppy disk
- Parameters:
-
file_image string
- Return value:
-
file name with the floppy image
Try to mount source medium e.g. CD1 or a directory on the harddisk. If no source medium is found, the user can select a new source medium like in the module software selection.
Read /proc/mounts and return a list with all mounted devices
- Parameters:
-
floppy string device name of floppy to check
- Return value:
-
floppy mountpoint info
Helptext for the define floppySelectImage. Called from the floppySelectImage.
- Parameters:
-
modules boolean if true then shows a list of modules instead of main dialog
- Return value:
-
help text
Helptext for the define floppyInsertDisk. Called from the floppyInsertDisk.
- Return value:
-
help text
Helptext for the define floppyCopyImage. Called from the floppyCopyImage.
- Return value:
-
help text
Helptext for the define floppySelectFile. Called from the floppySelectFile.
- Return value:
-
help text
Helptext for the define floppySelectURL. Called from the floppySelectURL.
- Return value:
-
help text
Display a dialog that lets the user choose among different images. Save the selected image in the global variable file_image. Called from the sequencer.
- Parameters:
-
modules boolean if true then shows a list of modules instead of main dialog
- Return value:
-
wizard sequencer symbol
Display a dialog that lets the select file with floppy image. Save the selected file name in the global variable filename. Called from the sequencer.
- Return value:
-
wizard sequencer symbol
Display a dialog that lets the select URL with floppy image. Save the URL and downloaded file name in the global variable filename. Called from the sequencer.
- Return value:
-
wizard sequencer symbol
Display a dialog that prompts for a floppy.
- Return value:
-
system
Ask user whether to remount floppy, do it if wanted
Copy the selected image to the floppy. Called from the sequenser.
- Return value:
-
wizard sequencer symbol