Skip to content

RDKMVE-2033:Disable lighttpd#2803

Open
Nairisnotavailable wants to merge 2 commits intodevelopfrom
feature/RDKMVE-2033
Open

RDKMVE-2033:Disable lighttpd#2803
Nairisnotavailable wants to merge 2 commits intodevelopfrom
feature/RDKMVE-2033

Conversation

@Nairisnotavailable
Copy link

Reason for change: Remove lighttpd

Reason for change: Remove lighttpd
@Nairisnotavailable Nairisnotavailable requested a review from a team as a code owner March 26, 2026 06:54
Copilot AI review requested due to automatic review settings March 26, 2026 06:54
@Nairisnotavailable Nairisnotavailable requested a review from a team as a code owner March 26, 2026 06:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the middleware layer packagegroup to disable inclusion of lighttpd, aligning the image contents with the goal of removing lighttpd.

Changes:

  • Adds conditional removal of lighttpd from DEPENDS.
  • Adds conditional removal of lighttpd from RDEPENDS:${PN}.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +224 to +225
DEPENDS:remove = "${@bb.utils.contains('DISTRO_FEATURES', 'enable_bolt_apps', "lighttpd ", "", d)}"
RDEPENDS:${PN}:remove = "${@bb.utils.contains('DISTRO_FEATURES', 'enable_bolt_apps', "lighttpd ", "", d)}"
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description/title indicates lighttpd should be removed, but this change only removes it when DISTRO_FEATURES contains enable_bolt_apps. For distros without that feature, lighttpd will still remain in both DEPENDS and RDEPENDS:${PN}. If the intent is to remove lighttpd unconditionally, drop it from the dependency lists (or invert/adjust the bb.utils.contains condition to match the intended behavior).

Copilot uses AI. Check for mistakes.
Comment on lines +222 to +224
lighttpd systemd sqlite3 \
"
DEPENDS:remove = "${@bb.utils.contains('DISTRO_FEATURES', 'enable_bolt_apps', "lighttpd ", "", d)}"
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using DEPENDS += "... lighttpd ..." and then conditionally removing it via DEPENDS:remove makes the final dependency set harder to understand/maintain. Consider expressing the conditional directly where the dependency is added (e.g., use bb.utils.contains(...) in the DEPENDS/RDEPENDS lists) so the dependency is only introduced when needed.

Suggested change
lighttpd systemd sqlite3 \
"
DEPENDS:remove = "${@bb.utils.contains('DISTRO_FEATURES', 'enable_bolt_apps', "lighttpd ", "", d)}"
${@bb.utils.contains('DISTRO_FEATURES', 'enable_bolt_apps', '', ' lighttpd', d)} systemd sqlite3 \
"

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings March 26, 2026 14:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants