From 745c3afdc0ac965523417a3718d0793220f01eb3 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Fri, 2 Oct 2015 14:30:38 +0200 Subject: [PATCH] mkproject.sh: add notice to EULA acceptance process The notice summarizes the different license agreements the user needs to accept to use the software. https://jira.digi.com/browse/DEL-1734 Signed-off-by: Javier Viguera (cherry picked from commit 92740c610e35aa4f11ab6e6536cddb832331d896) --- sdk/mkproject.sh | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/sdk/mkproject.sh b/sdk/mkproject.sh index cc6d31ac3..1c70b14e6 100755 --- a/sdk/mkproject.sh +++ b/sdk/mkproject.sh @@ -93,12 +93,29 @@ do_license() { ${MKP_SCRIPTPATH}/sources/meta-fsl-arm/EULA \ " [ -z "${MKP_PAGER+x}" ] && MKP_PAGER="| more" - eval cat "${MKP_LICENSE_FILES}" ${MKP_PAGER}; printf "\n" + eval cat - "${MKP_LICENSE_FILES}" <<-_EOF_ ${MKP_PAGER}; printf "\n" + +-------------------------------------------------------------------------------+ + | | + | | + | This software depends on libraries and packages that are covered by the | + | following licenses: | + | | + | * Digi's end user license agreement | + | * Digi's third party and open source license notice | + | * Freescale semiconductor software license agreement | + | | + | To have the right to use those binaries in your images you need to read and | + | accept the licenses. | + | | + | | + +-------------------------------------------------------------------------------+ + + _EOF_ unset MKP_LICENSE_FILES MKP_PAGER ans="" while [ -z "${ans}" ]; do - read -p "Do you accept the license agreement? [y/Y to accept]: " ans + read -p "Do you accept all three license agreements? [y/Y to accept]: " ans done printf "%80s\n\n" | tr ' ' '-'