don't try to package /lib/firmware if that was turned off
Thierry Parmentelat [Mon, 20 Jun 2011 08:39:44 +0000 (10:39 +0200)]
kernel-2.6.spec

index e59bc92..4aeabb1 100644 (file)
@@ -1739,7 +1739,9 @@ fi
 /etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\
 %endif\
 /lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\
+%if %{with_firmware}\
 /lib/firmware/*\
+%endif\
 %if %{with_dracut}\
 %ghost /boot/initramfs-%{KVERREL}%{?2:.%{2}}.img\
 %else\