Difference between revisions of "StarlingX/Developer Guide/Build System"
< StarlingX | Developer Guide
(→Mock) |
|||
Line 1: | Line 1: | ||
+ | == Structure == | ||
+ | |||
+ | === Local Disk === | ||
+ | |||
+ | * The 'designer' disk is for sourcecode. | ||
+ | * The 'loadbuild' disk is for the build environment and the generated rpms and iso. | ||
+ | |||
+ | <br><source lang="sh"> | ||
+ | </source> | ||
+ | |||
== Debug == | == Debug == | ||
Revision as of 01:43, 18 July 2018
Contents
Structure
Local Disk
- The 'designer' disk is for sourcecode.
- The 'loadbuild' disk is for the build environment and the generated rpms and iso.
Debug
Mock
For serial build use:
$ export MY_BUILD_ENVIRONMENT=$USER-$PROJECT-$SRC_BUILD_ENVIRONMENT
$ export MY_DEBUG_BUILD_CFG_STD=$MY_WORKSPACE/std/configs/${MY_BUILD_ENVIRONMENT}-std/${MY_BUILD_ENVIRONMENT}-std.cfg
For parallel build use:
$ export MY_BUILD_ENVIRONMENT=$USER-$PROJECT-$SRC_BUILD_ENVIRONMENT
$ export MY_DEBUG_BUILD_CFG_STD=$MY_WORKSPACE/std/configs/${MY_BUILD_ENVIRONMENT}-std/${MY_BUILD_ENVIRONMENT}-std.b0.cfg
Enter your mock
$ mock -r $MY_DEBUG_BUILD_CFG_STD --shell