Skip to content

Commit

Permalink
configuration: disable selinux, virtualization guest drivers, agp gpu…
Browse files Browse the repository at this point in the history
…s and more unused drivers (#25)
  • Loading branch information
NeroReflex authored Jul 13, 2024
1 parent 6708bea commit 82e7853
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 1 deletion.
2 changes: 1 addition & 1 deletion linux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ validpgpkeys=(
)
b2sums=('8ce5f7504a14d159b29404272d59e4afb5f38bd370904aedd1c955b9137845f6e772daf4e9e0479d517c84a3a4ad79dbafb62220ab243efe673877c80f46a5ce'
'f0aa2624cf97d2d17117f0061eadb761f09404e935e25fbc531d4cd0e43727e340feb13403e4150ab55618765b11fda10aaeda7230c90a8f84fd7c5d2a42dfe9'
'7a23cc6ee62a4a888531dfc321dbbdae12ba2589f196ea258d2cebbff76f3850627813404be1d83db4bb6f271800b85b9a00c39ec03796bdd0cb6f095013565a')
'ccca6ba086cbaf1be18748e36905beefd276c384397461b88b63738e7d933469fae1bb6e1ff2e4d72f7406ebc3f3f89b89d5b6c8f335b3793cd14e082380af06')

export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
Expand Down
74 changes: 74 additions & 0 deletions linux/config-chimera
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@
# virtualization-specific drivers.
CONFIG_HYPERVISOR_GUEST=n

# As running as a guest is not allowed disable guest drivers too
CONFIG_HYPERVISOR_GUEST=n
CONFIG_VIRT_DRIVERS=n
CONFIG_DRM_QXL=n

# AGP GPUs are not supported
CONFIG_AGP=n

# Old unsupported GPU
CONFIG_DRM_MGAG200=n

# ReiserFS is being deprecated ( https://lore.kernel.org/lkml/b98b29cf-27d9-49e0-b10b-1848399badfd@kittens.ph/T/#u )
CONFIG_REISERFS_FS=n

# Enable support for AMDGPU color calibration features
CONFIG_DRM_AMD_COLOR_STEAMDECK=y

Expand All @@ -17,3 +31,63 @@ CONFIG_BMI260_I2C=m

# Enable AW87XXX as module
CONFIG_SND_SOC_AW87XXX=m

# There is no use for SELinux as it requires a full userspace rebuild
CONFIG_SECURITY_SELINUX=n

# ChimeraOS is a gaming-oriented distro and chemical sensors are not a good fit
CONFIG_AOSONG_AGS02MA=n
CONFIG_ATLAS_PH_SENSOR=n
CONFIG_ATLAS_EZO_SENSOR=n
CONFIG_BME680=n
CONFIG_BME680_I2C=n
CONFIG_BME680_SPI=n
CONFIG_CCS811=n
CONFIG_IAQCORE=n
CONFIG_PMS7003=n
CONFIG_SCD30_CORE=n
CONFIG_SCD30_I2C=n
CONFIG_SCD30_SERIAL=n
CONFIG_SCD4X=n
CONFIG_SENSIRION_SGP30=n
CONFIG_SENSIRION_SGP40=n
CONFIG_SPS30=n
CONFIG_SPS30_I2C=n
CONFIG_SPS30_SERIAL=n
CONFIG_SENSEAIR_SUNRISE_CO2=n
CONFIG_VZ89X=n

# ChimeraOS is a gaming-oriented distro and pressure sensors are not a good fit
CONFIG_ABP060MG=n
CONFIG_ROHM_BM1390=n
CONFIG_BMP280=n
CONFIG_BMP280_I2C=n
CONFIG_BMP280_SPI=n
CONFIG_IIO_CROS_EC_BARO=n
CONFIG_DLHL60D=n
CONFIG_DPS310=n
CONFIG_HID_SENSOR_PRESS=n
CONFIG_HP03=n
CONFIG_HSC030PA=n
CONFIG_HSC030PA_I2C=n
CONFIG_HSC030PA_SPI=n
CONFIG_ICP10100=n
CONFIG_MPL115=n
CONFIG_MPL115_I2C=n
CONFIG_MPL115_SPI=n
CONFIG_MPL3115=n
CONFIG_MPRLS0025PA=n
CONFIG_MPRLS0025PA_I2C=n
CONFIG_MPRLS0025PA_SPI=n
CONFIG_MS5611=n
CONFIG_MS5611_I2C=n
CONFIG_MS5611_SPI=n
CONFIG_MS5637=n
CONFIG_IIO_ST_PRESS=n
CONFIG_IIO_ST_PRESS_I2C=n
CONFIG_IIO_ST_PRESS_SPI=n
CONFIG_T5403=n
CONFIG_HP206C=n
CONFIG_ZPA2326=n
CONFIG_ZPA2326_I2C=n
CONFIG_ZPA2326_SPI=n

0 comments on commit 82e7853

Please sign in to comment.