From 53bdb7c186cc83fdbd2eb71677c18c26954fbec9 Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Mon, 28 Feb 2011 16:02:27 +0300 Subject: [PATCH] build-sys: update ALTLinux support Please apply patch for update ALTLinux support. --- configure.ac | 2 ++ units/getty@.service.m4 | 3 +++ units/serial-getty@.service.m4 | 3 +++ 3 files changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index ce5772d55..55a81abc6 100644 --- a/configure.ac +++ b/configure.ac @@ -368,8 +368,10 @@ case $with_distro in altlinux) SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d SYSTEM_SYSVRCND_PATH=/etc/rc.d + SPECIAL_SYSLOG_SERVICE=syslogd.service AC_DEFINE(TARGET_ALTLINUX, [], [Target is ALTLinux]) M4_DISTRO_FLAG=-DTARGET_ALTLINUX=1 + have_plymouth=true ;; other) AS_IF([test "x$with_syslog_service" = "x"], diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index a016ba2c6..d28291227 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -18,6 +18,9 @@ After=rc-local.service m4_ifdef(`TARGET_FRUGALWARE', After=local.service )m4_dnl +m4_ifdef(`TARGET_ALTLINUX', +After=rc-local.service +)m4_dnl # If additional gettys are spawned during boot then we should make # sure that this is synchronized before getty.target, even though diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index 82414ea66..2b3c8edd5 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -18,6 +18,9 @@ After=rc-local.service m4_ifdef(`TARGET_FRUGALWARE', After=local.service )m4_dnl +m4_ifdef(`TARGET_ALTLINUX', +After=rc-local.service +)m4_dnl # If additional gettys are spawned during boot then we should make # sure that this is synchronized before getty.target, even though -- 2.30.2