diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-07-28 21:18:20 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-07-28 21:18:20 +0200 |
commit | e7d2b2e7548e2a618321c3530f8a7b7c300300e1 (patch) | |
tree | 97c6be14976cf20a10ea1bb398578d11ce0aed07 /package | |
parent | 03db81babfc6ba4f21ceb26aa15fd0a208075b92 (diff) |
finetune smartcard support
Diffstat (limited to 'package')
-rwxr-xr-x | package/cryptinit/src/cryptinitsc | 6 | ||||
-rw-r--r-- | package/openct/Makefile | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/package/cryptinit/src/cryptinitsc b/package/cryptinit/src/cryptinitsc index f8d101877..c29e231ee 100755 --- a/package/cryptinit/src/cryptinitsc +++ b/package/cryptinit/src/cryptinitsc @@ -26,7 +26,7 @@ done mount /dev/sda1 /boot mkdir -p /var/run/openct openct-control init -pcscd -f & +pcscd -f >/dev/null & sleep 2 fail=0 @@ -57,9 +57,9 @@ echo "254:0" > /sys/power/resume cryptsetup -d /tmp/skey --batch-mode luksOpen $root rootcrypt swapon /dev/mapper/swapcrypt mount /dev/mapper/rootcrypt /mnt +pkill pcscd +rm /tmp/skey umount /proc umount /sys umount /dev/pts -rm /tmp/skey -pkill pcscd umount /tmp diff --git a/package/openct/Makefile b/package/openct/Makefile index 2267c1b5e..7329d8eff 100644 --- a/package/openct/Makefile +++ b/package/openct/Makefile @@ -37,6 +37,8 @@ post-install: ${IDIR_OPENCT}/usr/bin ${INSTALL_DATA} ${WRKBUILD}/etc/openct.conf \ ${IDIR_OPENCT}/etc + +libopenct-install: ${INSTALL_DIR} ${IDIR_LIBOPENCT}/usr/lib ${CP} ${WRKINST}/usr/lib/libopenct.so* \ ${IDIR_LIBOPENCT}/usr/lib |