Hrm, the top level scripts are probably worth copying unconditionally.
Please also consider this on top of my previous patch:

--- a/mkinitramfs
+++ b/mkinitramfs
@@ -229,7 +229,8 @@ rm -f ${DESTDIR}/bin/kinit* ${DESTDIR}/bin/gzip
 copy_exec /usr/share/initramfs-tools/init /init
 
 # add existant boot scripts
-[ -n "$system" ] && for b in $(cd /usr/share/initramfs-tools/scripts/ && find 
. \
+[ -z "$system" ] && depth="-maxdepth 1"
+for b in $(cd /usr/share/initramfs-tools/scripts/ && find . $depth \
        -regextype posix-extended -regex '.*/[[:alnum:]_]+$' -type f); do
        [ -d "${DESTDIR}/scripts/$(dirname "${b}")" ] \
                || mkdir -p "${DESTDIR}/scripts/$(dirname "${b}")"
-- 
Thanks,
Feri.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to