diff options
-rwxr-xr-x | bootstrap | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -52,7 +52,7 @@ mirror="http://http.us.debian.org/debian/" base_pkgs="locales,klibc-utils,sudo" base_pkgs+=",udev,dbus,systemd-timesyncd,systemd-container" base_pkgs+=",kmod,linux-base,firmware-linux-free,irqbalance" -base_pkgs+=",intel-microcode,amd64-microcode" +base_pkgs+=",intel-microcode" #,amd64-microcode base_pkgs+=",pciutils,usbutils,dmidecode,cpuid" base_pkgs+=",hdparm,btrfs-progs" base_pkgs+=",lm-sensors,smartmontools,linux-cpupower" @@ -449,6 +449,24 @@ scripts/config --disable INIT_STACK_ALL_ZERO scripts/config --enable DEBUG_INFO_NONE scripts/config --disable DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT +# Disable sound subsystem/drivers. +# +sed -i -re '/^CONFIG_SND_.+/d' .config +sed -i -re '/^CONFIG_SOUND_.+/d' .config +scripts/config --disable CONFIG_SOUND +scripts/config --disable CONFIG_SND + +# Disable GPU subsystem/drivers. +# +# NOTE: this seems to have killed the high-resolution console. +# +sed -i -re '/^CONFIG_DRM_.+/d' .config +scripts/config --disable CONFIG_DRM + +# Disable wireless network drivers. +# +scripts/config --disable CONFIG_WLAN + # Adjust kernel command line size limit. # sed -i -re 's/^(#define COMMAND_LINE_SIZE).+\$/\1 4096/' arch/x86/include/asm/setup.h |