This repository has been archived by the owner. It is now read-only.

Removed a lot of hardcoded modules in mkinitramfs #691

Merged
merged 2 commits into from Oct 4, 2017

Conversation

Projects
None yet
2 participants
@MartijnBraam
Member

MartijnBraam commented Oct 3, 2017

This removes a few globs from the mkinitramfs module copy part. This is an issue in linux-postmarketos since it will copy gpu drivers for all possible hardware to the initramfs.

This should be done in the deviceinfo variables for the modules instead and is already done for the current devices that use module loading. This changes the initramfs (uncompressed) from 16 MB to 11 MB just because the qemu graphics drivers aren't included.

I've testted the qemu machines and they still work the same as before this patch.

@ollieparanoid

ollieparanoid approved these changes Oct 4, 2017 edited

Thanks! Could you also verify with your N900, that this does not break it?

(added the dont_merge_pr label to signalize that it has not been tested on real hardware.)

@MartijnBraam

This comment has been minimized.

Show comment
Hide comment
@MartijnBraam

MartijnBraam Oct 4, 2017

Member

I've tried it on the n900 and the graphics and storage still work fine with this patch, I think the omapfb module is built in into the kernel (its quite small)

Member

MartijnBraam commented Oct 4, 2017

I've tried it on the n900 and the graphics and storage still work fine with this patch, I think the omapfb module is built in into the kernel (its quite small)

@ollieparanoid ollieparanoid merged commit 8ac425c into master Oct 4, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@ollieparanoid ollieparanoid deleted the fix/initramfs-module-count branch Oct 4, 2017

PureTryOut added a commit that referenced this pull request Feb 21, 2018

Removed a lot of hardcoded modules in mkinitramfs (#691)
This removes a few globs from the mkinitramfs module copy part. This is an issue
in linux-postmarketos since it will copy gpu drivers for all possible hardware to the
initramfs.

This should be done in the deviceinfo variables for the modules instead and is
already done for the current devices that use module loading. This changes the
initramfs (uncompressed) from 16 MB to 11 MB just because the qemu graphics
drivers aren't included.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.