mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2025-12-06 07:12:01 +01:00
Add tools required to use encrypted devices to the initramfs
This commit is contained in:
parent
8be4cda08c
commit
f6fa1db397
|
|
@ -1,7 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
add_binary "/usr/bin/lsblk" "/usr/bin/lsblk"
|
add_module "dm-crypt"
|
||||||
|
add_module "dm-integrity"
|
||||||
|
add_all_modules "/crypto/"
|
||||||
|
|
||||||
|
add_binary "lsblk"
|
||||||
|
add_binary "cryptsetup"
|
||||||
|
add_binary "dmsetup"
|
||||||
|
|
||||||
|
# cryptsetup calls pthread_create(), which dlopen()s libgcc_s.so.1
|
||||||
|
add_binary "/usr/lib/libgcc_s.so.1"
|
||||||
|
|
||||||
add_runscript
|
add_runscript
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue