Skip to content

Commit c5f5e1b

Browse files
committed
Added root prefix when creating essential directories in chroot
Ticket: ENT-13189 Signed-off-by: Lars Erik Wik <[email protected]>
1 parent 7286477 commit c5f5e1b

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)