]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Start a login shell in chroot script
authorTobias Brunner <tobias@strongswan.org>
Fri, 15 Aug 2025 12:34:17 +0000 (14:34 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 18 Sep 2025 09:13:32 +0000 (11:13 +0200)
This ensures we have the same environment (e.g. stuff from /etc/profile.d)
as when logging in via SSH later.

testing/scripts/chroot

index 60a75df7e70b6cee850a9e1a4adbbb097bd9ebc9..b686abd972bb7d272335a1a40af722f4a3bec3f9 100755 (executable)
@@ -68,4 +68,4 @@ echo
 fi
 
 export debian_chroot="$1"
-chroot $LOOPDIR /bin/bash -i
+chroot $LOOPDIR /bin/bash -l