diff options
-rwxr-xr-x | Makefile | 1 | ||||
-rwxr-xr-x | usr/share/initramfs-tools/hooks/cryptlukssc | 7 |
2 files changed, 7 insertions, 1 deletions
@@ -15,6 +15,7 @@ install: mkdir -p $(DESTDIR)/usr cp -Rp src/ckpasswd usr/bin/smartauthckpasswd + cp -Rp src/smartauthmon usr/bin/smartauthmon cp -Rp usr/* $(DESTDIR)/usr/ mkdir -p $(DESTDIR)/etc diff --git a/usr/share/initramfs-tools/hooks/cryptlukssc b/usr/share/initramfs-tools/hooks/cryptlukssc index aebd75e..6a9c067 100755 --- a/usr/share/initramfs-tools/hooks/cryptlukssc +++ b/usr/share/initramfs-tools/hooks/cryptlukssc @@ -30,7 +30,12 @@ done # pcscd utilizes pthread_cancel mkdir -p ${DESTDIR}/lib copy_exec /usr/sbin/pcscd /sbin -copy_exec /lib/libgcc_s.so.1 /lib +if [ -e /lib/*/libgcc_s.so.1 ] +then + copy_exec /lib/*/libgcc_s.so.1 /lib +else + copy_exec /lib/libgcc_s.so.1 /lib +fi copy_exec /lib/libpcsclite.so.1 /lib cp -r /usr/lib/pcsc ${DESTDIR}/usr/lib cp /etc/reader.conf ${DESTDIR}/etc |