* [meta-virtualization][PATCH v2] podman: fix location of user systemd service units
@ 2024-04-16 22:56 lukasz.czechowski
2024-04-22 15:03 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: lukasz.czechowski @ 2024-04-16 22:56 UTC (permalink / raw)
To: meta-virtualization; +Cc: Lukasz Czechowski, Bruce Ashfield
From: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
The value of USERSYSTEMDDIR is currently set to
${systemd_unitdir}/user, which might not be present in user unit
search path.
Use dedicated bitbake variable ${systemd_user_unitdir} instead.
Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
---
recipes-containers/podman/podman_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 3eadd202..f69dec16 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -62,7 +62,7 @@ do_configure[noexec] = "1"
EXTRA_OEMAKE = " \
PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir} \
ETCDIR=${sysconfdir} TMPFILESDIR=${nonarch_libdir}/tmpfiles.d \
- SYSTEMDDIR=${systemd_unitdir}/system USERSYSTEMDDIR=${systemd_unitdir}/user \
+ SYSTEMDDIR=${systemd_unitdir}/system USERSYSTEMDDIR=${systemd_user_unitdir} \
"
# remove 'docker' from the packageconfig if you don't want podman to
@@ -134,7 +134,7 @@ do_install_ptest () {
FILES:${PN} += " \
${systemd_unitdir}/system/* \
${nonarch_libdir}/systemd/* \
- ${systemd_unitdir}/user/* \
+ ${systemd_user_unitdir/* \
${nonarch_libdir}/tmpfiles.d/* \
${datadir}/user-tmpfiles.d/* \
${sysconfdir}/cni \
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-virtualization][PATCH v2] podman: fix location of user systemd service units
2024-04-16 22:56 [meta-virtualization][PATCH v2] podman: fix location of user systemd service units lukasz.czechowski
@ 2024-04-22 15:03 ` Bruce Ashfield
2024-04-30 14:45 ` Theodore A. Roth
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2024-04-22 15:03 UTC (permalink / raw)
To: lukasz.czechowski; +Cc: meta-virtualization
merged to master and scarthgap.
Bruce
In message: [meta-virtualization][PATCH v2] podman: fix location of user systemd service units
on 17/04/2024 lukasz.czechowski@thaumatec.com wrote:
> From: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
>
> The value of USERSYSTEMDDIR is currently set to
> ${systemd_unitdir}/user, which might not be present in user unit
> search path.
> Use dedicated bitbake variable ${systemd_user_unitdir} instead.
>
> Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
> Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
> ---
> recipes-containers/podman/podman_git.bb | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
> index 3eadd202..f69dec16 100644
> --- a/recipes-containers/podman/podman_git.bb
> +++ b/recipes-containers/podman/podman_git.bb
> @@ -62,7 +62,7 @@ do_configure[noexec] = "1"
> EXTRA_OEMAKE = " \
> PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir} \
> ETCDIR=${sysconfdir} TMPFILESDIR=${nonarch_libdir}/tmpfiles.d \
> - SYSTEMDDIR=${systemd_unitdir}/system USERSYSTEMDDIR=${systemd_unitdir}/user \
> + SYSTEMDDIR=${systemd_unitdir}/system USERSYSTEMDDIR=${systemd_user_unitdir} \
> "
>
> # remove 'docker' from the packageconfig if you don't want podman to
> @@ -134,7 +134,7 @@ do_install_ptest () {
> FILES:${PN} += " \
> ${systemd_unitdir}/system/* \
> ${nonarch_libdir}/systemd/* \
> - ${systemd_unitdir}/user/* \
> + ${systemd_user_unitdir/* \
> ${nonarch_libdir}/tmpfiles.d/* \
> ${datadir}/user-tmpfiles.d/* \
> ${sysconfdir}/cni \
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-virtualization][PATCH v2] podman: fix location of user systemd service units
2024-04-22 15:03 ` Bruce Ashfield
@ 2024-04-30 14:45 ` Theodore A. Roth
2024-05-01 2:29 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: Theodore A. Roth @ 2024-04-30 14:45 UTC (permalink / raw)
To: bruce.ashfield; +Cc: lukasz.czechowski, meta-virtualization
[-- Attachment #1: Type: text/plain, Size: 1996 bytes --]
On Mon, Apr 22, 2024 at 9:03 AM Bruce Ashfield via lists.yoctoproject.org
<bruce.ashfield=gmail.com@lists.yoctoproject.org> wrote:
> merged to master and scarthgap.
>
> Bruce
>
> In message: [meta-virtualization][PATCH v2] podman: fix location of user
> systemd service units
> on 17/04/2024 lukasz.czechowski@thaumatec.com wrote:
>
> > From: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
> >
> > The value of USERSYSTEMDDIR is currently set to
> > ${systemd_unitdir}/user, which might not be present in user unit
> > search path.
> > Use dedicated bitbake variable ${systemd_user_unitdir} instead.
> >
> > Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
> > Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
> > ---
> > recipes-containers/podman/podman_git.bb | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/recipes-containers/podman/podman_git.bb
> b/recipes-containers/podman/podman_git.bb
> > index 3eadd202..f69dec16 100644
> > --- a/recipes-containers/podman/podman_git.bb
> > +++ b/recipes-containers/podman/podman_git.bb
> > @@ -62,7 +62,7 @@ do_configure[noexec] = "1"
> > EXTRA_OEMAKE = " \
> > PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir} \
> > ETCDIR=${sysconfdir} TMPFILESDIR=${nonarch_libdir}/tmpfiles.d \
> > - SYSTEMDDIR=${systemd_unitdir}/system
> USERSYSTEMDDIR=${systemd_unitdir}/user \
> > + SYSTEMDDIR=${systemd_unitdir}/system
> USERSYSTEMDDIR=${systemd_user_unitdir} \
> > "
> >
> > # remove 'docker' from the packageconfig if you don't want podman to
> > @@ -134,7 +134,7 @@ do_install_ptest () {
> > FILES:${PN} += " \
> > ${systemd_unitdir}/system/* \
> > ${nonarch_libdir}/systemd/* \
> > - ${systemd_unitdir}/user/* \
> > + ${systemd_user_unitdir/* \
>
Just noticed that this is missing the closing brace. This typo is on master
and scarthgap branches.
Would you like me to send a patch?
Ted Roth
[-- Attachment #2: Type: text/html, Size: 3321 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-virtualization][PATCH v2] podman: fix location of user systemd service units
2024-04-30 14:45 ` Theodore A. Roth
@ 2024-05-01 2:29 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2024-05-01 2:29 UTC (permalink / raw)
To: Theodore A. Roth; +Cc: lukasz.czechowski, meta-virtualization
[-- Attachment #1: Type: text/plain, Size: 2416 bytes --]
On Tue, Apr 30, 2024 at 10:45 AM Theodore A. Roth <troth@openavr.org> wrote:
>
>
> On Mon, Apr 22, 2024 at 9:03 AM Bruce Ashfield via lists.yoctoproject.org
> <bruce.ashfield=gmail.com@lists.yoctoproject.org> wrote:
>
>> merged to master and scarthgap.
>>
>> Bruce
>>
>> In message: [meta-virtualization][PATCH v2] podman: fix location of user
>> systemd service units
>> on 17/04/2024 lukasz.czechowski@thaumatec.com wrote:
>>
>> > From: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
>> >
>> > The value of USERSYSTEMDDIR is currently set to
>> > ${systemd_unitdir}/user, which might not be present in user unit
>> > search path.
>> > Use dedicated bitbake variable ${systemd_user_unitdir} instead.
>> >
>> > Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
>> > Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
>> > ---
>> > recipes-containers/podman/podman_git.bb | 4 ++--
>> > 1 file changed, 2 insertions(+), 2 deletions(-)
>> >
>> > diff --git a/recipes-containers/podman/podman_git.bb
>> b/recipes-containers/podman/podman_git.bb
>> > index 3eadd202..f69dec16 100644
>> > --- a/recipes-containers/podman/podman_git.bb
>> > +++ b/recipes-containers/podman/podman_git.bb
>> > @@ -62,7 +62,7 @@ do_configure[noexec] = "1"
>> > EXTRA_OEMAKE = " \
>> > PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir} \
>> > ETCDIR=${sysconfdir} TMPFILESDIR=${nonarch_libdir}/tmpfiles.d \
>> > - SYSTEMDDIR=${systemd_unitdir}/system
>> USERSYSTEMDDIR=${systemd_unitdir}/user \
>> > + SYSTEMDDIR=${systemd_unitdir}/system
>> USERSYSTEMDDIR=${systemd_user_unitdir} \
>> > "
>> >
>> > # remove 'docker' from the packageconfig if you don't want podman to
>> > @@ -134,7 +134,7 @@ do_install_ptest () {
>> > FILES:${PN} += " \
>> > ${systemd_unitdir}/system/* \
>> > ${nonarch_libdir}/systemd/* \
>> > - ${systemd_unitdir}/user/* \
>> > + ${systemd_user_unitdir/* \
>>
>
> Just noticed that this is missing the closing brace. This typo is on
> master and scarthgap branches.
>
> Would you like me to send a patch?
>
>
Sure! I'm doing some other major package additions and updates right now,
so a patch is easier for me.
Bruce
> Ted Roth
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
[-- Attachment #2: Type: text/html, Size: 4569 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-01 2:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-16 22:56 [meta-virtualization][PATCH v2] podman: fix location of user systemd service units lukasz.czechowski
2024-04-22 15:03 ` Bruce Ashfield
2024-04-30 14:45 ` Theodore A. Roth
2024-05-01 2:29 ` Bruce Ashfield
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.