Comment 1 for bug 725144

Revision history for this message
Igor (igor47) wrote :

i figured out the problem. i strace'ed update-initramfs and noticed it was cd'ing into /etc/initramfs-tools/scripts and then looking for scripts using the following `find` command:

find . -regextype posix-extended -regex '.*/[[:alnum:]_]+$' -type f

i had named my script network-order.sh, and so it was not being matched by the regexp. i think the solution is to either update the documentation to indicate that custom scripts must only contain alphanumeric characters or update the regular expression to include additional characters. one likely regexp is '.*/[^/]+$' but i don't speak posix-extended so i'll leave this for someone else to translate