All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/multipath-tools: drop patch
@ 2022-12-26 13:02 Fabrice Fontaine
  2022-12-26 21:04 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-12-26 13:02 UTC (permalink / raw)
  To: buildroot; +Cc: Alexander Egorenkov, Fabrice Fontaine

Drop path and set SYSTEMD="" if needed following upstream feedback:
https://github.com/opensvc/multipath-tools/pull/34

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...ble-systemd-if-ENABLE_SYSTEMD-is-def.patch | 35 -------------------
 package/multipath-tools/multipath-tools.mk    |  3 +-
 2 files changed, 2 insertions(+), 36 deletions(-)
 delete mode 100644 package/multipath-tools/0001-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch

diff --git a/package/multipath-tools/0001-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch b/package/multipath-tools/0001-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch
deleted file mode 100644
index 133094a7f7..0000000000
--- a/package/multipath-tools/0001-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 8370da992c752e4238de7a8b02ce0e179353c959 Mon Sep 17 00:00:00 2001
-From: Alexander Egorenkov <egorenar-dev@posteo.net>
-Date: Sun, 6 Sep 2020 10:37:41 +0200
-Subject: [PATCH] Makefile.inc: Enable systemd if ENABLE_SYSTEMD is defined
-
-systemd is disabled by default, to activate it set ENABLE_SYSTEMD.
-
-Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
----
- Makefile.inc | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/Makefile.inc b/Makefile.inc
-index d4d1e0dd..32bc1846 100644
---- a/Makefile.inc
-+++ b/Makefile.inc
-@@ -35,6 +35,7 @@ ifndef RUN
- 	endif
- endif
- 
-+ifdef ENABLE_SYSTEMD
- ifndef SYSTEMD
- 	ifeq ($(shell pkg-config --modversion libsystemd >/dev/null 2>&1 && echo 1), 1)
- 		SYSTEMD = $(shell pkg-config --modversion libsystemd)
-@@ -45,6 +46,7 @@ ifndef SYSTEMD
- 		endif
- 	endif
- endif
-+endif
- 
- ifndef SYSTEMDPATH
- 	SYSTEMDPATH=usr/lib
--- 
-2.28.0
-
diff --git a/package/multipath-tools/multipath-tools.mk b/package/multipath-tools/multipath-tools.mk
index df3d5138e8..d6abf68ca0 100644
--- a/package/multipath-tools/multipath-tools.mk
+++ b/package/multipath-tools/multipath-tools.mk
@@ -31,7 +31,8 @@ MULTIPATH_TOOLS_MAKE_OPTS = \
 
 ifeq ($(BR2_PACKAGE_SYSTEMD),y)
 MULTIPATH_TOOLS_DEPENDENCIES += systemd
-MULTIPATH_TOOLS_MAKE_OPTS += ENABLE_SYSTEMD=1
+else
+MULTIPATH_TOOLS_MAKE_OPTS += SYSTEMD=""
 endif
 
 define MULTIPATH_TOOLS_BUILD_CMDS
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/multipath-tools: drop patch
  2022-12-26 13:02 [Buildroot] [PATCH 1/1] package/multipath-tools: drop patch Fabrice Fontaine
@ 2022-12-26 21:04 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-12-26 21:04 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Alexander Egorenkov, buildroot

Fabrice, All,

On 2022-12-26 14:02 +0100, Fabrice Fontaine spake thusly:
> Drop path and set SYSTEMD="" if needed following upstream feedback:
> https://github.com/opensvc/multipath-tools/pull/34
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  ...ble-systemd-if-ENABLE_SYSTEMD-is-def.patch | 35 -------------------
>  package/multipath-tools/multipath-tools.mk    |  3 +-
>  2 files changed, 2 insertions(+), 36 deletions(-)
>  delete mode 100644 package/multipath-tools/0001-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch
> 
> diff --git a/package/multipath-tools/0001-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch b/package/multipath-tools/0001-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch
> deleted file mode 100644
> index 133094a7f7..0000000000
> --- a/package/multipath-tools/0001-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch
> +++ /dev/null
> @@ -1,35 +0,0 @@
> -From 8370da992c752e4238de7a8b02ce0e179353c959 Mon Sep 17 00:00:00 2001
> -From: Alexander Egorenkov <egorenar-dev@posteo.net>
> -Date: Sun, 6 Sep 2020 10:37:41 +0200
> -Subject: [PATCH] Makefile.inc: Enable systemd if ENABLE_SYSTEMD is defined
> -
> -systemd is disabled by default, to activate it set ENABLE_SYSTEMD.
> -
> -Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
> ----
> - Makefile.inc | 2 ++
> - 1 file changed, 2 insertions(+)
> -
> -diff --git a/Makefile.inc b/Makefile.inc
> -index d4d1e0dd..32bc1846 100644
> ---- a/Makefile.inc
> -+++ b/Makefile.inc
> -@@ -35,6 +35,7 @@ ifndef RUN
> - 	endif
> - endif
> - 
> -+ifdef ENABLE_SYSTEMD
> - ifndef SYSTEMD
> - 	ifeq ($(shell pkg-config --modversion libsystemd >/dev/null 2>&1 && echo 1), 1)
> - 		SYSTEMD = $(shell pkg-config --modversion libsystemd)
> -@@ -45,6 +46,7 @@ ifndef SYSTEMD
> - 		endif
> - 	endif
> - endif
> -+endif
> - 
> - ifndef SYSTEMDPATH
> - 	SYSTEMDPATH=usr/lib
> --- 
> -2.28.0
> -
> diff --git a/package/multipath-tools/multipath-tools.mk b/package/multipath-tools/multipath-tools.mk
> index df3d5138e8..d6abf68ca0 100644
> --- a/package/multipath-tools/multipath-tools.mk
> +++ b/package/multipath-tools/multipath-tools.mk
> @@ -31,7 +31,8 @@ MULTIPATH_TOOLS_MAKE_OPTS = \
>  
>  ifeq ($(BR2_PACKAGE_SYSTEMD),y)
>  MULTIPATH_TOOLS_DEPENDENCIES += systemd
> -MULTIPATH_TOOLS_MAKE_OPTS += ENABLE_SYSTEMD=1
> +else
> +MULTIPATH_TOOLS_MAKE_OPTS += SYSTEMD=""
>  endif
>  
>  define MULTIPATH_TOOLS_BUILD_CMDS
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-12-26 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-26 13:02 [Buildroot] [PATCH 1/1] package/multipath-tools: drop patch Fabrice Fontaine
2022-12-26 21:04 ` Yann E. MORIN

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.