=== modified file 'initramfs-tools-hook' --- initramfs-tools-hook 2015-07-06 20:09:47 +0000 +++ initramfs-tools-hook 2015-07-09 08:20:24 +0000 @@ -219,9 +219,17 @@ if [ -d "$file" ]; then continue fi - cp --archive --sparse=always "$file" "${DESTDIR}${CONFDIR}" - chown ${mandos_user}:${mandos_group} \ - "${DESTDIR}${CONFDIR}/`basename \"$file\"`" + case "$file" in + *~|.*|\#*\#|*.dpkg-old|*.dpkg-bak|*.dpkg-new|*.dpkg-divert) + : ;; + "*") : ;; + *) + cp --archive --sparse=always "$file" \ + "${DESTDIR}${CONFDIR}" + chown ${mandos_user}:${mandos_group} \ + "${DESTDIR}${CONFDIR}/`basename \"$file\"`" + ;; + esac done # /lib/mandos/plugin-runner will drop priviliges, but needs access to