Subject: PATCH: Kbuild: mkspec has to include /lib/firmware contents


We have to include the contents of /lib/firmware directory when building
the RPM package, otherwise the build will fail because of unpackaged
files.

Signed-off-by: Luiz Fernando N. Capitulino <[email protected]>
---
scripts/package/mkspec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index ffd61fe..4f5d8cd 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -92,5 +92,6 @@ echo "%files"
echo '%defattr (-, root, root)'
echo "%dir /lib/modules"
echo "/lib/modules/$KERNELRELEASE"
+echo "/lib/firmware/*"
echo "/boot/*"
echo ""
--
1.5.6



--
Luiz Fernando N. Capitulino


2008-08-28 17:10:05

by Alan

[permalink] [raw]
Subject: Re: PATCH: Kbuild: mkspec has to include /lib/firmware contents

On Thu, 28 Aug 2008 14:07:26 -0300
"Luiz Fernando N. Capitulino" <[email protected]> wrote:

>
> We have to include the contents of /lib/firmware directory when building
> the RPM package, otherwise the build will fail because of unpackaged
> files.
>
> Signed-off-by: Luiz Fernando N. Capitulino <[email protected]>
Acked-by: Alan Cox <[email protected]>