install dependant libs too

By default rng-tools are compiled with pkcs11 support.
Make sure opensc-pkcs11.so library is installed inside initramfs to prevent error on boot
master
Tomasz Paweł Gajc 2020-05-11 14:49:06 +02:00 committed by Harald Hoyer
parent ff366790a6
commit 1ec7b694b5
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ check() {
install() {
inst rngd
inst_simple "${moddir}/rngd.service" "${systemdsystemunitdir}/rngd.service"
# make sure dependant libs are installed too
inst_libdir_file opensc-pkcs11.so

systemctl -q --root "$initdir" add-wants sysinit.target rngd.service
}