This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
forked from shpedoikal/tpm-luks
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.am
71 lines (57 loc) · 2.77 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
SUBDIRS = swtpm-utils dracut .
if FEDORA17
plymouthdir=/usr/lib/dracut/modules.d/90crypt-tpm
dist_plymouth_SCRIPTS=dracut/Fedora17/crypt-tpm/cryptroot-ask.sh \
dracut/Fedora17/crypt-tpm/crypt-cleanup.sh \
dracut/Fedora17/crypt-tpm/cryptroot-ask-tpm.sh \
dracut/Fedora17/crypt-tpm/crypt-lib.sh \
dracut/Fedora17/crypt-tpm/module-setup.sh \
dracut/Fedora17/crypt-tpm/parse-crypt.sh \
dracut/Fedora17/crypt-tpm/parse-keydev.sh \
dracut/Fedora17/crypt-tpm/probe-keydev.sh \
dracut/Fedora17/crypt-tpm/tpm-try-authless-indexes.sh
endif
if RHEL6
plymouthdir=/usr/share/dracut/modules.d/50plymouth-tpm
dist_plymouth_SCRIPTS=dracut/RHEL6/plymouth-tpm/install \
dracut/RHEL6/plymouth-tpm/check \
dracut/RHEL6/plymouth-tpm/plymouth-newroot.sh \
dracut/RHEL6/plymouth-tpm/cryptroot-ask.sh \
dracut/RHEL6/plymouth-tpm/installkernel \
dracut/RHEL6/plymouth-tpm/plymouth-populate-initrd \
dracut/RHEL6/plymouth-tpm/cryptroot-ask-tpm.sh \
dracut/RHEL6/plymouth-tpm/plymouth-emergency.sh \
dracut/RHEL6/plymouth-tpm/plymouth-pretrigger.sh
endif
if RHEL7
plymouthdir=/usr/lib/dracut/modules.d/90crypt-tpm
dist_plymouth_SCRIPTS=dracut/RHEL7/crypt-tpm/cryptroot-ask.sh \
dracut/RHEL7/crypt-tpm/cryptroot-ask-tpm.sh \
dracut/RHEL7/crypt-tpm/crypt-cleanup.sh \
dracut/RHEL7/crypt-tpm/crypt-lib.sh \
dracut/RHEL7/crypt-tpm/module-setup.sh \
dracut/RHEL7/crypt-tpm/parse-crypt.sh \
dracut/RHEL7/crypt-tpm/parse-keydev.sh \
dracut/RHEL7/crypt-tpm/probe-keydev.sh
endif
dist_sbin_SCRIPTS=tpm-luks/tpm-luks-gen-tgrub2-pcr-values \
tpm-luks/tpm-luks-ctl \
tpm-luks/tpm-luks-svc
#yumpluginconfdir=/etc/yum/pluginconf.d
#dist_yumpluginconf_SCRIPTS=yum/post-transaction-actions.conf
#yumpluginsdir=/usr/lib/yum-plugins
#dist_yumplugins_SCRIPTS=yum/post-transaction-actions.py
#yumpostactionsdir=/etc/yum/post-actions
#dist_yumpostactions_SCRIPTS=yum/tpm-luks.action
confdir=/etc
conf_SCRIPTS=tpm-luks.conf
CLEANFILES = yum/tpm-luks.action tpm-luks.conf
yum/tpm-luks.action: yum/tpm-luks.action.in
@SED@ -e s!\@sbindir\@!"@sbindir@"!g < $< > $@-t
mv $@-t $@
EXTRA_DIST = tpm-luks.conf.in yum/tpm-luks.action.in
tpm-luks.conf: tpm-luks.conf.in
@SED@ -e s!\@sbindir\@!"@sbindir@"!g < $< > $@-t
mv $@-t $@
install-exec-hook:
if test ! -e ${DESTDIR}/etc/tpm-luks.conf; then cp tpm-luks.conf ${DESTDIR}/etc; fi