| Message ID | 20251212182420.24920-2-twoerner@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-rockchip,v2,1/2] provide a filesystem overlay example | expand |
On Fri 2025-12-12 @ 01:24:20 PM, Trevor Woerner wrote: > The system location for systemd unit files is in /usr/lib/systemd and > local or admin-created unit files, that are meant to take precedence > over the units in the system location, are to be placed in /etc/systemd. > Move these unit files to the system location instead of putting them in > the override location. > > Signed-off-by: Trevor Woerner <twoerner@gmail.com> > --- > changes since v1: > - added > --- > .../rk-rauc-demo/recipes-core/systemd/abd-partition.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Pushed to meta-rockchip, master branch.
diff --git a/dynamic-layers/rk-rauc-demo/recipes-core/systemd/abd-partition.bb b/dynamic-layers/rk-rauc-demo/recipes-core/systemd/abd-partition.bb index d5cb42738e72..65a52395dfff 100644 --- a/dynamic-layers/rk-rauc-demo/recipes-core/systemd/abd-partition.bb +++ b/dynamic-layers/rk-rauc-demo/recipes-core/systemd/abd-partition.bb @@ -21,8 +21,8 @@ do_install() { install -m 0644 ${UNPACKDIR}/35-rootfsB.conf ${D}${sysconfdir}/repart.d/ install -m 0644 ${UNPACKDIR}/45-data.conf ${D}${sysconfdir}/repart.d/ - install -d ${D}${sysconfdir}/systemd/system - install -m 0644 ${UNPACKDIR}/data.mount ${D}${sysconfdir}/systemd/system/ + install -d ${D}${systemd_system_unitdir} + install -m 0644 ${UNPACKDIR}/data.mount ${D}${systemd_system_unitdir} } RDEPENDS:${PN} += "e2fsprogs-mke2fs"
The system location for systemd unit files is in /usr/lib/systemd and local or admin-created unit files, that are meant to take precedence over the units in the system location, are to be placed in /etc/systemd. Move these unit files to the system location instead of putting them in the override location. Signed-off-by: Trevor Woerner <twoerner@gmail.com> --- changes since v1: - added --- .../rk-rauc-demo/recipes-core/systemd/abd-partition.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)