All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: yocto-patches@lists.yoctoproject.org
Subject: [meta-rockchip][PATCH v2 2/2] abd-partition: place unit file in system location
Date: Fri, 12 Dec 2025 13:24:20 -0500	[thread overview]
Message-ID: <20251212182420.24920-2-twoerner@gmail.com> (raw)
In-Reply-To: <20251212182420.24920-1-twoerner@gmail.com>

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(-)

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"
-- 
2.51.0.193.g4975ec3473b4



  reply	other threads:[~2025-12-12 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-12 18:24 [meta-rockchip][PATCH v2 1/2] provide a filesystem overlay example Trevor Woerner
2025-12-12 18:24 ` Trevor Woerner [this message]
2025-12-13  7:11   ` [meta-rockchip][PATCH v2 2/2] abd-partition: place unit file in system location Trevor Woerner
2025-12-12 19:11 ` [yocto-patches] [meta-rockchip][PATCH v2 1/2] provide a filesystem overlay example Quentin Schulz
2025-12-13  7:10 ` Trevor Woerner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251212182420.24920-2-twoerner@gmail.com \
    --to=twoerner@gmail.com \
    --cc=yocto-patches@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.