diff options
author | toni <matzeton@googlemail.com> | 2016-01-04 11:39:05 +0100 |
---|---|---|
committer | toni <matzeton@googlemail.com> | 2016-01-04 11:39:05 +0100 |
commit | 718387818bced424d74040e4330cd1a63df00c4e (patch) | |
tree | d84fd09e87256db8d29d0e634b7f2a7be94ee7ad | |
parent | ac09bf8f4d1b4e71828199772a76538931a6c72d (diff) |
naskpass_check
-rw-r--r-- | configure.ac | 2 | ||||
-rwxr-xr-x | scripts/naskpass.inithook | 1 |
2 files changed, 2 insertions, 1 deletions
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/ |