diff options
Diffstat (limited to 'scripts/package')
-rwxr-xr-x | scripts/package/mkspec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/package/mkspec b/scripts/package/mkspec index ffd61fe0c1ad..62c5ffdf2fdf 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec | |||
@@ -64,8 +64,10 @@ fi | |||
64 | echo "%install" | 64 | echo "%install" |
65 | echo "%ifarch ia64" | 65 | echo "%ifarch ia64" |
66 | echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib/modules' | 66 | echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib/modules' |
67 | echo 'mkdir -p $RPM_BUILD_ROOT/lib/firmware' | ||
67 | echo "%else" | 68 | echo "%else" |
68 | echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib/modules' | 69 | echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib/modules' |
70 | echo 'mkdir -p $RPM_BUILD_ROOT/lib/firmware' | ||
69 | echo "%endif" | 71 | echo "%endif" |
70 | 72 | ||
71 | echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{_smp_mflags} modules_install' | 73 | echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{_smp_mflags} modules_install' |
@@ -92,5 +94,6 @@ echo "%files" | |||
92 | echo '%defattr (-, root, root)' | 94 | echo '%defattr (-, root, root)' |
93 | echo "%dir /lib/modules" | 95 | echo "%dir /lib/modules" |
94 | echo "/lib/modules/$KERNELRELEASE" | 96 | echo "/lib/modules/$KERNELRELEASE" |
97 | echo "/lib/firmware" | ||
95 | echo "/boot/*" | 98 | echo "/boot/*" |
96 | echo "" | 99 | echo "" |