File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ check() {
1010 # If petera is not installed,
1111 # then we cannot support it
1212 require_binaries petera \
13- " $systemdsystemunitdir /petera-askpassd.service" \
14- " $systemdsystemunitdir /petera-askpassd.path" \
1513 @PETERA_PLUGINS@/askpassd.so \
1614 @PETERA_PLUGINS@/decrypt.so \
1715 || return 1
@@ -20,7 +18,7 @@ check() {
2018}
2119
2220depends () {
23- echo crypt systemd
21+ echo crypt systemd network
2422 return 0
2523}
2624
@@ -39,10 +37,11 @@ install() {
3937 " $systemdsystemunitdir /petera-askpassd.path" \
4038 @PETERA_PLUGINS@/askpassd.so \
4139 @PETERA_PLUGINS@/decrypt.so \
42- @PETERA_CONF@/disks.d
40+ @PETERA_CONF@/disks.d/ *
4341
42+ mkdir -p " $initdir /$systemdsystemunitdir /cryptsetup.target.wants"
4443 ln_r " $systemdsystemunitdir /petera-askpassd.path" \
45- " $systemdsystemunitdir /basic .target.wants/petera-askpassd.path"
44+ " $systemdsystemunitdir /cryptsetup .target.wants/petera-askpassd.path"
4645
4746 dracut_need_initqueue
4847}
You can’t perform that action at this time.
0 commit comments