Merge ~bdrung/ubuntu/+source/initramfs-tools:ubuntu/devel-drm into ~ubuntu-core-dev/ubuntu/+source/initramfs-tools:ubuntu/devel
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Benjamin Drung | ||||
Merged at revision: | 429179111c1c97da9290beb0a8fc24af89fc82f5 | ||||
Proposed branch: | ~bdrung/ubuntu/+source/initramfs-tools:ubuntu/devel-drm | ||||
Merge into: | ~ubuntu-core-dev/ubuntu/+source/initramfs-tools:ubuntu/devel | ||||
Diff against target: |
85 lines (+36/-22) 3 files modified
debian/changelog (+16/-0) hook-functions (+13/-0) hooks/framebuffer (+7/-22) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt (community) | Needs Information | ||
Review via email: mp+462691@code.launchpad.net |
This proposal supersedes a proposal from 2024-03-19.
Description of the change
Implement https:/
There is an alternative: Only pick the first two commits (move framebuffer drivers into auto_add_modules) and then drop the framebuffer hook (Debian dropped that hook a long time ago) and just let Plymouth call:
```
if [ "${MODULES-}" = "dep" ]; then
if [ -e /sys/class/drm ]; then
class_add_modules drm
fi
elif [ "$MODULES" != "list" ]; then
auto_add_modules drm fbdev
for x in "${MODULESDIR}
x=${x##*/}
x=${x%.*}
case ${x} in
'*')
break
;;
*fb)
;;
esac
manual_
done
fi
```
The clear separation to initramfs-tools are auto_add_modules and class_add_modules in this case.
> framebuffer: Drop not existing fbcon video kernel module
I believe we should still be including drivers that might be built as a module in some kernels (like simpledrm and efifb in older Ubuntu kernels). fbcon is potentially needed to provide the console on which the disk unlock prompt appears if there is no working Plymouth. But maybe that dependency on fbcon belongs elsewhere with the disk unlock prompt...