mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
Use absolute path for /usr/libexec/ld-elf.so.1 symlink.
Requested by: kan, kib Use -h flags for chflags, so we won't remove 'schg' flag from system's /libexec/ld-elf.so.1. MFC after: 2 weeks
This commit is contained in:
parent
c1e231bcbb
commit
456b64c443
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243864
@ -28,7 +28,7 @@ WARNS?= 2
|
||||
INSTALLFLAGS= -C -b
|
||||
PRECIOUSPROG=
|
||||
BINDIR= /libexec
|
||||
SYMLINKS= ../..${BINDIR}/${PROG} /usr/libexec/${PROG}
|
||||
SYMLINKS= ${BINDIR}/${PROG} /usr/libexec/${PROG}
|
||||
MLINKS= rtld.1 ld-elf.so.1.1 \
|
||||
rtld.1 ld.so.1
|
||||
|
||||
@ -62,7 +62,7 @@ SYMBOL_MAPS+= ${.CURDIR}/${RTLD_ARCH}/Symbol.map
|
||||
# Fixup the existing binary that's there so we can symlink over it.
|
||||
beforeinstall:
|
||||
.if exists(${DESTDIR}/usr/libexec/${PROG})
|
||||
-chflags noschg ${DESTDIR}/usr/libexec/${PROG}
|
||||
-chflags -h noschg ${DESTDIR}/usr/libexec/${PROG}
|
||||
.endif
|
||||
|
||||
.PATH: ${.CURDIR}/${RTLD_ARCH}
|
||||
|
Loading…
Reference in New Issue
Block a user