Skip to content

CustomPiOS internals

Guy Sheffer edited this page Jul 15, 2024 · 1 revision

CustomPiOS internals

This page is to document internal logic of CustomPiOS. Things that happen under the hood. Not stuff needed for building distributions.

Execution scripts order

When CustomPiOS is called, there is a mix of python and bash scripts. The reason is because Bash scripts can export better the shell and interact with the modules scripts better.

It does create an order of bash scripts that execute each other, this is the order (indentation of 4 spaces means the script calls the other):

nightly_build_scripts/custompios_nightly_build
    ${CUSTOM_PI_OS_PATH}/build_custom_os "${WORKSPACE_SUFFIX}"
        ${DIR}/build "$1"
            source ${CUSTOM_PI_OS_PATH}/config "${1}" "${EXTRA_BOARD_CONFIG}" ${@}
            source ${CUSTOM_OS_PATH}/custompios ${@}
Clone this wiki locally