prepare: Create global var for tmp_sysroot_etc
authorLuke Yang <luke.jia.yang@gmail.com>
Thu, 13 Jun 2024 18:41:27 +0000 (14:41 -0400)
committerLuke Yang <luke.jia.yang@gmail.com>
Thu, 20 Jun 2024 19:09:11 +0000 (15:09 -0400)
commite99693c7871b593dd6703bd73344e80bb1d7e116
tree7d6ba32f0d9e26a9c0b5f9e761d2d2481c5eb56e
parentd528083cae3492f9b9424f3c9830869af7b4cbd0
prepare: Create global var for tmp_sysroot_etc

Coverity points out that ""/sysroot.tmp/etc"" could be a copy-paste
error. This is mistake from coverity, but to supress the warning,
we create a global var, tmp_sysroot_etc, which replaces all
instances of TMP_SYSROOT "/etc".
src/switchroot/ostree-prepare-root.c