device-shift-axolotl: add edt-ft5x06 driver to initramfs (MR 4374)

It seems like the driver name has changed *again* in 6.5.x kernels, so
let's just have both drivers in the initramfs to help with migrating
between newer/older kernels and any future flip/flopping of drivers.

This is a bit of a hack... it works because missing modules are not
fatal for mkinitfs. The reason why they aren't fatal is that whether or
not it's builtin is somewhat arbitrary... there's an open issue[1] for
mkinitfs to make this smarter, i.e. throw an error if the .ko doesn't
exist AND it's not builtin for the *installed* kernel.

When that's implemented then this patch would likely result in mkinitfs
failing on this device because one of those drivers may not be installed
or builtin. I don't have time to implement this in mkinitfs, so adding
this crude workaround of just including both seemed like a reasonable
thing to do since the 6.5 kernel will break fde on this device (this has
happened before).
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Clayton Craft 2023-09-05 10:27:04 -07:00
parent 2ab59a220f
commit 3110ade74f
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 4 additions and 3 deletions

View file

@ -4,8 +4,8 @@
pkgname=device-shift-axolotl pkgname=device-shift-axolotl
pkgdesc="SHIFT6mq" pkgdesc="SHIFT6mq"
pkgver=11 pkgver=12
pkgrel=1 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -48,6 +48,6 @@ nonfree_firmware() {
sha512sums=" sha512sums="
88e5a1f014e48c811df46e94e09016f4f65cd99eb7e0baff4f7aaf9ee9cec2f8d9d9849aa23b6a28dac9631eeace530c5d914b538f186acbbd1e907d9041cc7e deviceinfo 88e5a1f014e48c811df46e94e09016f4f65cd99eb7e0baff4f7aaf9ee9cec2f8d9d9849aa23b6a28dac9631eeace530c5d914b538f186acbbd1e907d9041cc7e deviceinfo
6bea4c8628853197600db11d11d2ad64f365ad2bdd9d06a05af0f3e96d4dcd2ffb9ddbd8ffc439f3d54baef02ad6eb05a7c16d308eecb24088279e63d7eb514a modules-initfs 4dc84207c5ca84b33b74139c8b0c9ce5baa8bcb1068df9943c478c02abcf8daccb88e06af63f120a434a115e277008e899305bd5239d8669436cb269889040e9 modules-initfs
2a3cbdad5aa91181d24a4e56e63986af6accf887c64fa4d1b6ddad1926e29050243c4b1e2fd892d38ca7c16e24dff8545a16552e5749ae31b6d01bf428468e51 q6voiced.conf 2a3cbdad5aa91181d24a4e56e63986af6accf887c64fa4d1b6ddad1926e29050243c4b1e2fd892d38ca7c16e24dff8545a16552e5749ae31b6d01bf428468e51 q6voiced.conf
" "

View file

@ -1,3 +1,4 @@
edt-ft5x06
focaltech_fts focaltech_fts
gpi gpi
i2c_qcom_geni i2c_qcom_geni