2009-11-30 07:10:34 +00:00
|
|
|
# Template file for 'device-mapper'
|
|
|
|
#
|
2009-10-03 08:58:22 +00:00
|
|
|
short_desc="Device Mapper userspace library and tools"
|
2012-05-11 02:25:44 +00:00
|
|
|
replaces="lvm2<2.02.95_3"
|
2009-11-22 07:31:44 +00:00
|
|
|
|
2012-02-06 15:32:31 +00:00
|
|
|
do_install() {
|
2012-04-20 14:59:27 +00:00
|
|
|
vmove "usr/sbin/dm*" usr/sbin
|
2012-05-10 10:02:21 +00:00
|
|
|
vmove "usr/lib/libdevmapper*.so*" usr/lib
|
|
|
|
vmove "usr/lib/liblvm2cmd.so*" usr/lib
|
2012-02-06 15:32:31 +00:00
|
|
|
vmove "usr/share/man/man8/dm*" usr/share/man/man8
|
2012-05-10 10:02:21 +00:00
|
|
|
vmove usr/lib/device-mapper usr/lib
|
2012-05-11 02:25:44 +00:00
|
|
|
for f in 10-dm 13-dm-disk 95-dm-notify; do
|
2012-07-09 21:30:40 +00:00
|
|
|
vmove usr/lib/udev/rules.d/${f}.rules usr/lib/udev/rules.d
|
2012-05-11 02:25:44 +00:00
|
|
|
done
|
2013-01-12 11:15:30 +00:00
|
|
|
vmkdir usr/lib/systemd/system/sockets.target.wants
|
|
|
|
vinstall ${FILESDIR}/dmeventd.service 644 usr/lib/systemd/system
|
|
|
|
vinstall ${FILESDIR}/dmeventd.socket 644 usr/lib/systemd/system
|
|
|
|
ln -sf /usr/lib/systemd/system/dmeventd.socket \
|
|
|
|
${DESTDIR}/usr/lib/systemd/system/sockets.target.wants/dmeventd.socket
|
2009-10-03 08:58:22 +00:00
|
|
|
}
|