Subject: Re: lfs_cleanerd(8) needs /usr
To: None <current-users@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 08/29/2007 23:48:39
Hello,
At Wed, 22 Aug 2007 17:18:50 +0900,
I wrote:
> The lfs_cleanerd(8) needs /usr to run because it's using
> /usr/libexec/ld.elf_so. I think it should use /libexec/ld.elf_so.
> Is the following patch correct?
>
> Index: bsd.shlib.mk
> ===================================================================
> RCS file: /cvsroot/src/share/mk/bsd.shlib.mk,v
> retrieving revision 1.5
> diff -u -r1.5 bsd.shlib.mk
> --- bsd.shlib.mk 11 Nov 2006 14:41:20 -0000 1.5
> +++ bsd.shlib.mk 22 Aug 2007 08:02:42 -0000
> @@ -30,7 +30,8 @@
> .endif
>
> .if ${MKDYNAMICROOT} == "no" || \
> - (${BINDIR:Ux} != "/bin" && ${BINDIR:Ux} != "/sbin")
> + (${BINDIR:Ux} != "/bin" && ${BINDIR:Ux} != "/sbin" && \
> + ${BINDIR:Ux} != "/libexec" )
> SHLINKDIR?= /usr/libexec
> .else
> SHLINKDIR?= /libexec
There are no comments about the patch for a week.
I'll commit it soon and send a pull-up request.
best regards.
--
Kouichirou Hiratsuka
hira@po6.nsk.ne.jp