Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] OXT-1736 : do-build.sh zeus uprev and usability improvements #365

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
24 changes: 17 additions & 7 deletions do_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ SYSTEM_SHELL=$(basename $(readlink -f /bin/sh))
# Keep bitbake memory-resident between invocations
export BB_SERVER_TIMEOUT=30

# Optional interactive use: set to 1 to disable logs
INTERACTIVE=0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems weird - just run MACHINE=... ./bb <recipe> from openxt/build manually? I expected to see a cli flag to enable this option.


TOPDIR=`pwd`
OUTPUT_DIR="$TOPDIR/build-output"
CMD="$0"
Expand Down Expand Up @@ -235,7 +238,11 @@ do_oe()
fi
echo "STARTING OE BUILD $image $machine, started at" `date -u +'%H:%M:%S UTC'`

< /dev/null ./bb $BBFLAGS "$image" | do_oe_log
if [ $INTERACTIVE -eq 1 ]; then
./bb $BBFLAGS "$image"
else
< /dev/null ./bb $BBFLAGS "$image" | do_oe_log
fi
popd
}

Expand Down Expand Up @@ -1289,12 +1296,15 @@ do_ship()
do_updates
do_netboots
do_installer_isos
do_source_iso
do_source_info
do_licences
do_syncui
do_info
do_logs

if [ $INTERACTIVE -eq 0 ]; then
do_source_iso
do_source_info
do_licences
do_syncui
do_info
do_logs
fi
}

do_copy()
Expand Down