ENV_VARS (SBUILDER)
Environment Variables for SBUILDER
Description: If the Build Was Successful or Failed, if It Failed (
SBUILD_SUCCESSFUL==false) Bail & Exit Immediately (Still Copy${SBUILD_OUTDIR}toSOAR_CACHE) (Also Copy
${SBUILD_TMPDIR}(PATH:${SBUILD_OUTDIR}/SBUILD_TEMP) if used-k | --keepValues:
true|false
Description: The Package Name, used as Prefix for ALL NEEDED Files <ALWAYS Available>
Value:
.pkg
Description: The Package ID (value:
.pkg_id)Also used as default OutputDir if
-o | --outputPATHwas NOT Specified (ONLY IFSBUILD_SUCCESSFUL==true)
Description: The Package Name + Package ID
Value:
.pkg+ .pkg_type
Description: One of
appbundle|appimage|archive|dynamic|flatimage|gameimage|nixappimage|runimage|staticALWAYS Re-Checked using Magic Bytes for Utmost Sanity
dynamic|staticare binaries (cli), don't need Integration (Desktop,Icons etc)
UNKNOWNmeans, thepkg_typevalue was empty, Rechecked anyway
Description: The Root (Temporary) Working Directory
x_exec.runis Run From <ALWAYS Available>All NEEDED Files must exist in this Directory
This Directory is moved to
SOAR_CACHEoafter Build Finishes (Regradless if Successful | Failed) but only depth 1 unless used-k | --keepwhich would move the entire directory including${SBUILD_TMPDIR}(PATH:${SBUILD_OUTDIR}/SBUILD_TEMP)After moving to
SOAR_CACHE, it is also copied to OutputDir ONLY IFSBUILD_SUCCESSFUL==truespecified using-o | --outputPATH, otherwise this is copied to${CWD}/${SBUILD_PKG}directory.if
SBUILD_SUCCESSFUL==false, don't copy it to OutputDir , fetch the logs & show errors along with printing realpath toSOAR_CACHEDir
Description: The SBUILD_TEMP Directory inside ${SBUILD_OUTDIR} (PATH:
${SBUILD_OUTDIR}/SBUILD_TEMP), used for storing NON-NEEDED Files <ALWAYS Available>This dir is cleaned (Not Copied to
SOAR_CACHE) by Default unless used-k | --keepIf rebuilding, & this dir already exists (User used
-k | --keepduring prevous build), it is cleaned/purged with--clean-buildor-c | --clean
Last updated
Was this helpful?