It should work
This commit is contained in:
commit
c513e63fbd
2 changed files with 37 additions and 0 deletions
16
module-setup.sh
Executable file
16
module-setup.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
depends() {
|
||||
echo udev-rules zfs
|
||||
return 0
|
||||
}
|
||||
|
||||
install() {
|
||||
# Install the appropriate binaries and libraries
|
||||
inst_multiple /usr/bin /usr/bin/zlevis* /usr/bin/jose /usr/bin/tpm2* /usr/bin/mktemp
|
||||
inst_multiple /usr/lib /usr/lib/libtss2-tcti*
|
||||
|
||||
# Run the zlevis decryption hook before the 90zfs hook
|
||||
inst_hook pre-mount 85 "${moddir}/zlevis.sh"
|
||||
inst_simple "${moddir}/zlevis.sh" "/sbin/zlevis.sh"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue