From 2e8eddb34c371ec2b7c1d8f337fff35dd5205866 Mon Sep 17 00:00:00 2001 From: toni Date: Tue, 17 Nov 2015 22:47:28 +0100 Subject: fixed permissions for scripts --- scripts/naskpass.inithook | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/naskpass.inithook (limited to 'scripts/naskpass.inithook') diff --git a/scripts/naskpass.inithook b/scripts/naskpass.inithook old mode 100644 new mode 100755 -- cgit v1.2.3 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(-) (limited to 'scripts/naskpass.inithook') 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