]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
UBUNTU: [Debian] module-inclusion -- add manual command entries
authorAndy Whitcroft <apw@canonical.com>
Thu, 26 Mar 2015 14:00:16 +0000 (14:00 +0000)
committerTim Gardner <tim.gardner@canonical.com>
Fri, 26 Feb 2016 02:44:02 +0000 (19:44 -0700)
Signed-off-by: Andy Whitcroft <apw@canonical.com>
debian/scripts/module-inclusion

index 55752a7f091d14951186c758217b0a622118ccf3..a83a7dc08d766053813b5a8a67b44e7ad8b8a184 100755 (executable)
@@ -30,12 +30,15 @@ mkdir -p ${NROOT}
        fi
 
        # Copy over modules by name or pattern.
-       while read i
+       while read -r i
        do
                #
                # 'find' blurts a warning if it cannot find any ko files.
                #
                case "$i" in
+               \!*)
+                       (cd ${ROOT}; ${i#!} || true)
+                       ;;
                *\**)
                        (cd ${ROOT}; eval find "${i}" -name "*.ko" || true)
                        ;;