Skip to content

Install kernels modules that go into initramfs with a file instead of a deviceinfo variable

Administrator requested to merge modules-no-deviceinfo into master

As agreed in #1836 (comment 1293968974)

Initially, I thought this was a good idea, but know implementing it I'm not that sure. There are two things I don't like or I'm not sure how to solve:

  • Packages with different modules for mainline and downstream/edge. It's quite ugly to have 00-pkg.modules_mainline and 00-pkg.modules_downstream, although I guess technically it's not a big deal. Suggestion is to use modules or modules.downstream and modules.mainline files.
  • Before, initial porting could be done in a single file. Now, it would not be strange if it needs 2. I've never ported a device, so I'm not sure how big is this one, but it felt bad to me. Please people with experience chime in 😄 Everybody seems to agree this is fine!

@craftyguy

Relates #1836 (closed)

This was done automatically with this script I have bumped the pkgrel instead of the pkgver because it can be done automatically. We don't have a strict policy of pkgvers, and I don't want to have to deal with bumping them, since I did not find a way to do it automatically. If anybody knows, I'm happy to fix that. The same goes on how to substitute "source" adding the new source file in a beautiful way. I know the substitution now sucks, but again, doing this manually is madness.

TODO:

After merge:

EDIT: new script version modules_initfs_fix

Edited by Administrator

Merge request reports

Loading