From 1531413efaf2e6b7e278bf8d4f53cc61f6559327 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 19 Apr 2024 22:06:26 +0200 Subject: [PATCH] mkosi: Make sure serial console line wrapping is re-enabled --- mkosi.images/system/mkosi.postinst.chroot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mkosi.images/system/mkosi.postinst.chroot b/mkosi.images/system/mkosi.postinst.chroot index d1052694aa7..8a00ca9f688 100755 --- a/mkosi.images/system/mkosi.postinst.chroot +++ b/mkosi.images/system/mkosi.postinst.chroot @@ -2,6 +2,10 @@ # SPDX-License-Identifier: LGPL-2.1-or-later set -e +# Make sure serial console line wrapping is re-enabled as qemu's seabios firmware disables serial console +# line-wrapping on boot. +echo "tput smam || :" >>/etc/profile + if [ -n "$SANITIZERS" ]; then LD_PRELOAD=$(ldd /usr/lib/systemd/systemd | grep libasan.so | awk '{print $3}') -- 2.47.3