[trusty/retpoline-hints 1/3] UBUNTU: [Packaging] retpoline hints -- handle missing files when RETPOLINE not enabled

Andy Whitcroft apw at canonical.com
Tue Apr 3 16:52:45 UTC 2018


BugLink: http://bugs.launchpad.net/bugs/1758856
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 debian/rules.d/2-binary-arch.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 6fa1aa074e19..3573dc7c149f 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -256,7 +256,7 @@ endif
 	rm -f $(hdrdir)/Makefile
 	rm -rf $(hdrdir)/include2 $(hdrdir)/source
 	# We do not need the retpoline information.
-	find $(hdrdir) -name \*.o.ur-\* | xargs rm
+	find $(hdrdir) -name \*.o.ur-\* | xargs rm -f
 	# Copy over the compilation version.
 	cp "$(builddir)/build-$*/include/generated/compile.h" \
 		"$(hdrdir)/include/generated/compile.h"
-- 
2.15.1





More information about the kernel-team mailing list