From aba9e12e719375d7032d7b88268dbea5036d6035 Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Sun, 23 Jun 2024 06:29:44 +0200
Subject: debvm-create: do install login

login has become non-essential and autologin simply respawns
indefinitely when login is not installed. We better install it
explicitly and that works on all releases. If we are only interested in
logging in via ssh (and thus --skip=autologin), no login package is
needed.
---
 bin/debvm-create | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'bin/debvm-create')

diff --git a/bin/debvm-create b/bin/debvm-create
index 526fc89..0fffd70 100755
--- a/bin/debvm-create
+++ b/bin/debvm-create
@@ -400,7 +400,9 @@ if ! check_skip usrmerge; then
 fi
 
 if ! check_skip autologin; then
-	set -- "--customize-hook=$SHARE_DIR/customize-autologin.sh" "$@"
+	set -- \
+		--include=login \
+		"--customize-hook=$SHARE_DIR/customize-autologin.sh" "$@"
 fi
 
 if test "$(id -u)" = 0; then
-- 
cgit v1.2.3