debian/rules: Do not try to move EFI binaries on armhf
authorIan Jackson <ian.jackson@citrix.com>
Fri, 12 Oct 2018 19:46:22 +0000 (20:46 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Wed, 2 Jan 2019 19:59:36 +0000 (20:59 +0100)
Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
debian/rules

index 45c665815720e70a18ed06d41c2a7c3481569be3..1254bd794ee159da5a172f04f9e5e1d5199a497f 100755 (executable)
@@ -226,7 +226,10 @@ override_dh_auto_install: $(TEMPLATED_FILES)
        mv $t/usr/share/pkgconfig $t/usr/lib/$(DEB_HOST_MULTIARCH)/
        :
        @# Inexplicably, upstream pots the efi binares in usr/lib64
-       mv $t/usr/lib64/efi/* $t/boot/.
+       case $(flavour) in \
+               armhf) ;; \
+               *) mv $t/usr/lib64/efi/* $t/boot/. ;; \
+       esac
 
 # libfsimage not only has an unstable ABI, but also a very poor name.
 # Our makefile patch puts it in a different directory and fixes up the