Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupDockerChroot ¶
CleanupDockerChroot: Docker based only, clean chroot =>
- delete everything but the folders listed these folders are the ones mounted in docker run command (-v option)
- create empty folders these folders are required by chroot (e.g.: /run) and needs to be created empty to not inherit anything from previous build
func GetChrootDir ¶
GetChrootDir returns the chroot folder
- proposeDir is suggested folder name in case of Docker based build a chroot dir is selected from the chroot pool and proposeDir is ignored
func GetRpmsDir ¶
GetRpmsDir returns the RPMS folder - proposeDir is suggested folder name and will be ignored in case of Docker based build
func IsRegularBuild ¶
func IsRegularBuild() bool
IsRegularBuild indicates if it is a regular build (without using docker)
func ReleaseChrootDir ¶
ReleaseChrootDir releases a chroot dir note that this routine does nothing case of regular build
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.