summaryrefslogtreecommitdiffstats
path: root/meta/packages/sysvinit/sysvinit-2.86/install.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/sysvinit/sysvinit-2.86/install.patch
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/sysvinit/sysvinit-2.86/install.patch')
-rw-r--r--meta/packages/sysvinit/sysvinit-2.86/install.patch77
1 files changed, 77 insertions, 0 deletions
diff --git a/meta/packages/sysvinit/sysvinit-2.86/install.patch b/meta/packages/sysvinit/sysvinit-2.86/install.patch
new file mode 100644
index 0000000000..01c1367c03
--- /dev/null
+++ b/meta/packages/sysvinit/sysvinit-2.86/install.patch
@@ -0,0 +1,77 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- sysvinit-2.85/src/Makefile~install
7+++ sysvinit-2.85/src/Makefile
8@@ -47,7 +47,15 @@
9 BIN_GROUP = root
10 BIN_COMBO = $(BIN_OWNER):$(BIN_GROUP)
11 INSTALL = install -o $(BIN_OWNER) -g $(BIN_GROUP)
12-MANDIR = /usr/share/man
13+
14+ROOT =
15+bindir = /bin
16+sbindir = /sbin
17+usrbindir = /usr/bin
18+usrbindir = /usr/bin
19+includedir = /usr/include
20+mandir = /usr/share/man
21+
22
23 # Additional libs for GNU libc.
24 ifneq ($(wildcard /usr/lib/libcrypt.a),)
25@@ -110,32 +118,39 @@
26 distclean: clobber
27
28 install:
29+ install -d $(ROOT)$(bindir)
30 for i in $(BIN); do \
31- $(INSTALL) -m 755 $$i $(ROOT)/bin/; \
32+ $(INSTALL) -m 755 $$i $(ROOT)$(bindir)/; \
33 done
34+ install -d $(ROOT)$(sbindir)
35 for i in $(SBIN); do \
36- $(INSTALL) -m 755 $$i $(ROOT)/sbin/; \
37+ $(INSTALL) -m 755 $$i $(ROOT)$(sbindir)/; \
38 done
39+ install -d $(ROOT)$(usrbindir)
40 for i in $(USRBIN); do \
41- $(INSTALL) -m 755 $$i $(ROOT)/usr/bin/; \
42+ $(INSTALL) -m 755 $$i $(ROOT)$(usrbindir)/; \
43 done
44 # $(INSTALL) -m 755 etc/initscript.sample $(ROOT)/etc/
45- ln -sf halt $(ROOT)/sbin/reboot
46- ln -sf halt $(ROOT)/sbin/poweroff
47- ln -sf init $(ROOT)/sbin/telinit
48- ln -sf ../sbin/killall5 $(ROOT)/bin/pidof
49- if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
50- ln -sf last $(ROOT)/usr/bin/lastb; \
51+ ln -sf halt $(ROOT)$(sbindir)/reboot
52+ ln -sf halt $(ROOT)$(sbindir)/poweroff
53+ ln -sf init $(ROOT)$(sbindir)/telinit
54+ ln -sf ../sbin/killall5 $(ROOT)$(bindir)/pidof
55+ if [ ! -f $(ROOT)$(usrbindir)/lastb ]; then \
56+ ln -sf last $(ROOT)$(usrbindir)/lastb; \
57 fi
58- $(INSTALL) -m 644 initreq.h $(ROOT)/usr/include/
59+ install -d $(ROOT)$(includedir)
60+ $(INSTALL) -m 644 initreq.h $(ROOT)$(includedir)/
61+ install -d $(ROOT)$(mandir)/man1 \
62+ $(ROOT)$(mandir)/man5 \
63+ $(ROOT)$(mandir)/man8
64 for i in $(MAN1); do \
65- $(INSTALL) -m 644 ../man/$$i $(ROOT)$(MANDIR)/man1/; \
66+ $(INSTALL) -m 644 ../man/$$i $(ROOT)$(mandir)/man1/; \
67 done
68 for i in $(MAN5); do \
69- $(INSTALL) -m 644 ../man/$$i $(ROOT)$(MANDIR)/man5/; \
70+ $(INSTALL) -m 644 ../man/$$i $(ROOT)$(mandir)/man5/; \
71 done
72 for i in $(MAN8); do \
73- $(INSTALL) -m 644 ../man/$$i $(ROOT)$(MANDIR)/man8/; \
74+ $(INSTALL) -m 644 ../man/$$i $(ROOT)$(mandir)/man8/; \
75 done
76 ifeq ($(ROOT),)
77 #