From 77cfe20dfa25369368bd4e4db6dd967dd886b227 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Thu, 17 Oct 2002 18:02:27 +0000 Subject: [PATCH] Strip splash, tun, and COMPAT_FREEBSD4 from the config used to build the BOOTMFS kernel. These help reduce the kernel size so things fit in a floppy image. There are more low-hanging fruit to be had here if things fail to fit again. --- release/amd64/dokern.sh | 3 +++ release/i386/dokern.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/release/amd64/dokern.sh b/release/amd64/dokern.sh index 64d4c22232cd..40be138e4925 100755 --- a/release/amd64/dokern.sh +++ b/release/amd64/dokern.sh @@ -28,6 +28,7 @@ sed -e '/ pty /d' \ -e '/WITNESS/d' \ -e '/AHC_REG_PRETTY_PRINT/d' \ -e '/AHD_REG_PRETTY_PRINT/d' \ + -e '/COMPAT_FREEBSD4/d' \ -e '/ ncr /d' \ -e '/ pcm/d' \ -e '/ agp /d' \ @@ -43,6 +44,8 @@ sed -e '/ pty /d' \ -e '/ urio /d' \ -e '/ uscanner /d' \ -e '/ ses /d' \ + -e '/ splash /d' \ + -e '/ tun /d' \ -e '/maxusers/d' \ -e 's/ident.*GENERIC/ident BOOTMFS/g' diff --git a/release/i386/dokern.sh b/release/i386/dokern.sh index 64d4c22232cd..40be138e4925 100755 --- a/release/i386/dokern.sh +++ b/release/i386/dokern.sh @@ -28,6 +28,7 @@ sed -e '/ pty /d' \ -e '/WITNESS/d' \ -e '/AHC_REG_PRETTY_PRINT/d' \ -e '/AHD_REG_PRETTY_PRINT/d' \ + -e '/COMPAT_FREEBSD4/d' \ -e '/ ncr /d' \ -e '/ pcm/d' \ -e '/ agp /d' \ @@ -43,6 +44,8 @@ sed -e '/ pty /d' \ -e '/ urio /d' \ -e '/ uscanner /d' \ -e '/ ses /d' \ + -e '/ splash /d' \ + -e '/ tun /d' \ -e '/maxusers/d' \ -e 's/ident.*GENERIC/ident BOOTMFS/g'