From eaf046cd7d4fc9aea4b44e0d318c4463118643d9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 15 Oct 2018 18:02:51 +0100 Subject: [PATCH] debian/rules: Cope if xen-utils-common not being built In a binary-indep build, xen-utils-common is not built so the files are not installed by dh_install and the directory is missing. Signed-off-by: Ian Jackson --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 1254bd794e..ad13460308 100755 --- a/debian/rules +++ b/debian/rules @@ -264,7 +264,7 @@ override_dh_install: debian/shuffle-boot-files $(upstream_version) $(flavour) : dh_install $(dh_install_excludes) - rm -v $(xenstore_rm) + if test -d debian/xen-utils-common; then rm -v $(xenstore_rm); fi : debian/installsharedlibs -- 2.30.2