testing: Start a login shell in chroot script

This ensures we have the same environment (e.g. stuff from /etc/profile.d)
as when logging in via SSH later.
This commit is contained in:
Tobias Brunner
2025-09-18 11:13:32 +02:00
parent b998695344
commit 870aa75eed
+1 -1
View File
@@ -68,4 +68,4 @@ echo
fi
export debian_chroot="$1"
chroot $LOOPDIR /bin/bash -i
chroot $LOOPDIR /bin/bash -l