summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/linux-rpi3.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/linux-rpi3.spec b/packaging/linux-rpi3.spec
index f7b4b32efc43..7413e9414a0f 100644
--- a/packaging/linux-rpi3.spec
+++ b/packaging/linux-rpi3.spec
@@ -189,6 +189,10 @@ rsync -lr \
--exclude "*.o" \
--exclude "*.S" \
--exclude "*.HEX" \
+ --exclude "/include/uapi/linux/logger.h" \
+ --exclude "/usr/include/linux/logger.h" \
+ --exclude "/include/uapi/linux/kdbus.h" \
+ --exclude "/usr/include/linux/kdbus.h" \
--exclude "/tools/testing/selftests/kdbus/kdbus-test" \
%{_builddir}/%{name}-%{version}/ %{buildroot}/boot/kernel/devel/kernel-devel-%{variant}