Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/lib/common.sh
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2024-05-18 02:00:19 +0200
committerChristian Heusel <christian@heusel.eu>2024-05-22 12:33:09 +0200
commit0e2b16b0ac63e33e32a6cb889bc4b047e0d451e9 (patch)
treec4683c05e5b86de28c9caf8b25ea6675466e4cb3 /src/lib/common.sh
parent6f0a8c345d1cd6737f709b9f7fffd18895e682ed (diff)
fix: disable systemd-nspawn terminal coloring
Systemd 256 introduces functionality which colors the terminal background on systemd-nspawn invocations which makes the pkgctl output look weird. Disable this bevaviour for pkgctl, so it stays active for arch-nspawn (for now). Component: pkgctl Signed-off-by: Christian Heusel <christian@heusel.eu>
Diffstat (limited to 'src/lib/common.sh')
-rw-r--r--src/lib/common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/common.sh b/src/lib/common.sh
index 641dea5..b087bb1 100644
--- a/src/lib/common.sh
+++ b/src/lib/common.sh
@@ -15,6 +15,9 @@ $DEVTOOLS_INCLUDE_COMMON_SH
# Avoid any encoding problems
export LANG=C.UTF-8
+# Avoid systemd trying to color the terminal on systemd-nspawn
+export SYSTEMD_TINT_BACKGROUND=no
+
# Set buildtool properties
export BUILDTOOL=devtools
export BUILDTOOLVER=@buildtoolver@