diff --git a/packages/release/release.spec b/packages/release/release.spec index 4e1533db90e..e0df5a23d64 100644 --- a/packages/release/release.spec +++ b/packages/release/release.spec @@ -75,6 +75,7 @@ Source1080: runtime.slice # Drop-in units to override defaults Source1100: systemd-tmpfiles-setup-service-debug.conf Source1101: systemd-resolved-service-env.conf +Source1102: systemd-networkd-service-env.conf # systemd-udevd default link Source1200: 80-release.link @@ -167,6 +168,10 @@ install -d %{buildroot}%{_cross_unitdir}/systemd-resolved.service.d install -p -m 0644 %{S:1101} \ %{buildroot}%{_cross_unitdir}/systemd-resolved.service.d/00-env.conf +install -d %{buildroot}%{_cross_unitdir}/systemd-networkd.service.d +install -p -m 0644 %{S:1102} \ + %{buildroot}%{_cross_unitdir}/systemd-networkd.service.d/00-env.conf + LOWERPATH=$(systemd-escape --path %{_cross_sharedstatedir}/kernel-devel/.overlay/lower) sed -e 's|PREFIX|%{_cross_prefix}|' %{S:1020} > ${LOWERPATH}.mount install -p -m 0644 ${LOWERPATH}.mount %{buildroot}%{_cross_unitdir} @@ -251,6 +256,8 @@ ln -s preconfigured.target %{buildroot}%{_cross_unitdir}/default.target %{_cross_unitdir}/deprecation-warning@.timer %dir %{_cross_unitdir}/systemd-resolved.service.d %{_cross_unitdir}/systemd-resolved.service.d/00-env.conf +%dir %{_cross_unitdir}/systemd-networkd.service.d +%{_cross_unitdir}/systemd-networkd.service.d/00-env.conf %dir %{_cross_unitdir}/systemd-tmpfiles-setup.service.d %{_cross_unitdir}/systemd-tmpfiles-setup.service.d/00-debug.conf %dir %{_cross_templatedir} diff --git a/packages/release/systemd-networkd-service-env.conf b/packages/release/systemd-networkd-service-env.conf new file mode 100644 index 00000000000..e81831b77f6 --- /dev/null +++ b/packages/release/systemd-networkd-service-env.conf @@ -0,0 +1,2 @@ +[Service] +Environment=SYSTEMD_NETLINK_DEFAULT_TIMEOUT=infinity