Rework things to also update the remote output configuration
fragment based on the value of TRANSMITTER_OUTPUT_HOST. This
helps when using different IP addresses for e.g. the KVM demo
configuration.
Bug-AGL: SPEC-4618
Change-Id: I198ff3e6a30b3968b4749998354a39325c088933
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit
39def8ebd98c98e67304517ab118f9bde4cdf8e7)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28415
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
file://hdmi-a-1-90.cfg \
file://hdmi-a-1-180.cfg \
file://hdmi-a-1-270.cfg \
file://hdmi-a-1-90.cfg \
file://hdmi-a-1-180.cfg \
file://hdmi-a-1-270.cfg \
- file://remote-output.cfg \
+ file://remote-output.cfg.in \
file://transmitter-output.cfg.in \
file://virtual-0.cfg \
file://virtual-90.cfg \
file://transmitter-output.cfg.in \
file://virtual-0.cfg \
file://virtual-90.cfg \
-e "s#host=.*#host=${TRANSMITTER_OUTPUT_HOST}#" \
-e "s#port=.*#port=${TRANSMITTER_OUTPUT_PORT}#" \
${WORKDIR}/transmitter-output.cfg.in > ${WORKDIR}/transmitter-output.cfg
-e "s#host=.*#host=${TRANSMITTER_OUTPUT_HOST}#" \
-e "s#port=.*#port=${TRANSMITTER_OUTPUT_PORT}#" \
${WORKDIR}/transmitter-output.cfg.in > ${WORKDIR}/transmitter-output.cfg
+ sed -e "s#host=.*#host=${TRANSMITTER_OUTPUT_HOST}#" \
+ -e "s#port=.*#port=${TRANSMITTER_OUTPUT_PORT}#" \
+ ${WORKDIR}/remote-output.cfg.in > ${WORKDIR}/remote-output.cfg
# and a corresponding landscape-inverted that is 180 degrees
# rotated.
rm -f ${WORKDIR}/weston.ini.landscape
# and a corresponding landscape-inverted that is 180 degrees
# rotated.
rm -f ${WORKDIR}/weston.ini.landscape
+ rm -f ${WORKDIR}/weston.ini.landscape-inverted
for F in ${WESTON_FRAGMENTS}; do
INVF=$F
if echo $F | grep '^hdmi-a-1-\(90\|270\)$'; then
for F in ${WESTON_FRAGMENTS}; do
INVF=$F
if echo $F | grep '^hdmi-a-1-\(90\|270\)$'; then