aboutsummaryrefslogtreecommitdiffstats
path: root/sysvinit/0001-do-not-build-sulogin-on-archlinux-it-is-provided-by-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sysvinit/0001-do-not-build-sulogin-on-archlinux-it-is-provided-by-.patch')
-rw-r--r--sysvinit/0001-do-not-build-sulogin-on-archlinux-it-is-provided-by-.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/sysvinit/0001-do-not-build-sulogin-on-archlinux-it-is-provided-by-.patch b/sysvinit/0001-do-not-build-sulogin-on-archlinux-it-is-provided-by-.patch
new file mode 100644
index 0000000..4a7392f
--- /dev/null
+++ b/sysvinit/0001-do-not-build-sulogin-on-archlinux-it-is-provided-by-.patch
@@ -0,0 +1,35 @@
+From 251ed68a591cd869b4d5d15bcb7da1f24a865550 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= <maandree@operamail.com>
+Date: Tue, 5 Nov 2013 08:15:59 +0100
+Subject: [PATCH] do not build sulogin on archlinux, it is provided by
+ util-linux
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Mattias Andrée <maandree@operamail.com>
+---
+ src/Makefile | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/src/Makefile b/src/Makefile
+index 9e80533..1998d39 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -37,6 +37,13 @@ MAN1 += utmpdump.1 wall.1
+ MAN8 += sulogin.8 bootlogd.8
+ endif
+
++ifeq ($(DISTRO),archlinux)
++SBIN += bootlogd
++USRBIN += utmpdump wall
++MAN1 += utmpdump.1 wall.1
++MAN8 += bootlogd.8
++endif
++
+ ifeq ($(DISTRO),Debian)
+ CPPFLAGS+= -DACCTON_OFF
+ SBIN += sulogin bootlogd
+--
+1.8.4.2
+