From 718387818bced424d74040e4330cd1a63df00c4e Mon Sep 17 00:00:00 2001 From: toni Date: Mon, 4 Jan 2016 11:39:05 +0100 Subject: naskpass_check --- configure.ac | 2 +- scripts/naskpass.inithook | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5ea94ee..bba191d 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,7 @@ AC_FUNC_STRNLEN AC_FUNC_STAT AC_FUNC_MKTIME AC_FUNC_VPRINTF -AC_CHECK_FUNCS([clock_gettime asprintf system printf fprintf mkfifo stat open close fork memmove memcpy memset strdup strndup strerror strstr strlen strnlen strtol],,[AC_MSG_ERROR([*** Missing essential functions.])]) +AC_CHECK_FUNCS([clock_gettime asprintf system printf fprintf mkfifo stat open close fork memmove memcpy memset strdup strndup strerror strstr strlen strnlen strtol mq_open mq_getattr mq_send mq_receive mq_close mq_unlink],,[AC_MSG_ERROR([*** Missing essential functions.])]) AC_DEFINE([HAVE_CONFIG], [1], [Do NOT change THIS!]) LDFLAGS="${LDFLAGS} -pthread -lrt -lncurses" diff --git a/scripts/naskpass.inithook b/scripts/naskpass.inithook index 083c477..074dff3 100755 --- a/scripts/naskpass.inithook +++ b/scripts/naskpass.inithook @@ -19,6 +19,7 @@ esac . /usr/share/initramfs-tools/hook-functions copy_exec /lib/cryptsetup/naskpass /lib/cryptsetup +copy_exec /lib/cryptsetup/naskpass_check /lib/cryptsetup mkdir -p ${DESTDIR}/lib/terminfo/l cp /lib/terminfo/l/linux ${DESTDIR}/lib/terminfo/l/ -- cgit v1.2.3