Dash:
[t2.git] / package / base / sysvinit / distro.patch
blobe03407d5e4475ed35c37af61c334b60fa322cb9e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../sysvinit/distro.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- sysvinit-2.86/src/Makefile 2006-11-13 18:23:34.000000000 -0800
18 +++ sysvinit-2.86/src/Makefile 2006-11-13 19:36:36.000000000 -0800
19 @@ -23,6 +23,7 @@
20 MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
21 MAN8 += shutdown.8 telinit.8
23 +# Unused in T2 but defined by default
24 ifeq ($(DISTRO),)
25 BIN += mountpoint
26 SBIN += sulogin bootlogd
27 @@ -31,6 +32,35 @@
28 MAN8 += sulogin.8 bootlogd.8
29 endif
31 +# Clean Setup for default T2 *These override*
32 +ifeq ($(DISTRO),T2)
33 +BIN +=
34 +SBIN = sulogin init halt shutdown runlevel killall5
35 +USRBIN = last mesg
36 +MAN1 = last.1 lastb.1 mesg.1
37 +MAN5 = initscript.5 inittab.5
38 +MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8 shutdown.8 telinit.8 sulogin.8
39 +endif
41 +# Clean Setup for default T2 without sysV init *These override*
42 +ifeq ($(DISTRO),T2-no-init)
43 +BIN +=
44 +SBIN = sulogin halt shutdown killall5
45 +USRBIN = last mesg
46 +MAN1 = last.1 lastb.1 mesg.1
47 +MAN5 = initscript.5 inittab.5
48 +MAN8 = halt.8 killall5.8 pidof.8 poweroff.8 reboot.8 shutdown.8 telinit.8 sulogin.8
49 +endif
51 +# Clean Setup for Familiar
52 +ifeq ($(DISTRO),familiar)
53 +BIN += mountpoint
54 +SBIN = bootlogd init runlevel
55 +USRBIN += wall
56 +MAN1 += mountpoint.1 wall.1
57 +MAN8 = bootlogd.8
58 +endif
60 ifeq ($(DISTRO),Debian)
61 BIN += mountpoint
62 SBIN += sulogin bootlogd