From 29b822c2aa19531f81d40669f9eca90a89a5dc62 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 7 Jul 2016 21:24:29 -0400 Subject: Oops, cryptech_miniterm might work better if I remembered to install it. --- build-homebrew-formula.py | 1 + source/Makefile | 15 ++++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/build-homebrew-formula.py b/build-homebrew-formula.py index c6aa0fa..007768f 100755 --- a/build-homebrew-formula.py +++ b/build-homebrew-formula.py @@ -68,6 +68,7 @@ class CryptechAlpha < Formula sbin.install "sw/stm32/projects/hsm/cryptech_upload" sbin.install "sw/stm32/projects/hsm/cryptech_probe" + sbin.install "sw/stm32/projects/hsm/cryptech_miniterm" sbin.env_script_all_files(libexec/"sbin", :PYTHONPATH => ENV["PYTHONPATH"]) # Install other (non-Python) stuff, then we are done. diff --git a/source/Makefile b/source/Makefile index a6472d5..dadb5dd 100644 --- a/source/Makefile +++ b/source/Makefile @@ -17,12 +17,13 @@ clean distclean: ${MAKE} -C sw/pkcs11 $@ install: all - install -D -m 644 cryptech-alpha-firmware.tar.gz ${DESTDIR}/usr/share/cryptech-alpha-firmware.tar.gz - install -D -m 644 sw/pkcs11/libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so - ln -s libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so.0 - install -D sw/pkcs11/p11util ${DESTDIR}/usr/sbin/p11util -# install -D sw/pkcs11/libhal/cryptech_rpcd ${DESTDIR}/usr/sbin/cryptech_rpcd - install -D sw/stm32/projects/hsm/cryptech_upload ${DESTDIR}/usr/sbin/cryptech_upload - install -D sw/stm32/projects/hsm/cryptech_probe ${DESTDIR}/usr/sbin/cryptech_probe + install -D -m 644 cryptech-alpha-firmware.tar.gz ${DESTDIR}/usr/share/cryptech-alpha-firmware.tar.gz + install -D -m 644 sw/pkcs11/libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so + ln -s libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so.0 + install -D sw/pkcs11/p11util ${DESTDIR}/usr/sbin/p11util +# install -D sw/pkcs11/libhal/cryptech_rpcd ${DESTDIR}/usr/sbin/cryptech_rpcd + install -D sw/stm32/projects/hsm/cryptech_upload ${DESTDIR}/usr/sbin/cryptech_upload + install -D sw/stm32/projects/hsm/cryptech_probe ${DESTDIR}/usr/sbin/cryptech_probe + install -D sw/stm32/projects/hsm/cryptech_miniterm ${DESTDIR}/usr/sbin/cryptech_miniterm # Still need scripts to do something useful with the firmware tarball -- cgit v1.2.3