summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorEvgeniy Manachkin <sfstudio@mail.ru>2008-10-30 23:10:14 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-11-06 19:05:39 -0800
commit261d82c14d5e763e860cf82e7ee57bbc930dcf49 (patch)
tree456da3403b8e29eb399ce583f31a6f9958085be2 /scripts/package
parenta858c06703057cfdd142184e536c3ba36c45000e (diff)
downloadlwn-261d82c14d5e763e860cf82e7ee57bbc930dcf49.tar.gz
lwn-261d82c14d5e763e860cf82e7ee57bbc930dcf49.zip
kbuild: mkspec - fix build rpm
commit 46dca86cb93db80992a45e4b55737ff2b2f61cd0 upstream Date: Wed, 15 Oct 2008 23:37:26 +0600 Subject: kbuild: mkspec - fix build rpm This is patch to fix incorrect mkspec script to make rpm correctly at 2.6.27 vanilla kernel. This is regression in 2.6.27. 2.6.26 make rpm work good. In 2.6.27 'make rpm' say error from rpmbuild "Many unpacked files (*.fw)." Signed-off-by: Evgeniy Manachkin <sfstudio@mail.ru> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/package')
-rwxr-xr-xscripts/package/mkspec3
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
echo "%install"
echo "%ifarch ia64"
echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib/modules'
+echo 'mkdir -p $RPM_BUILD_ROOT/lib/firmware'
echo "%else"
echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib/modules'
+echo 'mkdir -p $RPM_BUILD_ROOT/lib/firmware'
echo "%endif"
echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{_smp_mflags} modules_install'
@@ -92,5 +94,6 @@ echo "%files"
echo '%defattr (-, root, root)'
echo "%dir /lib/modules"
echo "/lib/modules/$KERNELRELEASE"
+echo "/lib/firmware"
echo "/boot/*"
echo ""