Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37600637
en ru br
ALT Linux repos
S:3.00-alt2

Group :: System/Configuration/Boot and Init
RPM: sysvinit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0007-ALT-Add-DISTRO-ALT-to-makefile.patch
Download


From 1660e7dd61ae9858a5d582ce76e5124d1b7bb005 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Thu, 16 Dec 2021 21:50:03 +0300
Subject: ALT: Add DISTRO=ALT to makefile
---
 src/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index 1b368dc..cb44fcd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -65,6 +65,14 @@ BIN	+= mountpoint
 MAN1	+= mountpoint.1
 endif
 
+ifeq ($(DISTRO),ALT)
+BIN    += mountpoint
+SBIN   += bootlogd
+USRBIN += wall
+MAN1   += mountpoint.1 wall.1
+MAN8   += bootlogd.8
+endif
+
 ID		= $(shell id -u)
 BIN_OWNER	= root
 BIN_GROUP	= root
@@ -208,7 +216,8 @@ install:	all
 		ln -sf halt $(ROOT)/sbin/reboot
 		ln -sf halt $(ROOT)/sbin/poweroff
 		ln -sf init $(ROOT)/sbin/telinit
-		ln -sf /sbin/killall5 $(ROOT)/bin/pidof
+		ln -sf killall5 $(ROOT)/sbin/pidof
+		ln -sf ../sbin/pidof $(ROOT)/bin/pidof
 		if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
 			ln -sf last $(ROOT)/usr/bin/lastb; \
 		fi
-- 
2.25.4
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin