From 6e4ac88443431986a5e9edd993d0947402929f2c Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 20 May 2020 16:33:36 +0200 Subject: [PATCH] Set TERM within the systemd-nspawn container in makechrootpkg This is required by WINE to prevent ``` unknown: I need something more specific ``` --- makechrootpkg.in | 1 + 1 file changed, 1 insertion(+) diff --git a/makechrootpkg.in b/makechrootpkg.in index b77861c..a3d6fa0 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -363,6 +363,7 @@ download_sources prepare_chroot if arch-nspawn $cache_dir "$copydir" \ + --setenv=TERM=xterm \ --bind="${PWD//:/\\:}:/startdir" \ --bind="${SRCDEST//:/\\:}:/srcdest" \ "${bindmounts_ro[@]}" "${bindmounts_rw[@]}" \