From ca2cbf6d84dcc96845fcc6521aebe3b5076cdb32 Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Fri, 13 Jan 2023 12:55:10 +0100
Subject: change cmdline variable debvm.term to TERM

Jochen Sprickerhof found that systemd interprets the TERM variable
according to our intended meaning and applies it to pid 1. It doesn't
apply it to serial-getty, though so we keep that code for now.
---
 bin/debvm-run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'bin')

diff --git a/bin/debvm-run b/bin/debvm-run
index 839653c..6ed47c4 100755
--- a/bin/debvm-run
+++ b/bin/debvm-run
@@ -268,7 +268,7 @@ if test -z "$GRAPHICAL"; then
 		;;
 	esac
 	if test -t 0 && test -t 1 && test -n "$TERM"; then
-		KERNEL_CMDLINE="$KERNEL_CMDLINE debvm.term=$TERM"
+		KERNEL_CMDLINE="$KERNEL_CMDLINE TERM=$TERM"
 	fi
 fi
 
-- 
cgit v1.2.3