[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37868] [PATCH v4] system: Add kernel-module-packages to operating-s
[bug#37868] [PATCH v4] system: Add kernel-module-packages to operating-system.
Tue, 25 Feb 2020 12:32:45 +0100
Some extra comments:
* I have to really really prevent myself from just making the <operating-system>
field KERNEL a list. Because that's what happens at runtime anyway.
It's just an union of those things, then it runs depmod. The separation
into KERNEL and KERNEL-LOADABLE-MODULES is artificial.
* There's a collision warning:
warning: collision encountered:
I think that's because the Linux kernel linux-libre we build already has those
files. Those files in linux-libre are stale cache files when you have extra
modules (because they don't list those extra modules).
@Ludo: You said I should remove the null? case (check if there are no extra
I did, so actually, these modules.*.bin files in linux-libre are useless since
the profile-derivation of linux-module-database will rebuild them anyway (via
depmod), also in the case with no extra modules.
The reason I had the null? case before is in order to leave the case with no
extra modules unchanged from before (defensive programming).
But now that we don't do that, should we make linux-libre not invoke depmod?
Or should we filter those files out manually in the profile hook?
Description: OpenPGP digital signature