blob: e5d464f77a1e179b4e17bb6990e03dfcf36b6fc2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: CyberLeo <cyberleo@cyberleo.net>
# Maintainer: CyberLeo <cyberleo@cyberleo.net>
pkgname=kpartx
pkgver=0.8.6
pkgrel=0
pkgdesc="Manipulates device mappings for the partitions of any block device."
url="http://christophe.varoqui.free.fr/"
arch="all"
options="!check" # Requires root and loopback/dm-mod kernel modules.
license="LGPL-2.0-only"
depends=""
makedepends="lvm2-dev"
checkdepends="debianutils-which parted"
subpackages="$pkgname-doc"
source="multipath-tools-$pkgver.tar.gz::https://github.com/opensvc/multipath-tools/archive/refs/tags/$pkgver.tar.gz
test-kpartx"
builddir="$srcdir/multipath-tools-$pkgver/kpartx"
build() {
make kpartx
}
check() {
sudo KPARTX="${builddir}/kpartx" WAIT_US=1000000 "${srcdir}/test-kpartx"
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="82e5b7307e599ba6b059679c3987a442fb5be4885f0a27c260a99a07cb336b88d48e314b4ec951944e0200e4731522d8da043d98fa566857ecc6d100791c0e38 multipath-tools-0.8.6.tar.gz
2e3702243bfc52df7353cc828fb03e3dff36eddbf77eb13140fd58d857c3d45990c679c535c00c569e5a5412ad3823717e264449c038ebf1726a4e7adc08e06e test-kpartx"
|