main/postmarketos-mkinitfs: Do not forcefully include DRM in initfs (!548)

The DRM module itself can not do anything without a DRM driver.
It just takes up precious space (about ~5 MB for aarch64)
on the boot partition.

Devices that do include the appropriate DRM driver via
deviceinfo_modules_initfs will automatically pull in
"drm" and "drm_kms_helper" as dependencies, if needed.
So there is no need to depend on it explicitly.
This commit is contained in:
lambdadroid 2019-08-06 11:36:49 +02:00 committed by Oliver Smith
parent c2444a0870
commit 68be470893
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
pkgname=postmarketos-mkinitfs
pkgver=0.7.13
pkgver=0.7.14
pkgrel=0
pkgdesc="Tool to generate initramfs images for postmarketOS"
url="https://postmarketos.org"
@ -26,4 +26,4 @@ package() {
sha512sums="3b7d697381a45a6a165d195d25a26e71773794ebc4a0d8b425321e5bb68a02405028d9712848982b2573474b7b1ee2560091c41f7f51b9e2e962eeb5204a72aa init.sh.in
9632fe7960d72da7efe9b765de72600ed8c5e38441652d7687c03138b53347f09d9f9dd66b16405b8c46969d5ea672f30c00a861841e5cdc7249182e2fdf9b27 init_functions.sh
43acadd454ac13b0374629a2fbbfe7e08822d77d575a20d0d637896724f838bbaf184d508f7fea26995afe42461a307a00b4a5b7135aee5292c08b7f8a263b3c mkinitfs.sh"
ee31979b5c2e64cca1941dac4f92b164c3b9ead7acf7bb623ce8bf3ddafa3fc58f7e427ef3710c3f506583123da443e631ff0ce3d990e556689a9c37bccfe2aa mkinitfs.sh"

View file

@ -86,7 +86,7 @@ get_modules_by_name()
echo "with 'y' instead of 'm' (module)."
} >&2
MODULES="drm_kms_helper drm dm_crypt \
MODULES="dm_crypt \
${deviceinfo_modules_initfs}"
modprobe \
-a \