pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

Konstantin Belousov kostikbel at gmail.com
Wed May 9 17:39:42 UTC 2018


On Wed, May 09, 2018 at 06:44:09PM +0200, Trond Endrest?l wrote:
> On Wed, 9 May 2018 16:50+0300, Konstantin Belousov wrote:
> 
> > On Wed, May 09, 2018 at 02:49:34PM +0200, Trond Endrest?l wrote:
> > > I noticed two new entries in / after running make installworld today 
> > > using amd64 stable/11 r333390:
> > > 
> > > # LANG=en_US.UTF-8 ls -lT /pdeathsig_helper /.debug/pdeathsig_helper.debug
> > > -r--r--r--  1 root  wheel  7528 May  9 12:06:58 2018 /.debug/pdeathsig_helper.debug
> > > -r-xr-xr-x  1 root  wheel  8576 May  9 12:06:58 2018 /pdeathsig_helper
> > > 
> > > I'm sure these belong in /usr/tests/sys/kern. This must have happened 
> > > in r333162 or shortly after.
> > > 
> > > See PR 228018, of which I hijacked.
> > 
> > Can you try this ?
> > 
> > Index: tests/sys/kern/Makefile
> > ===================================================================
> > --- tests/sys/kern/Makefile	(revision 333400)
> > +++ tests/sys/kern/Makefile	(working copy)
> > @@ -4,6 +4,7 @@
> >  .PATH:		${SRCTOP}/sys/kern
> >  
> >  TESTSDIR=	${TESTSBASE}/sys/kern
> > +BINDIR=		${TESTDIR}
There is a type, it should be TESTSDIR.

Index: tests/sys/kern/Makefile
===================================================================
--- tests/sys/kern/Makefile	(revision 333400)
+++ tests/sys/kern/Makefile	(working copy)
@@ -4,6 +4,7 @@
 .PATH:		${SRCTOP}/sys/kern
 
 TESTSDIR=	${TESTSBASE}/sys/kern
+BINDIR=		${TESTSDIR}
 
 ATF_TESTS_C+=	kern_copyin
 ATF_TESTS_C+=	kern_descrip_test


More information about the freebsd-stable mailing list