source:
patches/sysvinit-2.88dsf-tools_updates-1.patch@
d4f9e43
Last change on this file since d4f9e43 was 0e9dcd5, checked in by , 11 years ago | |
---|---|
|
|
File size: 2.6 KB |
-
sysvinit-2.88dsf
Submitted By: William Harrington (kb0iic at cross-lfs dot org) Date: 2014-05-16 Initial Package Version: 2.88dsf Origin: Idea for cleaning up boot chapter by Chris Staub Upstream Status: Not Applied - CLFS Specific Description: Reduces ${CLFS}/ pollution by using ${CLFS}/tools as much as possible. diff -Naur sysvinit-2.88dsf.orig/src/Makefile sysvinit-2.88dsf/src/Makefile
old new 16 16 # For some known distributions we do not build all programs, otherwise we do. 17 17 BIN = 18 18 SBIN = init halt shutdown runlevel killall5 fstab-decode 19 USRBIN = last mesg20 19 21 MAN1 = last.1 lastb.1 mesg.122 20 MAN5 = initscript.5 inittab.5 23 21 MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8 24 22 MAN8 += shutdown.8 telinit.8 fstab-decode.8 25 23 26 24 ifeq ($(DISTRO),) 27 BIN += mountpoint 28 SBIN += sulogin bootlogd 29 USRBIN += utmpdump wall 30 MAN1 += utmpdump.1 mountpoint.1 wall.1 31 MAN8 += sulogin.8 bootlogd.8 25 SBIN += bootlogd 26 MAN8 += bootlogd.8 32 27 endif 33 28 34 29 ifeq ($(DISTRO),Debian) 35 30 CPPFLAGS+= -DACCTON_OFF 36 BIN += mountpoint 37 SBIN += sulogin bootlogd 38 MAN1 += mountpoint.1 39 MAN8 += sulogin.8 bootlogd.8 31 SBIN += bootlogd 32 MAN8 += bootlogd.8 40 33 endif 41 34 42 35 ifeq ($(DISTRO),Owl) … … 46 39 47 40 ifeq ($(DISTRO),SuSE) 48 41 CPPFLAGS+= -DUSE_SYSFS -DSANE_TIO -DSIGINT_ONLYONCE -DUSE_ONELINE 49 BIN += mountpoint 50 SBIN += sulogin 51 USRBIN += utmpdump 52 MAN1 += utmpdump.1 mountpoint.1 53 MAN8 += sulogin.8 42 SBIN += 43 MAN8 += 54 44 endif 55 45 56 46 ID = $(shell id -u) … … 78 68 endif 79 69 80 70 # Additional libs for GNU libc. 81 ifneq ($(wildcard / usr/lib*/libcrypt.a),)71 ifneq ($(wildcard /tools/lib*/libcrypt.a),) 82 72 SULOGINLIBS += -lcrypt 83 73 endif 84 74 … … 96 86 97 87 last: last.o oldutmp.h 98 88 99 mesg: mesg.o100 89 101 mountpoint: mountpoint.o102 90 103 utmpdump: utmpdump.o104 91 105 92 runlevel: runlevel.o 106 93 -
sysvinit-2.88dsf
diff -Naur sysvinit-2.88dsf.orig/src/paths.h sysvinit-2.88dsf/src/paths.h
old new 26 26 #define CONSOLE "/dev/console" /* Logical system console */ 27 27 #define SECURETTY "/etc/securetty" /* List of root terminals */ 28 28 #define SDALLOW "/etc/shutdown.allow" /* Users allowed to shutdown */ 29 #define INITTAB "/ etc/inittab" /* Location of inittab */29 #define INITTAB "/tools/etc/inittab" /* Location of inittab */ 30 30 #define INIT "/sbin/init" /* Location of init itself. */ 31 31 #define NOLOGIN "/etc/nologin" /* Stop user logging in. */ 32 32 #define FASTBOOT "/fastboot" /* Enable fast boot. */
Note:
See TracBrowser
for help on using the repository browser.