Skip to content

RDKOSS-134: Build systemd V250#445

Open
vrenu2018 wants to merge 3 commits into
developfrom
sysd250
Open

RDKOSS-134: Build systemd V250#445
vrenu2018 wants to merge 3 commits into
developfrom
sysd250

Conversation

@vrenu2018
Copy link
Copy Markdown

Reason for the change: Upgrading systemd PREFERRED version to 1:250
Risk : Low

mselva006c and others added 3 commits June 3, 2026 18:20
Reason for the change:
Configured systemd PREFERRED version to 1:250
Backport tar_1.17 recipe which is gplv2 licenced required for building systemd v250
Backport systemd v250 changes for RDKE

Signed-off-by: mselva006c <mani_selvaraj@comcast.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Reason for the change: Remove reference to default-time-setter.sh script in systemd-timesyncd to fix the build error.
Copilot AI review requested due to automatic review settings June 3, 2026 18:23
@vrenu2018 vrenu2018 requested review from a team as code owners June 3, 2026 18:23
Copy link
Copy Markdown
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

This PR updates the OSS layer’s build configuration to prefer systemd v250 and adjusts the systemd v250 bbappend behavior/configuration. It also introduces a tar 1.17 recipe (with several patches) and pins tar’s OSS package arch/revision settings.

Changes:

  • Set PREFERRED_VERSION_systemd to 1:250% in the OSS package revisions include.
  • Update systemd_250.%.bbappend to adjust patch set and post-install configuration (timesyncd NTP, journald sizing, dependency/package tweaks).
  • Add a tar 1.17 recipe (tar.inc + tar_1.17.bb) and patch set, plus tar arch/revision entries.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
recipes-extended/tar/tar/0001-lib-argp-parse.c-Fix-compiler-error.patch Adds a tar 1.17 patch to address a format-security compiler error.
recipes-extended/tar/tar.inc Introduces shared tar recipe include (install + alternatives + packaging).
recipes-extended/tar/tar-1.17/m4extensions.patch Adds autoconf-related fix for tar 1.17.
recipes-extended/tar/tar-1.17/gcc43build.patch Adds GCC inline-related compatibility patch for tar 1.17.
recipes-extended/tar/tar-1.17/avoid_heap_overflow.patch Adds CVE-related heap overflow mitigation patch for tar 1.17.
recipes-extended/tar/tar_1.17.bb Adds the tar 1.17 recipe wiring in the patch set and checksums.
recipes-core/systemd/systemd_250.%.bbappend Updates systemd v250 append behavior (patch list, NTP/journald config, deps, package content changes).
conf/include/package_revisions_oss.inc Pins preferred systemd version and adds tar PR/PACKAGE_ARCH entries.

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

Comment on lines +120 to 124
#Remove volatile bind dependency as it is not an oss delivered component
RDEPENDS:${PN}:remove = "volatile-binds"

EXTRA_OECONF += "--disable-ldconfig"
EXTRA_OECONF:append:libc-uclibc = " --disable-sysusers --disable-machined "
Comment on lines +39 to +41
#Configure NTP server (time.google.com) in timesyncd.conf
if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'timesyncd', 'timesyncd', '', d)}" ]; then
sed -i -e 's/^#NTP=.*/NTP=ntp.ccp.xcal.tv/g' ${D}${sysconfdir}/systemd/timesyncd.conf
sed -i -e 's/^#NTP=.*/NTP=time.google.com/g' ${D}${sysconfdir}/systemd/timesyncd.conf
fi

if ${@bb.utils.contains('DISTRO_FEATURES', 'syslog-ng', 'false', 'true', d)}; then
#Journal conf overide

do_install:append() {
if ${@bb.utils.contains('DISTRO_FEATURES', 'syslog-ng', 'false', 'true', d)}; then
#Journal conf overide
PREFERRED_VERSION_nativesdk-libdrm = "2.4.110"
PREFERRED_VERSION_sed = "4.1.2"

PREFERRED_VERSION_systemd = "1:250%"
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.

3 participants