From: Daan De Meyer Date: Fri, 19 Apr 2024 20:06:26 +0000 (+0200) Subject: mkosi: Make sure serial console line wrapping is re-enabled X-Git-Tag: v256-rc1~89^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1531413efaf2e6b7e278bf8d4f53cc61f6559327;p=thirdparty%2Fsystemd.git mkosi: Make sure serial console line wrapping is re-enabled --- 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}')