mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-03 09:00:01 +03:00
It's /usr/share/tpfms obv
This commit is contained in:
parent
d3d43f281b
commit
b31a131eb3
4
Makefile
4
Makefile
@ -88,7 +88,7 @@ htmlpages : $(patsubst man/%.pp,$(OUTDIR)man/%.html,$(MANPAGE_SOURCES)) $(OUTDIR
|
||||
locales : $(patsubst po/%.po,$(OUTDIR)locale/%/LC_MESSAGES/tzpfms.mo,$(LOCALES))
|
||||
i-t : $(OUTDIR)initramfs-tools/usr/share/initramfs-tools/hooks/tzpfms $(OUTDIR)initramfs-tools/usr/share/tzpfms/initramfs-tools-zfs-patch.sh
|
||||
dracut : $(patsubst initrd/dracut/%,$(OUTDIR)dracut/usr/lib/dracut/modules.d/91tzpfms/%,$(sort $(wildcard initrd/dracut/*.sh)))
|
||||
init.d-systemd : $(OUTDIR)systemd/$(SYSTEMD_SYSTEM_UNITDIR)/zfs-load-key@.service.d/tzpfms.conf $(OUTDIR)systemd/usr/libexec/tzpfms-zfs-load-key@ $(foreach l,$(subst init.d/systemd/usr-lib-tzpfms/,,$(wildcard init.d/systemd/usr-lib-tzpfms/*)),$(OUTDIR)systemd/usr/lib/tzpfms/$(l))
|
||||
init.d-systemd : $(OUTDIR)systemd/$(SYSTEMD_SYSTEM_UNITDIR)/zfs-load-key@.service.d/tzpfms.conf $(OUTDIR)systemd/usr/libexec/tzpfms-zfs-load-key@ $(foreach l,$(subst init.d/systemd/usr-share-tzpfms/,,$(wildcard init.d/systemd/usr-share-tzpfms/*)),$(OUTDIR)systemd/usr/share/tzpfms/$(l))
|
||||
|
||||
|
||||
$(BLDDIR)tzpfms.pot: src/*.[ch]pp src/bin/*.[ch]pp
|
||||
@ -120,7 +120,7 @@ $(OUTDIR)systemd/usr/libexec/tzpfms-zfs-load-key@ : init.d/systemd/libexec-tzpfm
|
||||
@mkdir -p $(dir $@)
|
||||
ln -f $< $@ || cp $< $@
|
||||
|
||||
$(OUTDIR)systemd/usr/lib/tzpfms/% : init.d/systemd/usr-lib-tzpfms/%
|
||||
$(OUTDIR)systemd/usr/share/tzpfms/% : init.d/systemd/usr-share-tzpfms/%
|
||||
@mkdir -p $(dir $@)
|
||||
ln -f $< $@ || cp $< $@
|
||||
|
||||
|
@ -13,7 +13,7 @@ zfs-tpm-list -H "$DSET" | while read -r _ backend keystatus coherent; do
|
||||
}
|
||||
|
||||
unlock=; deps=
|
||||
read -r unlock deps 2>/dev/null < "/usr/lib/tzpfms/$backend"
|
||||
read -r unlock deps 2>/dev/null < "/usr/share/tzpfms/$backend"
|
||||
command -v "$unlock" >/dev/null || {
|
||||
printf "%s\n" "${0##*/}[$$]: $DSET: unknown tzpfms back-end $backend." >&2
|
||||
exit # fall through, maybe there's another handler
|
||||
|
Loading…
x
Reference in New Issue
Block a user