diff options
author | vasyl <vasyl.vavrychuk@opensynergy.com> | 2021-06-14 20:39:50 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-01-17 15:51:37 +0000 |
commit | 94062ada71f1e3658dde8ff8758416ec67464016 (patch) | |
tree | 4f91b9fe34d9c3b2908293ab16f077a04ef53e64 /meta-agl-core/recipes-core/systemd/systemd_%.bbappend | |
parent | efaf2d9d5c04c2be60bd2e4a57e3ba21f6130b15 (diff) |
aglsetup: Fix append_fragment fails with heredocs on Ubuntu 21.04.koi
Looks like bash creates temporary file for heredocs and passes fd to
deleted file to command that use heredocs. Therefore, it is better not
to use '[[ -f /dev/stdin ]]' in case of heredocs.
Replaced it with more relaxed condition.
Bug-AGL: SPEC-3990
Change-Id: Ib68d1510dd6899b0f60b207071b222ef1933bf77
Signed-off-by: vasyl <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26428
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit fac66e3b82213a2147edca7212ca3c0121e2b250)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27020
Diffstat (limited to 'meta-agl-core/recipes-core/systemd/systemd_%.bbappend')
0 files changed, 0 insertions, 0 deletions