summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/cryptinit/src/cryptinitsc6
-rw-r--r--package/openct/Makefile2
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