summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/container-cross-install.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/container-cross-install.bbclass b/classes/container-cross-install.bbclass
index d365d7a1..d18c6436 100644
--- a/classes/container-cross-install.bbclass
+++ b/classes/container-cross-install.bbclass
@@ -830,7 +830,8 @@ Or remove it from BUNDLED_CONTAINERS if not needed.
830 VRUNNER_CMD="${VRUNNER_CMD} -- ${DOCKER_CONTAINERS}" 830 VRUNNER_CMD="${VRUNNER_CMD} -- ${DOCKER_CONTAINERS}"
831 831
832 bbnote "Running batch import for Docker containers..." 832 bbnote "Running batch import for Docker containers..."
833 TMPDIR="${WORKDIR}" eval ${VRUNNER_CMD} 833 # Prepend native sysroot to PATH so vrunner finds the correct QEMU (with virtfs support)
834 PATH="${STAGING_BINDIR_NATIVE}:${PATH}" TMPDIR="${WORKDIR}" eval ${VRUNNER_CMD}
834 835
835 if [ $? -ne 0 ]; then 836 if [ $? -ne 0 ]; then
836 bbfatal "Docker batch import failed" 837 bbfatal "Docker batch import failed"
@@ -894,7 +895,8 @@ Or remove it from BUNDLED_CONTAINERS if not needed.
894 VRUNNER_CMD="${VRUNNER_CMD} -- ${PODMAN_CONTAINERS}" 895 VRUNNER_CMD="${VRUNNER_CMD} -- ${PODMAN_CONTAINERS}"
895 896
896 bbnote "Running batch import for Podman containers..." 897 bbnote "Running batch import for Podman containers..."
897 TMPDIR="${WORKDIR}" eval ${VRUNNER_CMD} 898 # Prepend native sysroot to PATH so vrunner finds the correct QEMU (with virtfs support)
899 PATH="${STAGING_BINDIR_NATIVE}:${PATH}" TMPDIR="${WORKDIR}" eval ${VRUNNER_CMD}
898 900
899 if [ $? -ne 0 ]; then 901 if [ $? -ne 0 ]; then
900 bbfatal "Podman batch import failed" 902 bbfatal "Podman batch import failed"