From d37b7df1be6dd3dbaf8a5d4ca474d1bc222d962b Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Mon, 17 Jan 2022 01:33:58 +0100 Subject: [PATCH] Added dracut config --- .../pinephone-pro-sources/files/{config => config-ppp} | 0 sys-kernel/pinephone-pro-sources/files/dracut-ppp.conf | 8 ++++++++ sys-kernel/pinephone-pro-sources/files/linux.preset | 10 ---------- 3 files changed, 8 insertions(+), 10 deletions(-) rename sys-kernel/pinephone-pro-sources/files/{config => config-ppp} (100%) create mode 100644 sys-kernel/pinephone-pro-sources/files/dracut-ppp.conf delete mode 100644 sys-kernel/pinephone-pro-sources/files/linux.preset diff --git a/sys-kernel/pinephone-pro-sources/files/config b/sys-kernel/pinephone-pro-sources/files/config-ppp similarity index 100% rename from sys-kernel/pinephone-pro-sources/files/config rename to sys-kernel/pinephone-pro-sources/files/config-ppp diff --git a/sys-kernel/pinephone-pro-sources/files/dracut-ppp.conf b/sys-kernel/pinephone-pro-sources/files/dracut-ppp.conf new file mode 100644 index 0000000..6aa83cf --- /dev/null +++ b/sys-kernel/pinephone-pro-sources/files/dracut-ppp.conf @@ -0,0 +1,8 @@ +# load kernel modules that's needed to run accelarated osk SDL +force_drivers+=" lima gpu_sched evdev rockchipdrm panel_simple pwm_bl " +# pmic +force_drivers+=" axp20x-pek axp20x_adc " +# force feedback +force_drivers+=" gpio-vibra " +# encryption module +force_drivers+=" crc-t10dif " diff --git a/sys-kernel/pinephone-pro-sources/files/linux.preset b/sys-kernel/pinephone-pro-sources/files/linux.preset deleted file mode 100644 index 8d7f379..0000000 --- a/sys-kernel/pinephone-pro-sources/files/linux.preset +++ /dev/null @@ -1,10 +0,0 @@ -# mkinitcpio preset file for the '%PKGBASE%' package - -ALL_config="/etc/mkinitcpio.conf" -ALL_kver="%KERNVER%" - -PRESETS=('default') - -#default_config="/etc/mkinitcpio.conf" -default_image="/boot/initramfs-linux.img" -#default_options=""