Some of the arm64 kernels have backports in subdirectories. So use a find rune instead of a plain mv.
Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com> --- mg-debian-installer-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mg-debian-installer-update b/mg-debian-installer-update index 82a1804..c4abc43 100755 --- a/mg-debian-installer-update +++ b/mg-debian-installer-update @@ -169,7 +169,8 @@ if [ x$bpok != x ]; then if [ -d x/usr/lib/linux-image-*-${bpok}/ ] ; then rm -rf backports-dtbs/ mkdir backports-dtbs/ - mv x/usr/lib/linux-image-*-${bpok}/*.dtb backports-dtbs/ + find x/usr/lib/linux-image-*-${bpok} -name '*.dtb' -print0 | \ + xargs -0r sh -ec 'mv -- "$@" backports-dtbs/' x tar --mtime=./x/usr/lib -cf backports-dtbs.tar backports-dtbs gzip -9nf backports-dtbs.tar fi -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel