| Message ID | 20260323144022.2278502-1-j-sahu@ti.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-arago,master] systemd: Add systemd-networkd-wait-online service | expand |
meta-arago / na / 20260323144022.2278502-1-j-sahu PRC Results: PASS ========================================================= check-yocto-patches: PASS ========================================================= Patches ---------------------------------------- All patches passed ========================================================= apply-yocto-patch: PASS ========================================================= master ===================== Summary: - Patch Series: [meta-arago][master][PATCH] systemd: Add systemd-networkd-wait-online service - Submitter: From: Telukula Jeevan Kumar Sahu <j-sahu@ti.com> - Date: Date: Mon, 23 Mar 2026 20:10:22 +0530 - Num Patches: 1 - Mailing List (public inbox) Commit SHA: 8a07ea2298cfdfb0f95dc28febab31b82280c8d6 Applied to: - Repository: lcpd-prc-meta-arago - Base Branch: master-wip - Commit Author: Ryan Eatmon <reatmon@ti.com> - Commit Subject: libsdl2: Remove unneeded setting - Commit SHA: 9c7ac854c1119661806e4afdc5c2c0938315f00f Patches ---------------------------------------- All patches applied ========================================================= check-yocto-repo: PASS ========================================================= master ===================== PASS ========================================================= yocto-check-layers: PASS ========================================================= master - PASS ===================== All checks passed
diff --git a/meta-arago-distro/recipes-core/systemd/systemd-arago.inc b/meta-arago-distro/recipes-core/systemd/systemd-arago.inc index 3c31b92d..3ca38edc 100644 --- a/meta-arago-distro/recipes-core/systemd/systemd-arago.inc +++ b/meta-arago-distro/recipes-core/systemd/systemd-arago.inc @@ -8,6 +8,7 @@ SRC_URI:append = " \ file://30-wlan.network \ file://60-usb.network \ file://timesyncd.conf \ + file://systemd-networkd-wait-online.service \ " do_install:append() { @@ -28,6 +29,9 @@ do_install:append() { install -d ${D}${sysconfdir}/systemd/ install -m 0644 ${UNPACKDIR}/timesyncd.conf ${D}${sysconfdir}/systemd/ + # Install systemd-networkd-wait-online with --any flag for faster boot + install -m 0644 ${UNPACKDIR}/systemd-networkd-wait-online.service ${D}${systemd_system_unitdir}/ + # Remove new prompt code that is polluting the testing output rm ${D}/${nonarch_libdir}/tmpfiles.d/20-systemd-osc-context.conf rm ${D}/${nonarch_libdir}/systemd/profile.d/80-systemd-osc-context.sh diff --git a/meta-arago-distro/recipes-core/systemd/systemd/systemd-networkd-wait-online.service b/meta-arago-distro/recipes-core/systemd/systemd/systemd-networkd-wait-online.service new file mode 100644 index 00000000..bb349527 --- /dev/null +++ b/meta-arago-distro/recipes-core/systemd/systemd/systemd-networkd-wait-online.service @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Wait for Network to be Configured +Documentation=man:systemd-networkd-wait-online.service(8) +DefaultDependencies=no +Conflicts=shutdown.target +Requires=systemd-networkd.service +After=systemd-networkd.service +Before=network-online.target shutdown.target + +[Service] +Type=oneshot +ExecStart=/lib/systemd/systemd-networkd-wait-online --any +RemainAfterExit=yes + +[Install] +WantedBy=network-online.target