From b9cee99a1e39f1bd7e5506a816f9f1c44864e850 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 16 Jul 2000 06:32:28 +0000 Subject: [PATCH] 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 --- release/alpha/dokern.sh | 23 +++++++++++++++++++++++ release/amd64/dokern.sh | 23 +++++++++++++++++++++++ release/i386/dokern.sh | 23 +++++++++++++++++++++++ release/pc98/dokern.sh | 23 +++++++++++++++++++++++ release/scripts/dokern.sh | 23 +++++++++++++++++++++++ 5 files changed, 115 insertions(+) diff --git a/release/alpha/dokern.sh b/release/alpha/dokern.sh index 598015c76eb2..22f357a8dd31 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 598015c76eb2..22f357a8dd31 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 598015c76eb2..22f357a8dd31 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 598015c76eb2..22f357a8dd31 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 598015c76eb2..22f357a8dd31 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