From 68be4708937859a39bf04125da0f1e6875e4f024 Mon Sep 17 00:00:00 2001 From: lambdadroid Date: Tue, 6 Aug 2019 11:36:49 +0200 Subject: [PATCH] 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. --- main/postmarketos-mkinitfs/APKBUILD | 4 ++-- main/postmarketos-mkinitfs/mkinitfs.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/postmarketos-mkinitfs/APKBUILD b/main/postmarketos-mkinitfs/APKBUILD index 30759bf56..901a21441 100644 --- a/main/postmarketos-mkinitfs/APKBUILD +++ b/main/postmarketos-mkinitfs/APKBUILD @@ -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" diff --git a/main/postmarketos-mkinitfs/mkinitfs.sh b/main/postmarketos-mkinitfs/mkinitfs.sh index 4e2c88539..0729b58d0 100644 --- a/main/postmarketos-mkinitfs/mkinitfs.sh +++ b/main/postmarketos-mkinitfs/mkinitfs.sh @@ -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 \