summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-02-25 14:20:07 +0100
committerJonathan Bauer2019-02-25 14:20:07 +0100
commitbf6dae11e29151b9e776b60dab3ddc77a8a2207f (patch)
tree30329b4245df04fa288d02fd40ad1c955ca35191
parent[slx-uuid] new uuid fallback scheme (diff)
downloadsystemd-init-bf6dae11e29151b9e776b60dab3ddc77a8a2207f.tar.gz
systemd-init-bf6dae11e29151b9e776b60dab3ddc77a8a2207f.tar.xz
systemd-init-bf6dae11e29151b9e776b60dab3ddc77a8a2207f.zip
[slx-tpm] fix bad copying of library links
-rwxr-xr-xbuilder/modules.d/slx-tpm/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
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)