Building linux-firmware package with Pat's slackbuild script
Hi All. I am running a custom 3.0.4 kernel and would like to add the latest binary blobs to enable my rtl8192se card to work. I can do this by dumping the binaries in the /lib/firmware directory, but would prefer to create a proper package using the latest firmware package from the kernel.org git repo (or at least the last one that got mirrored before the kernel.org got taken down).
This is the slackbuild from current: Code:
#!/bin/sh Thoughts appreciated. |
I think that you would be safe to just install the package from -current
Thu Aug 25 09:10:45 UTC 2011 a/kernel-firmware-20110814git-noarch-1.txz: Upgraded. Fetch the latest kernel firmware from git -- the stuff in the kernel sources is somewhat stale. ftp://ftp.osuosl.org/pub/slackware/s...t-noarch-1.txz |
Quote:
|
Ok, so I have merged the latest firmware into the /usr/src/linux-3.0.4/firmware, removed the 2.6.27.6 firmware package, ran the kernel-firmware.Slackbuild script and installed the resultant package. I have examined the package, it it seems that although make has run recursively into some of the directories in /usr/src/linux-3.0.4 firmware, it hasn't done all of them, including rtlwifi, which is the one that I want!
Any thoughts on what amendments I can make to the script to ensure that all of the firmware is packaged-I have a newbie hunch that make can't deal with the binary blobs, for obvious reasons. Any comments on this being the case are particularly welcomed! |
I took this firmware package
ftp.osuosl.org/pub/gentoo/distfiles/linux-firmware-20110818.tar.bz2 and built this kernel-firmware package with it http://dl.dropbox.com/u/27872107/ker...t-noarch-1.txz it has does contain the firmware that you want. Code:
linux-firmware-20110818/rtlwifi/ |
Quote:
|
I just downloaded the firmware file from:
http://ftp.osuosl.org/pub/gentoo/dis...110818.tar.bz2 and put it in a directory with the slackbuild and a slack-desc file. Here is the slackbuild that I made for it. Code:
#!/bin/sh |
Quote:
|
You're welcome.
Glad to be of help. |
All times are GMT -5. The time now is 02:02 AM. |