This fixes the problem with Qualcomm boards where EULA approval is required.
See: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-July/002279.html
Change-Id: Ifad216bf559a246d6883e7c2828dacd7bd225075
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
append_fragment $BUILDDIR/conf/setup.sh "" "echo '--- end of setup script'"
infon " Executing setup script ... "
append_fragment $BUILDDIR/conf/setup.sh "" "echo '--- end of setup script'"
infon " Executing setup script ... "
- execute_setup $BUILDDIR/conf/setup.sh >$BUILDDIR/conf/setup.log 2>&1 \
+ execute_setup $BUILDDIR/conf/setup.sh 2>&1 | tee $BUILDDIR/conf/setup.log \
&& {
info "OK"
[[ $VERBOSE == 1 ]] && dump_log $BUILDDIR/conf/setup.log
&& {
info "OK"
[[ $VERBOSE == 1 ]] && dump_log $BUILDDIR/conf/setup.log
End User License Agreement (EULA). To have the right to use these binaries
in your images, you need to read and accept the following...
End User License Agreement (EULA). To have the right to use these binaries
in your images, you need to read and accept the following...
-The firmware package can contains several types
-of firmware (depending on BSP):
+The firmware package can contains several types of firmware (depending on BSP):
* bootloaders: the first stage bootloaders are proprietary for this
board, they are included in this firmware package.
* bootloaders: the first stage bootloaders are proprietary for this
board, they are included in this firmware package.
echo
REPLY=
while [ -z "$REPLY" ]; do
echo
REPLY=
while [ -z "$REPLY" ]; do
- echo -n "Do you read the EULA ? (y/n) "
+ echo -n "Do you want to read the EULA ? (y/n) "
read REPLY
case "$REPLY" in
y|Y)
read REPLY
case "$REPLY" in
y|Y)