sys-fs/zfs: fix systemd related installation paths
authorGeorgy Yakovlev <ya@sysdump.net>
Thu, 8 Mar 2018 03:33:42 +0000 (19:33 -0800)
committerMatthew Thode <prometheanfire@gentoo.org>
Thu, 8 Mar 2018 16:20:41 +0000 (10:20 -0600)
commitb976c04437daee44030ddd28f757a7df1ae5df45
tree13e2b6a63310b9d675acf491241e65ea11ab46ca
parent20c8e69ec3b25a431ee1c0e8cf3d1f0274dbffec
sys-fs/zfs: fix systemd related installation paths

ebuilds intalls most systemd files into
/usr/lib/systemd
while it should be
/lib/systemd

qlist =sys-fs/zfs-0.7.6 | grep systemd
/usr/lib/systemd/system-preset/50-zfs.preset
/usr/lib/systemd/system/zfs-zed.service
/usr/lib/systemd/system/zfs-import-cache.service
/usr/lib/systemd/system/zfs-import-scan.service
/usr/lib/systemd/system/zfs-mount.service
/usr/lib/systemd/system/zfs-share.service
/usr/lib/systemd/system/zfs-import.target
/usr/lib/systemd/system/zfs.target
/lib/systemd/system/zfs.service < this is ok

The reason is that default values for:
--with-systemdpresetdir and
--with-systemdmodulesloaddir

point to /usr/lib/systemd

This commit overrides the location to to use
gentoo preferred /lib/systemd

Use systemd_reapply to re-create broken symlinks

Also fixes minor QA, no more --with-blkid switch
for 7.xx and live ebuilds.

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
sys-fs/zfs/zfs-0.6.5.11-r2.ebuild
sys-fs/zfs/zfs-0.6.5.4-r4.ebuild
sys-fs/zfs/zfs-0.7.5-r2.ebuild
sys-fs/zfs/zfs-0.7.6-r1.ebuild
sys-fs/zfs/zfs-0.7.9999.ebuild
sys-fs/zfs/zfs-9999.ebuild