SHA256
1
0
forked from pool/systemd
systemd/0001-systemctl-enable-sysv-chkconfig-handling-for-openSUS.patch
Kay Sievers e349c64a46 Accepting request 73517 from home:fcrozat:systemd
- Add sysv chkconfig patch to be able to enable / disable sysv
  initscripts with systemctl.
- Ensure plymouth support is buildable conditionnally.

OBS-URL: https://build.opensuse.org/request/show/73517
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=152
2011-06-14 12:55:02 +00:00

26 lines
916 B
Diff

From ea4192a54fdbfebdec80f445d702625bc3412d7e Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat@suse.com>
Date: Wed, 8 Jun 2011 15:30:55 +0200
Subject: [PATCH] systemctl: enable sysv chkconfig handling for openSUSE.
---
src/systemctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/systemctl.c b/src/systemctl.c
index a82cce4..faca797 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -4089,7 +4089,7 @@ static int install_info_apply(const char *verb, LookupPaths *paths, InstallInfo
}
if (!f) {
-#if (defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA)) || defined(TARGET_MEEGO) && defined (HAVE_SYSV_COMPAT)
+#if (defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) || defined(TARGET_SUSE)) || defined(TARGET_MEEGO) && defined (HAVE_SYSV_COMPAT)
if (endswith(i->name, ".service")) {
char *sysv;
--
1.7.3.4