Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix weston failed
[AGL/meta-agl.git]
/
templates
/
base
/
99_setup_EULAconf.sh
diff --git
a/templates/base/99_setup_EULAconf.sh
b/templates/base/99_setup_EULAconf.sh
index
fe65f4e
..
351401d
100644
(file)
--- a/
templates/base/99_setup_EULAconf.sh
+++ b/
templates/base/99_setup_EULAconf.sh
@@
-2,7
+2,11
@@
case "$EULA_ACCEPT" in
1)
echo "" >> $BUILDDIR/conf/local.conf
echo "# EULA" >> $BUILDDIR/conf/local.conf
1)
echo "" >> $BUILDDIR/conf/local.conf
echo "# EULA" >> $BUILDDIR/conf/local.conf
- echo "ACCEPT_EULA_$MACHINE = \"1\"" >> $BUILDDIR/conf/local.conf
+ if test x"" = x"$EULA_FLAG_NAME"; then
+ echo "ACCEPT_EULA_$MACHINE = \"1\"" >> $BUILDDIR/conf/local.conf
+ else
+ echo "$EULA_FLAG_NAME = \"1\"" >> $BUILDDIR/conf/local.conf
+ fi
;;
*)
;;
;;
*)
;;