diff options
author | Bill Fenner <fenner@FreeBSD.org> | 2001-10-06 05:45:30 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 2001-10-06 05:45:30 +0000 |
commit | 9d596c885fe407216ad1d01db7c3fba28c0de0e3 (patch) | |
tree | 3baa85ac7717eb521a98063bb0f53394f20f1e91 /emulators/linux_base-7 | |
parent | Run as drweb user, not as root (diff) |
Add full path to sysctl; not everyone has /sbin in their PATH. (If we
still support systems where sysctl is in /usr/bin then this needs to be
fixed.)
Noticed by: distfile survey
Diffstat (limited to 'emulators/linux_base-7')
-rw-r--r-- | emulators/linux_base-7/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emulators/linux_base-7/Makefile b/emulators/linux_base-7/Makefile index c161ef88ede9..7c218442a82a 100644 --- a/emulators/linux_base-7/Makefile +++ b/emulators/linux_base-7/Makefile @@ -108,7 +108,7 @@ BRAND_FILES= bin/rpm sbin/ldconfig sbin/sln FALLBACK_ELF_MIB= kern.fallback_elf_brand LINUX_ELF= 3 -PREVIOUS_ELF!= sysctl -n ${FALLBACK_ELF_MIB} +PREVIOUS_ELF!= /sbin/sysctl -n ${FALLBACK_ELF_MIB} do-patch: @${DO_NADA} @@ -132,7 +132,7 @@ do-install: # Install all packages. Ignore dependencies just like the Red Hat installer. # Also, set the ELF fallback brand to Linux, so that we don't have to do # anything special to run staticly linked binaries. - @sysctl -w ${FALLBACK_ELF_MIB}=${LINUX_ELF} + @/sbin/sysctl -w ${FALLBACK_ELF_MIB}=${LINUX_ELF} @for R in ${DISTFILES}; do \ ${ECHO} $$R; \ ${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \ @@ -146,7 +146,7 @@ do-install: ${ECHO} $$R; \ ${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \ done - @sysctl -w ${FALLBACK_ELF_MIB}=${PREVIOUS_ELF} + @/sbin/sysctl -w ${FALLBACK_ELF_MIB}=${PREVIOUS_ELF} # # Install yp.conf as a hint to NIS users # |