summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.bz2
openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.zip
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 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- sysvinit-2.85/src/Makefile~install
++++ sysvinit-2.85/src/Makefile
+@@ -47,7 +47,15 @@
+ BIN_GROUP = root
+ BIN_COMBO = $(BIN_OWNER):$(BIN_GROUP)
+ INSTALL = install -o $(BIN_OWNER) -g $(BIN_GROUP)
+-MANDIR = /usr/share/man
++
++ROOT =
++bindir = /bin
++sbindir = /sbin
++usrbindir = /usr/bin
++usrbindir = /usr/bin
++includedir = /usr/include
++mandir = /usr/share/man
++
+
+ # Additional libs for GNU libc.
+ ifneq ($(wildcard /usr/lib/libcrypt.a),)
+@@ -110,32 +118,39 @@
+ distclean: clobber
+
+ install:
++ install -d $(ROOT)$(bindir)
+ for i in $(BIN); do \
+- $(INSTALL) -m 755 $$i $(ROOT)/bin/; \
++ $(INSTALL) -m 755 $$i $(ROOT)$(bindir)/; \
+ done
++ install -d $(ROOT)$(sbindir)
+ for i in $(SBIN); do \
+- $(INSTALL) -m 755 $$i $(ROOT)/sbin/; \
++ $(INSTALL) -m 755 $$i $(ROOT)$(sbindir)/; \
+ done
++ install -d $(ROOT)$(usrbindir)
+ for i in $(USRBIN); do \
+- $(INSTALL) -m 755 $$i $(ROOT)/usr/bin/; \
++ $(INSTALL) -m 755 $$i $(ROOT)$(usrbindir)/; \
+ done
+ # $(INSTALL) -m 755 etc/initscript.sample $(ROOT)/etc/
+- 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
+- if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
+- ln -sf last $(ROOT)/usr/bin/lastb; \
++ ln -sf halt $(ROOT)$(sbindir)/reboot
++ ln -sf halt $(ROOT)$(sbindir)/poweroff
++ ln -sf init $(ROOT)$(sbindir)/telinit
++ ln -sf ../sbin/killall5 $(ROOT)$(bindir)/pidof
++ if [ ! -f $(ROOT)$(usrbindir)/lastb ]; then \
++ ln -sf last $(ROOT)$(usrbindir)/lastb; \
+ fi
+- $(INSTALL) -m 644 initreq.h $(ROOT)/usr/include/
++ install -d $(ROOT)$(includedir)
++ $(INSTALL) -m 644 initreq.h $(ROOT)$(includedir)/
++ install -d $(ROOT)$(mandir)/man1 \
++ $(ROOT)$(mandir)/man5 \
++ $(ROOT)$(mandir)/man8
+ for i in $(MAN1); do \
+- $(INSTALL) -m 644 ../man/$$i $(ROOT)$(MANDIR)/man1/; \
++ $(INSTALL) -m 644 ../man/$$i $(ROOT)$(mandir)/man1/; \
+ done
+ for i in $(MAN5); do \
+- $(INSTALL) -m 644 ../man/$$i $(ROOT)$(MANDIR)/man5/; \
++ $(INSTALL) -m 644 ../man/$$i $(ROOT)$(mandir)/man5/; \
+ done
+ for i in $(MAN8); do \
+- $(INSTALL) -m 644 ../man/$$i $(ROOT)$(MANDIR)/man8/; \
++ $(INSTALL) -m 644 ../man/$$i $(ROOT)$(mandir)/man8/; \
+ done
+ ifeq ($(ROOT),)
+ #