Repository navigation
fix: register ddm as a display manager via debconf - #89
Conversation
|
Skipping CI for Draft Pull Request. |
There was a problem hiding this comment.
Pull request overview
This PR updates the Debian packaging for ddm so it participates in Debian’s display manager selection mechanism (debconf) and can be selected/kept as the default display manager across reinstalls.
本 PR 更新 ddm 的 Debian 打包,使其参与 Debian 的显示管理器选择机制(debconf),从而在重装时也能被选为并保持默认显示管理器。
Changes:
- Add
debian/ddm.templateswithddm/daemon_nameandshared/default-x-display-managerdebconf questions.
新增debian/ddm.templates,提供ddm/daemon_name与shared/default-x-display-manager的 debconf 问题模板。 - Add
debian/ddm.configto drive the default display manager selection during configuration.
新增debian/ddm.config,在配置阶段引导选择默认显示管理器。 - Enable
Provides: x-display-managerfor theddmpackage.
为ddm包启用Provides: x-display-manager。
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
debian/ddm.templates |
Introduces debconf templates needed for the shared display-manager selection UI. |
debian/ddm.config |
Adds a debconf config script to sync choices and handle default-display-manager switching. |
debian/control |
Declares ddm as an x-display-manager provider so it participates in selection. |
Reinstalling ddm would reset the default display manager to lightdm because ddm did not participate in the Debian display manager selection mechanism. Add missing debconf templates and config script (modeled after lightdm) to properly register ddm, and uncomment Provides: x-display-manager in debian/control.
deepin pr auto review这份 diff 展示了对 Debian 软件包 以下是针对语法逻辑、代码质量、代码性能和代码安全的详细审查意见: 1. 语法与逻辑审查整体逻辑:
具体问题与建议:
2. 代码质量
3. 代码性能
4. 代码安全
总结与改进建议这份 diff 主要是为了让 主要改进建议:
除此之外,代码已经相当成熟,符合 Debian 维护脚本的标准规范。 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Groveer, wineee, Zeno-sole The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reinstalling ddm would reset the default display manager to lightdm because ddm did not participate in the Debian display manager selection mechanism. Add missing debconf templates and config script (modeled after lightdm) to properly register ddm, and uncomment Provides: x-display-manager in debian/control.