From: Tomasz Paweł Gajc Date: Mon, 11 May 2020 12:49:06 +0000 (+0200) Subject: install dependant libs too X-Git-Tag: 051~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ec7b694b55c70d06f262a96c320709b70d20bcb;p=thirdparty%2Fdracut.git 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 --- diff --git a/modules.d/06rngd/module-setup.sh b/modules.d/06rngd/module-setup.sh index 354bd0bb6..f07a0cb99 100644 --- a/modules.d/06rngd/module-setup.sh +++ b/modules.d/06rngd/module-setup.sh @@ -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 }