Remove /usr/local (and children) from the base distribution; we shouldn't

be creating directories or modifying permissions under there.

(/usr/local/* is still retained in various default PATHs, for convenience)
This commit is contained in:
lukem 2002-12-20 06:39:53 +00:00
parent a5424a9df1
commit ebdb5fe2ad
4 changed files with 4 additions and 71 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.373 2002/12/17 15:16:41 jdolecek Exp $
# $NetBSD: mi,v 1.374 2002/12/20 06:39:54 lukem Exp $
. base-sys-root
./altroot base-sys-root
./bin base-sys-root
@ -587,31 +587,6 @@
./usr/lkm/portal.o base-vfs-lkm
./usr/lkm/procfs.o base-vfs-lkm
./usr/lkm/umapfs.o base-vfs-lkm
./usr/local base-sys-usr
./usr/local/bin base-sys-usr
./usr/local/lib base-sys-usr
./usr/local/libdata base-sys-usr
./usr/local/libexec base-sys-usr
./usr/local/man base-sys-usr
./usr/local/man/cat1 base-sys-usr
./usr/local/man/cat2 base-sys-usr
./usr/local/man/cat3 base-sys-usr
./usr/local/man/cat4 base-sys-usr
./usr/local/man/cat5 base-sys-usr
./usr/local/man/cat6 base-sys-usr
./usr/local/man/cat7 base-sys-usr
./usr/local/man/cat8 base-sys-usr
./usr/local/man/cat9 base-sys-usr
./usr/local/man/man1 base-sys-usr
./usr/local/man/man2 base-sys-usr
./usr/local/man/man3 base-sys-usr
./usr/local/man/man4 base-sys-usr
./usr/local/man/man5 base-sys-usr
./usr/local/man/man6 base-sys-usr
./usr/local/man/man7 base-sys-usr
./usr/local/man/man8 base-sys-usr
./usr/local/man/man9 base-sys-usr
./usr/local/sbin base-sys-usr
./usr/mdec base-sys-usr
./usr/sbin base-sys-usr
./usr/sbin/ac base-sysutil-bin

View File

@ -1,4 +1,4 @@
# $NetBSD: NetBSD.dist,v 1.210 2002/12/17 15:16:40 jdolecek Exp $
# $NetBSD: NetBSD.dist,v 1.211 2002/12/20 06:39:53 lukem Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
/set type=dir uname=root gname=wheel mode=0755
@ -131,31 +131,6 @@
./usr/libexec/sm.bin
./usr/libexec/uucp
./usr/lkm
./usr/local
./usr/local/bin
./usr/local/lib
./usr/local/libdata
./usr/local/libexec
./usr/local/man
./usr/local/man/cat1
./usr/local/man/cat2
./usr/local/man/cat3
./usr/local/man/cat4
./usr/local/man/cat5
./usr/local/man/cat6
./usr/local/man/cat7
./usr/local/man/cat8
./usr/local/man/cat9
./usr/local/man/man1
./usr/local/man/man2
./usr/local/man/man3
./usr/local/man/man4
./usr/local/man/man5
./usr/local/man/man6
./usr/local/man/man7
./usr/local/man/man8
./usr/local/man/man9
./usr/local/sbin
./usr/mdec
./usr/pkg ignore optional
./usr/sbin

View File

@ -1,4 +1,4 @@
# $NetBSD: special,v 1.66 2002/10/09 14:55:54 elric Exp $
# $NetBSD: special,v 1.67 2002/12/20 06:39:53 lukem Exp $
# @(#)special 8.2 (Berkeley) 1/23/94
#
# Hand-crafted mtree specification for the dangerous files.
@ -280,9 +280,6 @@
./usr/lib type=dir mode=0755 ignore
./usr/libdata type=dir mode=0755 ignore
./usr/libexec type=dir mode=0755 ignore
./usr/local type=dir mode=0755
./usr/local/bin type=dir mode=0755 ignore
./usr/local/lib type=dir mode=0755 ignore
./usr/pkg type=dir mode=0755 ignore optional
./usr/sbin type=dir mode=0755 ignore
./usr/share type=dir mode=0755 ignore

View File

@ -1,4 +1,4 @@
.\" $NetBSD: hier.7,v 1.48 2002/12/19 23:04:32 lukem Exp $
.\" $NetBSD: hier.7,v 1.49 2002/12/20 06:39:55 lukem Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -452,20 +452,6 @@ system daemons \*[Am] system utilities (executed by other programs)
UUCP binaries and scripts (historically placed; to be moved)
.El
.Pp
.It Sy local/
local executables, libraries, etc.
.Pp
.Bl -tag -width "include/" -compact
.It Sy bin/
local binaries
.It Sy include/
local include files
.It Sy libexec/
local daemons
.It Sy libdata/
local data files
.El
.Pp
.It Sy mdec/
boot blocks, etc.
.It Sy pkg/