config: support comma and space separated list of source image types
This commit is contained in:
parent
19eccf0108
commit
db5188aa99
|
@ -574,6 +574,7 @@ Set_config_defaults ()
|
|||
|
||||
# Setting image type
|
||||
LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES:-tar}"
|
||||
LB_SOURCE_IMAGES="$(echo "${LB_SOURCE_IMAGES}" | tr "," " ")"
|
||||
}
|
||||
|
||||
Check_config_defaults ()
|
||||
|
|
|
@ -467,7 +467,7 @@ defines if the security repositories specified in the security mirror options sh
|
|||
.IP "\fB\-\-source\fR true|false" 4
|
||||
defines if a corresponding source image to the binary image should be build. By default this is false because most people do not require this and would require to download quite a few source packages. However, if you distribute your live image to others, you should make sure you build it with a source image alongside to help enable you to comply with licensing terms.
|
||||
.IP "\-s|\fB\-\-source\-images\fR iso|netboot|tar|hdd" 4
|
||||
defines the image type for the source image. Default is tar. More than one can be specified (space separated).
|
||||
defines the image type for the source image. Default is tar. More than one can be specified (comma or space separated).
|
||||
.IP "\fB\-\-swap\-file\-path\fR \fIPATH\fR" 4
|
||||
defines the path to a swap file to create in the binary image. Default is not to create a swap file.
|
||||
.IP "\fB\-\-swap\-file\-size\fR \fIMB\fR" 4
|
||||
|
|
Loading…
Reference in New Issue