main/devicepkg-dev: add kernel scripts and config fragments
It simplifies kernel packaging and reduces some steps in the maintaining process. Kernel fork owners don't have to maintain kernel config in pmaports anymore as long as they have a defconfig in the fork
Using linux-postmarketos-grate
as a test subject
Important note
This MR is to a kconfig-fragments
and not to master
, @craftyguy thinks this can be merged with just 1 approval instead of the usual 2. The 1 approval should probably come from either @jenneron or @craftyguy, ask us if you have questions.
Merge request reports
Activity
- Resolved by Administrator
added 1 commit
- 2f532673 - linux-postmarketos-grate: use devicepkg-dev
By jenneron on 2023-12-25T08:08:12
- Resolved by Administrator
The idea of doing config fragments has been discussed a lot in the past and we could never come up with a good way to do it, although perfect may be the enemy of good in this case.
The biggest issue is that handling multiple kernel versions is hard, CONFIG options aren't stable and have been arbitrarily added/removed/modified. Limiting them to only maintained/mainline devices simplifies this but also limits the utility of having fragments in the first place - what do they solve that
pmbootstrap kconfig check
doesn't?The other big issue is that it means a kernel that might be working fine breaks due to a change in the config fragments, this could be pretty infuriating to track down.
Overall I'd say I'm not against this approach - if it helps with your workflow and doesn't impede others then I certainly wouldn't NAK it - but I don't think I'd use it for the SDM845 kernel.
By Caleb Connolly on 2024-01-01T23:45:51
Edited by Ghost User
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
Please could you take the time to write an MR description to explain the what and the why behind these changes?
By Caleb Connolly on 2024-01-01T23:45:43
Edited by Ghost User
mentioned in issue #2492
By jenneron on 2023-12-30T10:45:32
mentioned in issue pmbootstrap#2286
By jenneron on 2023-12-30T10:51:15
mentioned in issue pmbootstrap#2285 (closed)
By jenneron on 2023-12-30T10:51:34
mentioned in issue #2490 (closed)
By jenneron on 2023-12-30T10:54:58