Skip to content

Commit dd6b1b0

Browse files
Merge pull request #1863 from larsewi/chroot_root
ENT-13189: Added root prefix when creating essential directories in chroot
2 parents 7286477 + c5f5e1b commit dd6b1b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-scripts/prepare-testmachine-chroot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fi
5555

5656
# Create and set permissions for essential directories inside chroot
5757
for d in tmp var/tmp run root; do
58-
sudo mkdir -p $d
58+
sudo mkdir -p "${CHROOT_ROOT}${d}"
5959
done
6060
sudo chmod 1777 "${CHROOT_ROOT}tmp"
6161
sudo chmod 1777 "${CHROOT_ROOT}var/tmp"

0 commit comments

Comments
 (0)