All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] podman: Rename podman-rootless.conf sysctl file to aid overrides
@ 2022-08-24  0:07 Andrei Gherzan
  2022-08-24  1:48 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Andrei Gherzan @ 2022-08-24  0:07 UTC (permalink / raw)
  To: meta-virtualization; +Cc: andrei, Andrei Gherzan

From: Andrei Gherzan <andrei.gherzan@huawei.com>

Files are sorted in lexicographic order. Moving podman-rootless.conf to
something greater then '00' would help with systems providing default
values in other configuration files that can be overridden by
podman-rootless.conf.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../{00-podman-rootless.conf => 50-podman-rootless.conf}      | 0
 recipes-containers/podman/podman_git.bb                       | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename recipes-containers/podman/podman/{00-podman-rootless.conf => 50-podman-rootless.conf} (100%)

diff --git a/recipes-containers/podman/podman/00-podman-rootless.conf b/recipes-containers/podman/podman/50-podman-rootless.conf
similarity index 100%
rename from recipes-containers/podman/podman/00-podman-rootless.conf
rename to recipes-containers/podman/podman/50-podman-rootless.conf
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 9b92094..e999192 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -22,7 +22,7 @@ SRC_URI = " \
     git://github.com/containers/libpod.git;branch=v4.1;protocol=https \
     file://0001-Rename-BUILDFLAGS-to-GOBUILDFLAGS.patch;patchdir=src/import \
     file://0002-Define-ActKillThread-equal-to-ActKill.patch;patchdir=src/import/vendor/github.com/seccomp/libseccomp-golang \
-    ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://00-podman-rootless.conf', '', d)} \
+    ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \
 "
 
 LICENSE = "Apache-2.0"
@@ -105,7 +105,7 @@ do_install() {
 
 	if ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'true', 'false', d)}; then
 		install -d "${D}${sysconfdir}/sysctl.d"
-		install -m 0644 "${WORKDIR}/00-podman-rootless.conf" "${D}${sysconfdir}/sysctl.d"
+		install -m 0644 "${WORKDIR}/50-podman-rootless.conf" "${D}${sysconfdir}/sysctl.d"
 	fi
 }
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-virtualization][PATCH] podman: Rename podman-rootless.conf sysctl file to aid overrides
  2022-08-24  0:07 [meta-virtualization][PATCH] podman: Rename podman-rootless.conf sysctl file to aid overrides Andrei Gherzan
@ 2022-08-24  1:48 ` Bruce Ashfield
  2022-08-24  9:40   ` Andrei Gherzan
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2022-08-24  1:48 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: meta-virtualization, Andrei Gherzan

merged.

Bruce

In message: [meta-virtualization][PATCH] podman: Rename podman-rootless.conf sysctl file to aid overrides
on 24/08/2022 Andrei Gherzan wrote:

> From: Andrei Gherzan <andrei.gherzan@huawei.com>
> 
> Files are sorted in lexicographic order. Moving podman-rootless.conf to
> something greater then '00' would help with systems providing default
> values in other configuration files that can be overridden by
> podman-rootless.conf.
> 
> Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
> ---
>  .../{00-podman-rootless.conf => 50-podman-rootless.conf}      | 0
>  recipes-containers/podman/podman_git.bb                       | 4 ++--
>  2 files changed, 2 insertions(+), 2 deletions(-)
>  rename recipes-containers/podman/podman/{00-podman-rootless.conf => 50-podman-rootless.conf} (100%)
> 
> diff --git a/recipes-containers/podman/podman/00-podman-rootless.conf b/recipes-containers/podman/podman/50-podman-rootless.conf
> similarity index 100%
> rename from recipes-containers/podman/podman/00-podman-rootless.conf
> rename to recipes-containers/podman/podman/50-podman-rootless.conf
> diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
> index 9b92094..e999192 100644
> --- a/recipes-containers/podman/podman_git.bb
> +++ b/recipes-containers/podman/podman_git.bb
> @@ -22,7 +22,7 @@ SRC_URI = " \
>      git://github.com/containers/libpod.git;branch=v4.1;protocol=https \
>      file://0001-Rename-BUILDFLAGS-to-GOBUILDFLAGS.patch;patchdir=src/import \
>      file://0002-Define-ActKillThread-equal-to-ActKill.patch;patchdir=src/import/vendor/github.com/seccomp/libseccomp-golang \
> -    ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://00-podman-rootless.conf', '', d)} \
> +    ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \
>  "
>  
>  LICENSE = "Apache-2.0"
> @@ -105,7 +105,7 @@ do_install() {
>  
>  	if ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'true', 'false', d)}; then
>  		install -d "${D}${sysconfdir}/sysctl.d"
> -		install -m 0644 "${WORKDIR}/00-podman-rootless.conf" "${D}${sysconfdir}/sysctl.d"
> +		install -m 0644 "${WORKDIR}/50-podman-rootless.conf" "${D}${sysconfdir}/sysctl.d"
>  	fi
>  }
>  
> -- 
> 2.25.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7556): https://lists.yoctoproject.org/g/meta-virtualization/message/7556
> Mute This Topic: https://lists.yoctoproject.org/mt/93217340/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-virtualization][PATCH] podman: Rename podman-rootless.conf sysctl file to aid overrides
  2022-08-24  1:48 ` Bruce Ashfield
@ 2022-08-24  9:40   ` Andrei Gherzan
  2022-08-25 16:37     ` Andrei Gherzan
  0 siblings, 1 reply; 4+ messages in thread
From: Andrei Gherzan @ 2022-08-24  9:40 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization

On Wed, 24 Aug 2022, at 02:48, Bruce Ashfield wrote:
> merged.

Thanks, Bruce. Can you also cherry-pick this into kirkstone?

Andrei


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-virtualization][PATCH] podman: Rename podman-rootless.conf sysctl file to aid overrides
  2022-08-24  9:40   ` Andrei Gherzan
@ 2022-08-25 16:37     ` Andrei Gherzan
  0 siblings, 0 replies; 4+ messages in thread
From: Andrei Gherzan @ 2022-08-25 16:37 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization

On Wed, 24 Aug 2022, at 10:40, Andrei Gherzan wrote:
> On Wed, 24 Aug 2022, at 02:48, Bruce Ashfield wrote:
>> merged.
>
> Thanks, Bruce. Can you also cherry-pick this into kirkstone?

For clarity, I've sent a kirkstone patch too: https://lists.yoctoproject.org/g/meta-virtualization/message/7556

Andrei


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-25 16:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-24  0:07 [meta-virtualization][PATCH] podman: Rename podman-rootless.conf sysctl file to aid overrides Andrei Gherzan
2022-08-24  1:48 ` Bruce Ashfield
2022-08-24  9:40   ` Andrei Gherzan
2022-08-25 16:37     ` Andrei Gherzan

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.