diff options
author | Roy Marples <roy@marples.name> | 2008-04-29 10:25:45 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-04-29 10:25:45 +0000 |
commit | 5ba6f0a62817f6031936b8880a15c404840924bb (patch) | |
tree | ed204dc8379bc6088f743f480c14bf416fc0ded6 /init.d/Makefile | |
parent | 5a59542629084aee819576ba41af28bd525e856f (diff) |
We need to ensure that the init script started is correct, translating symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526.
Diffstat (limited to 'init.d/Makefile')
-rw-r--r-- | init.d/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init.d/Makefile b/init.d/Makefile index a9f62e25..b670eacb 100644 --- a/init.d/Makefile +++ b/init.d/Makefile @@ -3,7 +3,14 @@ SRCS= bootmisc.in fsck.in halt.sh.in hostname.in local.in localmount.in \ netmount.in root.in swap.in sysctl.in urandom.in BIN= ${OBJS} +INSTALLAFTER= _installafter +CLEANFILES+= net.lo +TARGETS+= net.lo + MK= ../mk include ${MK}/os.mk include Makefile.${OS} include ${MK}/scripts.mk + +_installafter: net.lo + ${INSTALL} -m ${BINMODE} net.lo ${DESTDIR}/${INITDIR}/${NET_LO} |