From 198ea008f6cd2737bd8cf9ab5a03258f857b65df Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 12 Oct 2018 18:26:16 +0000 Subject: [PATCH] debian/rules: Use find rather than shell glob for strip This stops this from falling over on arches without hvmloader. Signed-off-by: Ian Jackson --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index e0d8355c39..45c6658157 100755 --- a/debian/rules +++ b/debian/rules @@ -284,9 +284,9 @@ override_dh_installinit: # that again, then. This all happens after dh_install so we operate # on the package-specific file. override_dh_strip: - chmod +x debian/xen-utils-*/usr/lib/xen-*/boot/hvmloader + find debian/xen-utils-* -name hvmloader | xargs -r chmod -v +x dh_strip - chmod -x debian/xen-utils-*/usr/lib/xen-*/boot/hvmloader + find debian/xen-utils-* -name hvmloader | xargs -r chmod -v -x # Hardlink the various xenstore-* programs together. This is an # argv[0]-using binary of which we can have only one copy. We need to -- 2.30.2