Skip to contentSkip to conversation

kbuild: Move firmware images to a separate RPM

PATCH New Arun Sharma 1 participant 1 message May 25, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: Move firmware images to a separate RPM

This allows multiple kernel RPMs to be installed without namespace conflicts.

---
 scripts/package/mkspec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
scripts/package/mkspec +11 -1
index b20bdac..35e68d1 100755
@@ -68,6 +68,13 @@ echo "between the Linux kernel and userspace libraries and programs.  The"
 echo "header files define structures and constants that are needed for"
 echo "building most standard programs and are also needed for rebuilding the"
 echo "glibc package."
+echo ""
+echo "%package firmware"
+echo "Summary: Set of firmware images in the kernel tree"
+echo "Group: Development/System"
+echo "%description firmware"
+echo "Firmware images in the kernel tree provided for backward compability"
+echo ""
 
 if ! $PREBUILT; then
 echo "%prep"
@@ -137,7 +144,6 @@ echo "%files"
 echo '%defattr (-, root, root)'
 echo "%dir /lib/modules"
 echo "/lib/modules/$KERNELRELEASE"
-echo "/lib/firmware"
 echo "/boot/*"
 echo ""
 echo "%files devel"
@@ -148,3 +154,7 @@ echo "%files headers"
 echo '%defattr (-, root, root)'
 echo "/usr/include"
 echo ""
+echo "%files firmware"
+echo '%defattr (-, root, root)'
+echo "/lib/firmware"
+echo ""
Signature · 1 line
1.7.4