diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-19 22:06:26 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-22 09:09:30 +0200 |
commit | 1531413efaf2e6b7e278bf8d4f53cc61f6559327 (patch) | |
tree | ecc50f77bdda66f54d527711c05b6fb77c692d21 /mkosi.images | |
parent | mkosi: Update to latest (diff) | |
download | systemd-1531413efaf2e6b7e278bf8d4f53cc61f6559327.tar.xz systemd-1531413efaf2e6b7e278bf8d4f53cc61f6559327.zip |
mkosi: Make sure serial console line wrapping is re-enabled
Diffstat (limited to 'mkosi.images')
-rwxr-xr-x | mkosi.images/system/mkosi.postinst.chroot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mkosi.images/system/mkosi.postinst.chroot b/mkosi.images/system/mkosi.postinst.chroot index d1052694aa..8a00ca9f68 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}') |