Compare commits
4 commits
3335521566
...
e98a8feece
Author | SHA1 | Date | |
---|---|---|---|
e98a8feece | |||
d3133e3ed8 | |||
3b2972d5c4 | |||
6a9989d663 |
7 changed files with 1133 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
# zlevis-mkinitfs
|
||||
|
||||
A mkinitfs module that builds in automatic decryption of a ZFS root pool in the initramfs with zlevis.
|
||||
A mkinitfs module that implements automatic decryption of a `ZFS` root pool in the `initramfs` with `zlevis`.
|
1103
data/initramfs-init
Normal file
1103
data/initramfs-init
Normal file
File diff suppressed because it is too large
Load diff
2
data/meson.build
Normal file
2
data/meson.build
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Add path of file to data
|
||||
data += join_paths(meson.current_source_dir(), 'initramfs-init')
|
3
features/meson.build
Normal file
3
features/meson.build
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Add paths of files to features
|
||||
features += join_paths(meson.current_source_dir(), 'zlevis.files')
|
||||
features += join_paths(meson.current_source_dir(), 'zlevis.modules')
|
5
features/zlevis.files
Normal file
5
features/zlevis.files
Normal file
|
@ -0,0 +1,5 @@
|
|||
/usr/bin/zlevis
|
||||
/usr/bin/zlevis-decrypt
|
||||
/usr/bin/tpm2*
|
||||
/usr/bin/jose
|
||||
/usr/lib/libtss2-tcti*
|
1
features/zlevis.modules
Normal file
1
features/zlevis.modules
Normal file
|
@ -0,0 +1 @@
|
|||
kernel/drivers/char/tpm*
|
18
meson.build
Normal file
18
meson.build
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Project definition
|
||||
project('zlevis-mkinitfs', license: 'GPL3')
|
||||
|
||||
# Define mkinitfs features and data dir
|
||||
features_dir = '/etc/mkinitfs/features.d/'
|
||||
data_dir = '/usr/share/mkinitfs/'
|
||||
|
||||
# Define features and data list
|
||||
features = []
|
||||
data = []
|
||||
|
||||
# Define subdir with features and subdir with data
|
||||
subdir('features')
|
||||
subdir('data')
|
||||
|
||||
# Install features in features dir and data in data dir
|
||||
install_data(features, install_dir: features_dir)
|
||||
install_data(data, install_dir: data_dir)
|
Loading…
Add table
Add a link
Reference in a new issue