Skip to content

Commit 2156f6b

Browse files
committed
fix(sshd): ensure /var/empty exists for openssh chroot sandbox in PRoot-Distro
1 parent 1e0f546 commit 2156f6b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

machines/aarch64/android/common.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
if [ ! -f "$HOST_KEY" ]; then
2121
${pkgs.openssh}/bin/ssh-keygen -t ed25519 -f "$HOST_KEY" -N ""
2222
fi
23+
$DRY_RUN_CMD mkdir -p /var/empty
2324
'';
2425

2526
home.file.".termux/boot/start-sshd.sh" = {

0 commit comments

Comments
 (0)