Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1735548
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kbuild/mkspec: remove firmware from rpm package |
| Date | 2017-09-20 08:20 +0200 |
| Message-ID | <urGwy-7DX-13@gated-at.bofh.it> (permalink) |
| References | <urD5E-5dE-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Sep 20, 2017 at 10:35:29AM +0800, shuwang@redhat.com wrote:
> From: Shu Wang <shuwang@redhat.com>
>
> Commit 5620a0d1aacd ("firmware: delete in-kernel firmware") deleted
> in-kernel firmware support, including the firmware install command.
>
> So make binrpm-pkg will failed as no firmware_install make target.
>
> Signed-off-by: Shu Wang <shuwang@redhat.com>
> ---
> scripts/package/mkspec | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/scripts/package/mkspec b/scripts/package/mkspec
> index bb43f153fd8e..8f34e31d8474 100755
> --- a/scripts/package/mkspec
> +++ b/scripts/package/mkspec
> @@ -88,11 +88,8 @@ echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib/modules'
> echo "%else"
> echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib/modules'
> echo "%endif"
> -echo 'mkdir -p $RPM_BUILD_ROOT'"/lib/firmware/$KERNELRELEASE"
>
> echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{?_smp_mflags} KBUILD_SRC= mod-fw= modules_install'
> -echo 'INSTALL_FW_PATH=$RPM_BUILD_ROOT'"/lib/firmware/$KERNELRELEASE"
> -echo 'make INSTALL_FW_PATH=$INSTALL_FW_PATH' firmware_install
> echo "%ifarch ia64"
> echo 'cp $KBUILD_IMAGE $RPM_BUILD_ROOT'"/boot/efi/vmlinuz-$KERNELRELEASE"
> echo 'ln -s '"efi/vmlinuz-$KERNELRELEASE" '$RPM_BUILD_ROOT'"/boot/"
> @@ -154,7 +151,6 @@ echo '%defattr (-, root, root)'
> echo "/lib/modules/$KERNELRELEASE"
> echo "%exclude /lib/modules/$KERNELRELEASE/build"
> echo "%exclude /lib/modules/$KERNELRELEASE/source"
> -echo "/lib/firmware/$KERNELRELEASE"
> echo "/boot/*"
> echo ""
> echo "%files headers"
I think this has already been posted to the list, right?
Sorry about it, it's pretty obvious that no build system tests kernel
packages, and neither do I :)
thanks,
greg k-h
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] kbuild/mkspec: remove firmware from rpm package shuwang@redhat.com - 2017-09-20 04:40 +0200
Re: [PATCH] kbuild/mkspec: remove firmware from rpm package Greg KH <gregkh@linuxfoundation.org> - 2017-09-20 08:20 +0200
Re: [PATCH] kbuild/mkspec: remove firmware from rpm package Shu Wang <shuwang@redhat.com> - 2017-09-20 08:40 +0200
Re: [PATCH] kbuild/mkspec: remove firmware from rpm package Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-20 09:00 +0200
Re: [PATCH] kbuild/mkspec: remove firmware from rpm package Greg KH <gregkh@linuxfoundation.org> - 2017-09-20 09:10 +0200
csiph-web