From 98378d686565b16e46908e885074df7ba540ca71 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 20 May 2021 18:24:27 +0200 Subject: [PATCH 1/2] liburcu: Add version 0.12.2 Needed by multipath-tools (kpartx). [Description](https://liburcu.org/): > liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This > data synchronization library provides read-side access which scales > linearly with the number of cores. --- liburcu.be0 | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 liburcu.be0 diff --git a/liburcu.be0 b/liburcu.be0 new file mode 100755 index 000000000..c2495807a --- /dev/null +++ b/liburcu.be0 @@ -0,0 +1,37 @@ +#!/usr/bin/env beesh + +# BEE_VERSION liburcu-0.12.2-0 + +# more info: https://liburcu.org/ + +SRCURL[0]="https://lttng.org/files/urcu/userspace-rcu-${PKGVERSION}.tar.bz2" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#} From 470bef8c2d20caaf964eecb8a1a8debb065f70d3 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 20 May 2021 17:03:29 +0200 Subject: [PATCH 2/2] multipath-tools: Add version 0.8.6, only install kpartx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit kpartx is handy to work on raw disk images. From kpartx(8): > This tool, derived from util-linux' partx, reads partition tables on > specified device and create device maps over partitions segments detected. > It is called from hotplug upon device maps creation and deletion. > To mount all the partitions in a raw disk image: > > kpartx -av disk.img Add [patch][1] to fix build with MarIuX’ old libdevmapper. [1]: https://lore.kernel.org/dm-devel/20210520195208.30542-1-mwilck@suse.com/T/#u --- multipath-tools.be0 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 multipath-tools.be0 diff --git a/multipath-tools.be0 b/multipath-tools.be0 new file mode 100755 index 000000000..331befcb4 --- /dev/null +++ b/multipath-tools.be0 @@ -0,0 +1,39 @@ +#!/usr/bin/env beesh + +# BEE_VERSION multipath-tools-0.8.6-0 + +# more info: https://github.com/opensvc/multipath-tools + +# https://github.com/opensvc/multipath-tools/archive/refs/tags/0.8.6.tar.gz +SRCURL[0]="https://beehive.molgen.mpg.de/254424e2402f8d9f70910ff17c46f6c1/multipath-tools-${PKGVERSION}.tar.gz" + +PATCHURL+=(/src/mariux/patches/0001-libmultipath-fix-build-without-LIBDM_API_DEFERRED.patch) + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +mee_install() { + # Only install kpartx + install -D -t ${D}${SBINDIR} kpartx/kpartx +} + +#mee_install_post() { +# exit +#}