summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-07-16 06:32:28 +0000
committerobrien <obrien@FreeBSD.org>2000-07-16 06:32:28 +0000
commit2ab04c6f8377983553ff61455b011e176a5a227d (patch)
treed4477763ab8906218ab5f2fbbcf5292e9d461f7b
parent019cc571181b2b79d17bc036dee1f9cb8c5e7938 (diff)
downloadFreeBSD-src-2ab04c6f8377983553ff61455b011e176a5a227d.zip
FreeBSD-src-2ab04c6f8377983553ff61455b011e176a5a227d.tar.gz
Squeeze the BOOTMFS kernel image some more. The Alpha kernel was simply
over flowing its britches. So remove all ppbus bits except those for PLIP (untested), and all USB bits as SRM does not know what USB is. Also remove /dev/random as I don't think we need it just for whacking bits onto a disk. Approved by: JKH
-rwxr-xr-xrelease/alpha/dokern.sh23
-rwxr-xr-xrelease/amd64/dokern.sh23
-rwxr-xr-xrelease/i386/dokern.sh23
-rwxr-xr-xrelease/pc98/dokern.sh23
-rwxr-xr-xrelease/scripts/dokern.sh23
5 files changed, 115 insertions, 0 deletions
diff --git a/release/alpha/dokern.sh b/release/alpha/dokern.sh
index 598015c..22f357a 100755
--- a/release/alpha/dokern.sh
+++ b/release/alpha/dokern.sh
@@ -18,6 +18,10 @@ sed -e '/pty/d' \
-e '/SYSVMSG/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
echo "options NETGRAPH"
@@ -41,6 +45,25 @@ sed -e '/pty/d' \
-e '/SYSV/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
+ -e '/lpt/d' \
+ -e '/ppi/d' \
+ -e '/vpo/d' \
+ -e '/uhci/d' \
+ -e '/ohci/d' \
+ -e '/usb/d' \
+ -e '/ugen/d' \
+ -e '/uhid/d' \
+ -e '/ukbd/d' \
+ -e '/ulpt/d' \
+ -e '/umass/d' \
+ -e '/ums/d' \
+ -e '/aue/d' \
+ -e '/cue/d' \
+ -e '/kue/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
fi
diff --git a/release/amd64/dokern.sh b/release/amd64/dokern.sh
index 598015c..22f357a 100755
--- a/release/amd64/dokern.sh
+++ b/release/amd64/dokern.sh
@@ -18,6 +18,10 @@ sed -e '/pty/d' \
-e '/SYSVMSG/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
echo "options NETGRAPH"
@@ -41,6 +45,25 @@ sed -e '/pty/d' \
-e '/SYSV/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
+ -e '/lpt/d' \
+ -e '/ppi/d' \
+ -e '/vpo/d' \
+ -e '/uhci/d' \
+ -e '/ohci/d' \
+ -e '/usb/d' \
+ -e '/ugen/d' \
+ -e '/uhid/d' \
+ -e '/ukbd/d' \
+ -e '/ulpt/d' \
+ -e '/umass/d' \
+ -e '/ums/d' \
+ -e '/aue/d' \
+ -e '/cue/d' \
+ -e '/kue/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
fi
diff --git a/release/i386/dokern.sh b/release/i386/dokern.sh
index 598015c..22f357a 100755
--- a/release/i386/dokern.sh
+++ b/release/i386/dokern.sh
@@ -18,6 +18,10 @@ sed -e '/pty/d' \
-e '/SYSVMSG/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
echo "options NETGRAPH"
@@ -41,6 +45,25 @@ sed -e '/pty/d' \
-e '/SYSV/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
+ -e '/lpt/d' \
+ -e '/ppi/d' \
+ -e '/vpo/d' \
+ -e '/uhci/d' \
+ -e '/ohci/d' \
+ -e '/usb/d' \
+ -e '/ugen/d' \
+ -e '/uhid/d' \
+ -e '/ukbd/d' \
+ -e '/ulpt/d' \
+ -e '/umass/d' \
+ -e '/ums/d' \
+ -e '/aue/d' \
+ -e '/cue/d' \
+ -e '/kue/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
fi
diff --git a/release/pc98/dokern.sh b/release/pc98/dokern.sh
index 598015c..22f357a 100755
--- a/release/pc98/dokern.sh
+++ b/release/pc98/dokern.sh
@@ -18,6 +18,10 @@ sed -e '/pty/d' \
-e '/SYSVMSG/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
echo "options NETGRAPH"
@@ -41,6 +45,25 @@ sed -e '/pty/d' \
-e '/SYSV/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
+ -e '/lpt/d' \
+ -e '/ppi/d' \
+ -e '/vpo/d' \
+ -e '/uhci/d' \
+ -e '/ohci/d' \
+ -e '/usb/d' \
+ -e '/ugen/d' \
+ -e '/uhid/d' \
+ -e '/ukbd/d' \
+ -e '/ulpt/d' \
+ -e '/umass/d' \
+ -e '/ums/d' \
+ -e '/aue/d' \
+ -e '/cue/d' \
+ -e '/kue/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
fi
diff --git a/release/scripts/dokern.sh b/release/scripts/dokern.sh
index 598015c..22f357a 100755
--- a/release/scripts/dokern.sh
+++ b/release/scripts/dokern.sh
@@ -18,6 +18,10 @@ sed -e '/pty/d' \
-e '/SYSVMSG/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
echo "options NETGRAPH"
@@ -41,6 +45,25 @@ sed -e '/pty/d' \
-e '/SYSV/d' \
-e '/SOFTUPDATES/d' \
-e '/maxusers/d' \
+ -e '/MFS/d' \
+ -e '/NFS_ROOT/d' \
+ -e '/RANDOMDEV/d' \
+ -e '/atapist/d' \
+ -e '/lpt/d' \
+ -e '/ppi/d' \
+ -e '/vpo/d' \
+ -e '/uhci/d' \
+ -e '/ohci/d' \
+ -e '/usb/d' \
+ -e '/ugen/d' \
+ -e '/uhid/d' \
+ -e '/ukbd/d' \
+ -e '/ulpt/d' \
+ -e '/umass/d' \
+ -e '/ums/d' \
+ -e '/aue/d' \
+ -e '/cue/d' \
+ -e '/kue/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
fi
OpenPOWER on IntegriCloud