From 2be31e6c25c075a0d6e9e5960069b125f0b1d51e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 2 Jul 2012 19:14:10 +0200 Subject: [PATCH] systemd: do not clear screen in agetty. --- .../systemd/patches/getty_service_void.patch | 22 +++++++++++++++++++ srcpkgs/systemd/template | 6 +++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/systemd/patches/getty_service_void.patch diff --git a/srcpkgs/systemd/patches/getty_service_void.patch b/srcpkgs/systemd/patches/getty_service_void.patch new file mode 100644 index 00000000000..f9d55c88cb9 --- /dev/null +++ b/srcpkgs/systemd/patches/getty_service_void.patch @@ -0,0 +1,22 @@ +Void linux specific patch: do not clear screen in getty. + +--- units/getty@.service.m4.orig 2012-07-02 18:53:11.843700293 +0200 ++++ units/getty@.service.m4 2012-07-02 18:53:29.186280029 +0200 +@@ -41,7 +41,7 @@ ConditionPathExists=/dev/tty0 + + [Service] + Environment=TERM=linux +-ExecStart=-/sbin/agetty %I 38400 ++ExecStart=-/sbin/agetty --noclear %I 38400 + Type=idle + Restart=always + RestartSec=0 +@@ -49,7 +49,7 @@ UtmpIdentifier=%I + TTYPath=/dev/%I + TTYReset=yes + TTYVHangup=yes +-TTYVTDisallocate=yes ++#TTYVTDisallocate=yes + KillMode=process + IgnoreSIGPIPE=no + diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index f9cc47aa548..56541ecf0b0 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,7 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=185 -revision=2 +revision=3 distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz" build_style=gnu-configure configure_args="--with-distro=other --with-rootprefix= --enable-plymouth @@ -10,7 +10,9 @@ configure_args="--with-distro=other --with-rootprefix= --enable-plymouth --with-usb-ids-path=/usr/share/hwdata/usb.ids --with-pci-ids-path=/usr/share/hwdata/pci.ids" depends="dbus run-parts kbd>=1.15.3_5 systemd-libs>=$version udev>=$version" -makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel libblkid-devel glib-devel gobject-introspection" +makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel +dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel +libblkid-devel glib-devel gobject-introspection" subpackages="udev libudev libudev-devel libgudev libgudev-devel systemd-analyze systemd-devel systemd-libs" short_desc="A system and service manager for Linux" maintainer="Juan RP "