From bf6dae11e29151b9e776b60dab3ddc77a8a2207f Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 25 Feb 2019 14:20:07 +0100 Subject: [slx-tpm] fix bad copying of library links --- builder/modules.d/slx-tpm/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/modules.d/slx-tpm/module-setup.sh b/builder/modules.d/slx-tpm/module-setup.sh index a74faa3c..f9a239e0 100755 --- a/builder/modules.d/slx-tpm/module-setup.sh +++ b/builder/modules.d/slx-tpm/module-setup.sh @@ -64,7 +64,7 @@ install_ibm_tss() { cd "$moddir/build/${ibm_tss_target%%.*}/utils" mkdir -p "$1/usr/local/bin" # this is hacky, TODO better with /etc/ld.cache.conf.d ? - cp *.so* "$1/usr/lib" + cp -a *.so* "$1/usr/lib" mkdir -p "$1/usr/local/bin" find . -perm /a+x -type f -exec cp {} "$1/usr/local/bin/" \; # only needed to compile some tpm binary (not needed in initramfs) -- cgit v1.2.3-55-g7522