rename: src/module-setup.sh and src/zlevis.sh
This commit is contained in:
parent
c5a969e443
commit
f189f0b96d
3 changed files with 8 additions and 8 deletions
|
@ -1,11 +1,11 @@
|
|||
# Find scripts
|
||||
module = find_program('zlevis-module')
|
||||
module-setup = find_program('zlevis-module-setup')
|
||||
module = find_program('zlevis.sh')
|
||||
setup = find_program('module-setup.sh')
|
||||
|
||||
# Test the scripts
|
||||
test('zlevis-module', module, args: '--summary')
|
||||
test('zlevis-module-setup', module-setup, args: '--summary')
|
||||
test('zlevis.sh', module, args: '--summary')
|
||||
test('module-setup.sh', setup, args: '--summary')
|
||||
|
||||
# Add paths of scripts to bins
|
||||
bins += join_paths(meson.current_source_dir(), 'zlevis-module')
|
||||
bins += join_paths(meson.current_source_dir(), 'zlevis-module-setup')
|
||||
bins += join_paths(meson.current_source_dir(), 'zlevis.sh')
|
||||
bins += join_paths(meson.current_source_dir(), 'module-setup.sh')
|
|
@ -24,8 +24,8 @@ install() {
|
|||
inst_multiple /usr/lib /usr/lib/libtss2-tcti*
|
||||
|
||||
# Run the zlevis decryption hook before the 90zfs hook
|
||||
inst_hook pre-mount 85 "${moddir}/zlevis-module"
|
||||
inst_simple "${moddir}/zlevis-module" "/sbin/zlevis-module"
|
||||
inst_hook pre-mount 85 "${moddir}/zlevis.sh"
|
||||
inst_simple "${moddir}/zlevis.sh" "/sbin/zlevis.sh"
|
||||
}
|
||||
|
||||
# Exit with the status of the last command
|
Loading…
Add table
Add a link
Reference in a new issue