Change /usr/libexec/ld-elf.so.1 to point at ../../libexec/ld-elf.so.1
instead of /libexec/ld-elf.so.1. Below in the Makefile we execute 'chflags noschg ${DESTDIR}/usr/libexec/ld-elf.so.1', which follows symlink and removes 'schg' flag from system's /libexec/ld-elf.so.1 instead of the one in DESTDIR. It is also more friendly to use replative paths in symlink in case of jail/chroot environments. Obtained from: WHEEL Systems MFC after: 2 weeks
This commit is contained in:
parent
f1e17e139d
commit
dee6306480
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243861
@ -27,7 +27,7 @@ LDFLAGS+= -nostdlib -e .rtld_start
|
|||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
INSTALLFLAGS= -C -b
|
INSTALLFLAGS= -C -b
|
||||||
PRECIOUSPROG=
|
PRECIOUSPROG=
|
||||||
BINDIR= /libexec
|
BINDIR= ../../libexec
|
||||||
SYMLINKS= ${BINDIR}/${PROG} /usr/libexec/${PROG}
|
SYMLINKS= ${BINDIR}/${PROG} /usr/libexec/${PROG}
|
||||||
MLINKS= rtld.1 ld-elf.so.1.1 \
|
MLINKS= rtld.1 ld-elf.so.1.1 \
|
||||||
rtld.1 ld.so.1
|
rtld.1 ld.so.1
|
||||||
|
Loading…
Reference in New Issue
Block a user