64aea1c5b8
Add initramfs hook and the OpenRC service, seems to work fine so far. --HG-- extra : convert_revision : bfedf452f27339d9e37ffb251800431a17dbef9b
19 lines
691 B
Text
19 lines
691 B
Text
# Template file for 'lvm2-device-mapper'
|
|
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."
|
|
|
|
Add_dependency run glibc
|
|
Add_dependency run readline
|
|
|
|
do_install()
|
|
{
|
|
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/lib \
|
|
${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man8
|
|
mv ${SRCPKGDESTDIR}/sbin/dm* ${DESTDIR}/sbin
|
|
mv ${SRCPKGDESTDIR}/lib/libdevmapper* ${DESTDIR}/lib
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man8/dm* ${DESTDIR}/usr/share/man/man8
|
|
}
|