generate_output


Description:

[ Version ( since = "0.2.0" ) ]
public File generate_output (Os os, InstallConfig config, File output_dir, Cancellable? cancellable = null) throws Error

Creates an install script that is written to the returned file.

Parameters:

this

the install script

os

the os entity

config

the install script config

output_dir

the directory where the file containing the output script will be written

cancellable

a Cancellable, or null

Returns:

a file containing the script

If you are generating the script for a specific media, it is recommended that you use generate_output_for_media() instead.

If you are generating the script for a specific tree, it is recommended that you use generate_output_for_tree() instead.