2009-11-30 08:10:34 +01:00
|
|
|
# Template file for 'device-mapper'
|
|
|
|
#
|
2009-10-03 10:58:22 +02:00
|
|
|
short_desc="Device Mapper userspace library and tools"
|
|
|
|
long_desc="
|
|
|
|
This package contains the supporting userspace utility, dmsetup,
|
|
|
|
for the kernel device-mapper and its required library, libdevmapper."
|
|
|
|
|
2012-05-11 04:25:44 +02:00
|
|
|
replaces="lvm2<2.02.95_3"
|
2009-11-22 08:31:44 +01:00
|
|
|
|
2012-02-06 16:32:31 +01:00
|
|
|
do_install() {
|
2012-04-20 16:59:27 +02:00
|
|
|
vmove "usr/sbin/dm*" usr/sbin
|
2012-05-10 12:02:21 +02:00
|
|
|
vmove "usr/lib/libdevmapper*.so*" usr/lib
|
|
|
|
vmove "usr/lib/liblvm2cmd.so*" usr/lib
|
2012-02-06 16:32:31 +01:00
|
|
|
vmove "usr/share/man/man8/dm*" usr/share/man/man8
|
2012-05-10 12:02:21 +02:00
|
|
|
vmove usr/lib/device-mapper usr/lib
|
2012-05-11 04:25:44 +02:00
|
|
|
for f in 10-dm 13-dm-disk 95-dm-notify; do
|
2012-05-11 04:28:14 +02:00
|
|
|
vmove lib/udev/rules.d/${f}.rules lib/udev/rules.d
|
2012-05-11 04:25:44 +02:00
|
|
|
done
|
2009-10-03 10:58:22 +02:00
|
|
|
}
|