From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: buildroot@buildroot.org
Cc: Marek Belisko <marek.belisko@open-nandra.com>,
Giulio Benetti <giulio.benetti@benettiengineering.com>,
"Claude Opus 5.5" <noreply@anthropic.com>
Subject: [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0
Date: Sat, 14 Nov 2026 22:04:48 +0100 [thread overview]
Message-ID: <20261114210449.1550804-1-giulio.benetti@benettiengineering.com> (raw)
Release notes:
https://github.com/storaged-project/libblockdev/releases/tag/3.6.0
The crypto plugin now uses libdevmapper directly, so add lvm2 to the
dependencies of the crypto plugin (it was previously only pulled in
indirectly through cryptsetup).
Refresh patch 0001 so it applies without fuzz.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
...ide-replacement-function-for-strerror_l.patch | 16 ++++++++--------
package/libblockdev/Config.in | 1 +
package/libblockdev/libblockdev.hash | 2 +-
package/libblockdev/libblockdev.mk | 4 ++--
4 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch b/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch
index dbbe3e5c4a..d350609373 100644
--- a/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch
+++ b/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch
@@ -1,4 +1,4 @@
-From 3d198be196bdc59ba332b87d8c2959de0b9160d2 Mon Sep 17 00:00:00 2001
+From 3cddbb1e225b4361fdec9c79799bdc35270c1f7a Mon Sep 17 00:00:00 2001
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
Date: Sat, 20 Jan 2024 13:29:28 +0100
Subject: [PATCH] Provide replacement function for strerror_l()
@@ -11,7 +11,7 @@ Upstream: N/A since it's due uclibc only
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
-[Giulio: ported to version 3.0, 3.1 and 3.5]
+[Giulio: ported to version 3.0, 3.1, 3.5 and 3.6]
---
configure.ac | 2 ++
src/utils/dev_utils.c | 1 +
@@ -20,7 +20,7 @@ Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
4 files changed, 8 insertions(+)
diff --git a/configure.ac b/configure.ac
-index e5d65d8b..507fa854 100644
+index c129e1a..6a48df1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,6 +123,8 @@ AC_CHECK_HEADERS([dlfcn.h string.h unistd.h sys/fcntl.h sys/ioctl.h linux/random
@@ -33,11 +33,11 @@ index e5d65d8b..507fa854 100644
AS_HELP_STRING([--with-escrow], [support escrow @<:@default=yes@:>@]),
[],
diff --git a/src/utils/dev_utils.c b/src/utils/dev_utils.c
-index 89a54b4c..b4be5b44 100644
+index 8587bed..619cc30 100644
--- a/src/utils/dev_utils.c
+++ b/src/utils/dev_utils.c
-@@ -23,6 +23,7 @@
- #include <errno.h>
+@@ -24,6 +24,7 @@
+ #include <stdlib.h>
#include "dev_utils.h"
+#include "utils.h"
@@ -45,7 +45,7 @@ index 89a54b4c..b4be5b44 100644
/**
* bd_utils_dev_utils_error_quark: (skip)
diff --git a/src/utils/module.c b/src/utils/module.c
-index 11e139f8..c8b124e0 100644
+index f36579e..edeaaf0 100644
--- a/src/utils/module.c
+++ b/src/utils/module.c
@@ -28,6 +28,7 @@
@@ -57,7 +57,7 @@ index 11e139f8..c8b124e0 100644
/**
diff --git a/src/utils/utils.h b/src/utils/utils.h
-index 801a8b6e..b2bdf0d0 100644
+index 801a8b6..b2bdf0d 100644
--- a/src/utils/utils.h
+++ b/src/utils/utils.h
@@ -9,6 +9,10 @@
diff --git a/package/libblockdev/Config.in b/package/libblockdev/Config.in
index e9e9faaa05..beebf523da 100644
--- a/package/libblockdev/Config.in
+++ b/package/libblockdev/Config.in
@@ -28,6 +28,7 @@ config BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
select BR2_PACKAGE_CRYPTSETUP
select BR2_PACKAGE_KEYUTILS
+ select BR2_PACKAGE_LVM2 # devmapper
config BR2_PACKAGE_LIBBLOCKDEV_FS
bool "filesystem"
diff --git a/package/libblockdev/libblockdev.hash b/package/libblockdev/libblockdev.hash
index e76e02a756..22cb9f271a 100644
--- a/package/libblockdev/libblockdev.hash
+++ b/package/libblockdev/libblockdev.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 bccd30e6b5d11504de60d9889ff6a2a25b07a4ec8f04070f2387e168301b3e3a libblockdev-3.5.0.tar.gz
+sha256 9c21338257746cd00c25fcf5975716d016b6d43bfde20ee21f254cbf7d0d2742 libblockdev-3.6.0.tar.gz
sha256 97bdc721d875501b6243a456333fdfdb1ab64d31c4da2554de845caf4674b946 LICENSE
diff --git a/package/libblockdev/libblockdev.mk b/package/libblockdev/libblockdev.mk
index 89a398c6e5..b439ecd266 100644
--- a/package/libblockdev/libblockdev.mk
+++ b/package/libblockdev/libblockdev.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBBLOCKDEV_VERSION = 3.5.0
+LIBBLOCKDEV_VERSION = 3.6.0
LIBBLOCKDEV_SITE = https://github.com/storaged-project/libblockdev/releases/download/$(LIBBLOCKDEV_VERSION)
LIBBLOCKDEV_LICENSE = LGPL-2.1
LIBBLOCKDEV_LICENSE_FILES = LICENSE
@@ -27,7 +27,7 @@ LIBBLOCKDEV_CONF_OPTS = \
--without-tools
ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_CRYPTO),y)
-LIBBLOCKDEV_DEPENDENCIES += cryptsetup keyutils
+LIBBLOCKDEV_DEPENDENCIES += cryptsetup keyutils lvm2
LIBBLOCKDEV_CONF_OPTS += --with-crypto
else
LIBBLOCKDEV_CONF_OPTS += --without-crypto
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2026-11-14 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 21:04 Giulio Benetti [this message]
2026-11-14 21:04 ` [Buildroot] [PATCH 2/2] package/udisks: bump to version 2.12.0 Giulio Benetti
2026-11-15 16:57 ` [Buildroot] [PATCH 1/2] package/libblockdev: bump to version 3.6.0 Julien Olivain via buildroot
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=20261114210449.1550804-1-giulio.benetti@benettiengineering.com \
--to=giulio.benetti@benettiengineering.com \
--cc=buildroot@buildroot.org \
--cc=marek.belisko@open-nandra.com \
--cc=noreply@anthropic.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox