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 <javier.viguera@digi.com> (cherry picked from commit 92740c610e35aa4f11ab6e6536cddb832331d896)
This commit is contained in:
parent
ad0d0b7bfc
commit
745c3afdc0
|
|
@ -93,12 +93,29 @@ do_license() {
|
||||||
${MKP_SCRIPTPATH}/sources/meta-fsl-arm/EULA \
|
${MKP_SCRIPTPATH}/sources/meta-fsl-arm/EULA \
|
||||||
"
|
"
|
||||||
[ -z "${MKP_PAGER+x}" ] && MKP_PAGER="| more"
|
[ -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
|
unset MKP_LICENSE_FILES MKP_PAGER
|
||||||
|
|
||||||
ans=""
|
ans=""
|
||||||
while [ -z "${ans}" ]; do
|
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
|
done
|
||||||
printf "%80s\n\n" | tr ' ' '-'
|
printf "%80s\n\n" | tr ' ' '-'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue