Changeset - 63ac6c38dd4a
[Not reviewed]
master
0 1 0
x - 19 days ago 2026-01-04 17:18:22
xbr@c3l.lu
fix: create manifest in building process
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
build_script/build.sh
Show inline comments
 
@@ -8,48 +8,50 @@ SITE_DIR=$USER_DIR/Firmware-building/site_config
 
EXPERIMENTAL_SITE=$SITE_DIR/experimental/site
 
BETA_SITE=$SITE_DIR/beta/site
 
STABLE_SITE=$SITE_DIR/stable/site
 

	
 
# $1: site directory
 
set_site_directory() {
 
    pushd "$GLUON_DIR"
 

	
 
    # if site file exists, remove it
 
    if [ -a site ]; then
 
        unlink site
 
    fi
 
    ln -s "$1"
 

	
 
    popd
 
}
 

	
 
build() {
 
    pushd "$GLUON_DIR"
 

	
 
    for TARGET in $(make list-targets); do
 
        make -j16 GLUON_TARGET="$TARGET"
 
    done
 

	
 
    make manifest
 

	
 
    popd
 
}
 

	
 
# $1: autoupdater branch
 
move_output_images() {
 
    pushd "$GLUON_DIR"
 

	
 
    mv output/images "output-images-$1"
 

	
 
    popd
 
}
 

	
 
#unset multiple env vars
 
unset BUILD_EXPERIMENTAL BUILD_BETA BUILD_STABLE
 

	
 
case $1 in
 
    exp)
 
        BUILD_EXPERIMENTAL=1
 
        ;;
 

	
 
    beta)
 
        BUILD_BETA=1
 
        ;;
 

	
0 comments (0 inline, 0 general)