Skip to content

Commit

Permalink
multipath-tools: Add version 0.8.6, only install kpartx
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pmenzel committed May 27, 2021
1 parent 98378d6 commit 470bef8
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions multipath-tools.be0
Original file line number Diff line number Diff line change
@@ -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
#}

0 comments on commit 470bef8

Please sign in to comment.