* [Buildroot] [PATCH 1/1] package/mdadm: bump to version 4.3
@ 2024-03-30 9:59 Fabrice Fontaine
2024-04-10 21:10 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-03-30 9:59 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
https://lore.kernel.org/all/20240215183844.00003735@linux.intel.com
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...not-require-libudev-h-if-DNO_LIBUDEV.patch | 34 +++++++++++++++++++
package/mdadm/mdadm.hash | 2 +-
package/mdadm/mdadm.mk | 2 +-
3 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 package/mdadm/0001-udev-c-Do-not-require-libudev-h-if-DNO_LIBUDEV.patch
diff --git a/package/mdadm/0001-udev-c-Do-not-require-libudev-h-if-DNO_LIBUDEV.patch b/package/mdadm/0001-udev-c-Do-not-require-libudev-h-if-DNO_LIBUDEV.patch
new file mode 100644
index 0000000000..5c3d6e03b4
--- /dev/null
+++ b/package/mdadm/0001-udev-c-Do-not-require-libudev-h-if-DNO_LIBUDEV.patch
@@ -0,0 +1,34 @@
+From 1750758c7ff526e3560433f6235e5cfa35cf646a Mon Sep 17 00:00:00 2001
+From: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
+Date: Wed, 6 Mar 2024 15:50:55 +0100
+Subject: udev.c: Do not require libudev.h if DNO_LIBUDEV
+
+libudev may not be presented at all, do not require it.
+
+Reported-by: Boian Bonev <bbonev@ipacct.com>
+Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
+
+Upstream: https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=1750758c7ff526e3560433f6235e5cfa35cf646a
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ udev.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/udev.c b/udev.c
+index bc4722b0..066e6ab1 100644
+--- a/udev.c
++++ b/udev.c
+@@ -26,7 +26,10 @@
+ #include <signal.h>
+ #include <limits.h>
+ #include <syslog.h>
++
++#ifndef NO_LIBUDEV
+ #include <libudev.h>
++#endif
+
+ static char *unblock_path;
+
+--
+cgit 1.2.3-korg
+
diff --git a/package/mdadm/mdadm.hash b/package/mdadm/mdadm.hash
index b9631a2aaa..84bae1aebf 100644
--- a/package/mdadm/mdadm.hash
+++ b/package/mdadm/mdadm.hash
@@ -1,4 +1,4 @@
# From https://www.kernel.org/pub/linux/utils/raid/mdadm/sha256sums.asc
-sha256 461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d mdadm-4.2.tar.xz
+sha256 416727ae1f1080ea6e3090cea36dd076826fc369151e36ab736557ba92196f9f mdadm-4.3.tar.xz
# Locally calculated
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
diff --git a/package/mdadm/mdadm.mk b/package/mdadm/mdadm.mk
index b54e34b230..c6178700ef 100644
--- a/package/mdadm/mdadm.mk
+++ b/package/mdadm/mdadm.mk
@@ -4,7 +4,7 @@
#
################################################################################
-MDADM_VERSION = 4.2
+MDADM_VERSION = 4.3
MDADM_SOURCE = mdadm-$(MDADM_VERSION).tar.xz
MDADM_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/raid/mdadm
MDADM_LICENSE = GPL-2.0+
--
2.43.0
_______________________________________________
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/mdadm: bump to version 4.3
2024-03-30 9:59 [Buildroot] [PATCH 1/1] package/mdadm: bump to version 4.3 Fabrice Fontaine
@ 2024-04-10 21:10 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-04-10 21:10 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
On Sat, 30 Mar 2024 10:59:33 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> https://lore.kernel.org/all/20240215183844.00003735@linux.intel.com
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...not-require-libudev-h-if-DNO_LIBUDEV.patch | 34 +++++++++++++++++++
> package/mdadm/mdadm.hash | 2 +-
> package/mdadm/mdadm.mk | 2 +-
> 3 files changed, 36 insertions(+), 2 deletions(-)
> create mode 100644 package/mdadm/0001-udev-c-Do-not-require-libudev-h-if-DNO_LIBUDEV.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
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:[~2024-04-10 21:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-30 9:59 [Buildroot] [PATCH 1/1] package/mdadm: bump to version 4.3 Fabrice Fontaine
2024-04-10 21:10 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox