[lfs-dev] Proposal: Firmware instructions

Olaf mailinglists at ban-solms.de
Sat Mar 15 04:21:55 PDT 2014


On 2014-03-15 04:44, Bruce Dubbs wrote:

> Hmm, just tell me in your own words how you do it.  Don't worry about
> what tools to use right now.

This is how I currently create 'snapshots':

# linux-firmware lives in GIT 
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
# The procedure to create a snapshot is something like:

git pull
TAG=`git log -1 --pretty=format:%h`
git archive --prefix=linux-firmware-${TAG}/ HEAD | xz > 
<location-for-storing>/linux-firmware-${TAG}.tar.xz


Result is about ~ 22 MiB. Probably best/easiest to make that available 
via anduin?
The archived snapshot comes with a Makefile which can be used to copy 
the lot to /lib/firmware.
Or, if disk space is a concern, cherry pick the ones you need.


Olaf



More information about the lfs-dev mailing list