mktemp has marked the "-t" as deprecated. TMPDIR is anyway write guarded just a line above since dracut 003. Signed-off-by: maximilian attems <max@xxxxxxx> --- dracut | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dracut b/dracut index d19c162..e018061 100755 --- a/dracut +++ b/dracut @@ -452,7 +452,7 @@ elif [[ -f "$outfile" && ! -w "$outfile" ]]; then fi [[ $TMPDIR && ! -w $TMPDIR ]] && unset TMPDIR -readonly initdir=$(mktemp --tmpdir=/var/tmp/ -d -t initramfs.XXXXXX) +readonly initdir=$(mktemp --tmpdir=${TMPDIR:-/var/tmp/} -d initramfs.XXXXXX) # clean up after ourselves no matter how we die. trap 'ret=$?;rm -rf "$initdir";exit $ret;' EXIT -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html