From: Bechir Mghirbi Date: Mon, 24 Jun 2019 08:53:05 +0000 (+0200) Subject: Append a new empty line to features' local template file when setting up AGL X-Git-Tag: 7.99.2~5 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=416600ed6dfd4462a3d8bea770e5fdf5e074ce2f;p=AGL%2Fmeta-agl.git Append a new empty line to features' local template file when setting up AGL A missing empty line at the end of a feature's local template file will lead to a ParseError error. This patchset will automatically append a new line at the end of the feature's local template file when setting up AGL. Bug-AGL: SPEC-2563 Signed-off-by: Bechir Mghirbi Change-Id: Ica9decdb0bda182de7e25ace4fca6a9f6f7db5ff --- diff --git a/scripts/.aglsetup_genconfig.bash b/scripts/.aglsetup_genconfig.bash index 1e8d4b6fe..6e091e2f1 100755 --- a/scripts/.aglsetup_genconfig.bash +++ b/scripts/.aglsetup_genconfig.bash @@ -215,6 +215,7 @@ function append_fragment() { echo "#" >>$basefile [[ -n "$label" ]] && echo "$label" >>$basefile [[ -f $f ]] && cat $f >>$basefile || true + echo "" >>$basefile echo "#" >>$basefile echo "# }" >>$basefile echo "# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #" >>$basefile