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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]