Skip to content

Commit

Permalink
Disable various kernel modules which we don't use
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakash Surya committed Oct 11, 2022
1 parent 805ba86 commit e92c3e5
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 4 deletions.
56 changes: 56 additions & 0 deletions debian.aws/config/OVERRIDES
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#
# Disable misc. modules which we don't use.
#
CONFIG_AGP=n
CONFIG_ANDROID=n
CONFIG_BT=n
CONFIG_DRM=n
CONFIG_INFINIBAND=n
CONFIG_NFC=n
CONFIG_USB=n
CONFIG_WIRELESS=n

#
# Disable various filesystem which we don't use.
#
CONFIG_9P_FS=n
CONFIG_ADFS_FS=n
CONFIG_AFFS_FS=n
CONFIG_AFS_FS=n
CONFIG_AUFS_FS=n
CONFIG_BEFS_FS=n
CONFIG_BFS_FS=n
CONFIG_BTRFS_FS=n
CONFIG_CEPH_FS=n
CONFIG_CODA_FS=n
CONFIG_EFS_FS=n
CONFIG_EROFS_FS=n
CONFIG_EXFAT_FS=n
CONFIG_EXT2_FS=n
CONFIG_EXT3_FS=n
CONFIG_EXT4_FS=n
CONFIG_F2FS_FS=n
CONFIG_FUSE_FS=n
CONFIG_GFS2_FS=n
CONFIG_HFSPLUS_FS=n
CONFIG_HFS_FS=n
CONFIG_HPFS_FS=n
CONFIG_JFFS2_FS=n
CONFIG_JFS_FS=n
CONFIG_MINIX_FS=n
CONFIG_MSDOS_FS=n
CONFIG_NILFS2_FS=n
CONFIG_OCFS2_FS=n
CONFIG_OMFS_FS=n
CONFIG_ORANGEFS_FS=n
CONFIG_QNX4FS_FS=n
CONFIG_QNX6FS_FS=n
CONFIG_REISERFS_FS=n
CONFIG_REISERFS_FS=n
CONFIG_ROMFS_FS=n
CONFIG_SYSV_FS=n
CONFIG_UBIFS_FS=n
CONFIG_UDF_FS=n
CONFIG_UFS_FS=n
CONFIG_VXFS_FS=n
CONFIG_XFS_FS=n
9 changes: 5 additions & 4 deletions debian/rules.d/4-checks.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ retpoline-check-%: install-%
$(SHELL) $(DROOT)/scripts/retpoline-check "$*" \
"$(prev_abidir)" "$(abidir)" "$(skipretpoline)" "$(builddir)/build-$*"

checks-%: module-check-% abi-check-% retpoline-check-%
checks-%: abi-check-% retpoline-check-%
@echo Debug: $@

# Check the config against the known options list.
config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
@echo Debug: $@
@perl -f $(DROOT)/scripts/config-check \
$(builddir)/build-$*/.config "$(arch)" "$*" "$(commonconfdir)" \
"$(skipconfig)" "$(do_enforce_all)"
# TODO: What do to about this? remove it?
#@perl -f $(DROOT)/scripts/config-check \
# $(builddir)/build-$*/.config "$(arch)" "$*" "$(commonconfdir)" \
# "$(skipconfig)" "$(do_enforce_all)"

0 comments on commit e92c3e5

Please sign in to comment.