Browse Source

yet another piece of bootdisk target size reduction: disabling many never used

kernel modules (shound, video, ...)


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1568 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
3f7c5074fd
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      target/bootdisk/kernel.conf.sh

+ 14
- 0
target/bootdisk/kernel.conf.sh

@ -0,0 +1,14 @@
# here we disable driver we'll most probably not need on the bootdisk
echo "bootdisk target -> disabling some modules ..."
sed -e "s/CONFIG_SOUND\(.*\)=./# CONFIG_SOUND\1 is not set/" \
-e "s/CONFIG_VIDEO\(.*\)=./# CONFIG_VIDEO\1 is not set/" \
-e "s/CONFIG_PHONE\(.*\)=./# CONFIG_PHONE\1 is not set/" \
-e "s/CONFIG_RADIO\(.*\)=./# CONFIG_RADIO\1 is not set/" \
-e "s/CONFIG_HAMRADIO\(.*\)=./# CONFIG_HAMRADIO\1 is not set/" \
-e "s/CONFIG_ATM\(.*\)=./# CONFIG_ATM\1 is not set/" \
$1 > .config.server
mv .config.server $1

Loading…
Cancel
Save