mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 06:21:08 +02:00
net-libs/libnfsidmap: move conf to /usr and setup symlinks/tmpfiles.d
This commit is contained in:
parent
62abbb3d55
commit
4b042a50ef
@ -0,0 +1,2 @@
|
|||||||
|
L /etc/idmapd.conf - - - - ../usr/share/libnfsidmap/idmapd.conf
|
||||||
|
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
EAPI="2"
|
EAPI="2"
|
||||||
|
|
||||||
inherit autotools eutils
|
inherit autotools eutils systemd
|
||||||
|
|
||||||
DESCRIPTION="NFSv4 ID <-> name mapping library"
|
DESCRIPTION="NFSv4 ID <-> name mapping library"
|
||||||
HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
|
HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
|
||||||
@ -37,8 +37,10 @@ src_install() {
|
|||||||
emake install DESTDIR="${D}" || die
|
emake install DESTDIR="${D}" || die
|
||||||
dodoc AUTHORS ChangeLog NEWS README
|
dodoc AUTHORS ChangeLog NEWS README
|
||||||
|
|
||||||
insinto /etc
|
insinto /usr/share/libnfsidmap
|
||||||
doins idmapd.conf || die
|
doins idmapd.conf || die
|
||||||
|
dosym ../usr/share/libnfsidmap/idmapd.conf /etc/idmapd.conf
|
||||||
|
systemd_dotmpfilesd "${FILESDIR}"/tmpfiles.d/libnfsidmap.conf
|
||||||
|
|
||||||
# remove useless files
|
# remove useless files
|
||||||
rm -f "${D}"/usr/lib*/libnfsidmap/*.{a,la}
|
rm -f "${D}"/usr/lib*/libnfsidmap/*.{a,la}
|
Loading…
x
Reference in New Issue
Block a user