On 14.09.2011, at 14:59, Anthony Liguori wrote: > On 09/14/2011 07:28 AM, Peter Maydell wrote: >> On 14 September 2011 13:24, Alexander Graf<ag...@suse.de> wrote: >>> Am 14.09.2011 um 13:01 schrieb Peter Maydell<peter.mayd...@linaro.org>: >>>> I confess to not really understanding how we keep the git >>>> submodules and the binary blobs in sync, but shouldn't there >>>> be a reference in the commit message to the git commit hash >>>> for the slof sources corresponding to this blob, and maybe >>>> also an update to roms/SLOF here? (cf commit d67c3f2c for >>>> example) ? >>> >>> Oh? Since I have absolutely no idea on git submodules, it might >>> be helpful to add some description on how to do a blob update >>> into README? >> >> Sounds like a good idea -- I think Anthony is the expert here. > > You should be able to just checkout the desired version of the submodule (you > may need to refetch from git.qemu.org), then build the binary and copy the > results to pc-bios/. Then in the top level, do a single commit that includes > the submodule commit change and the new binary blob. > > For seabios, it would look something like: >
agraf@lychee:/home/agraf/release/qemu> git submodule init Submodule 'roms/SLOF' (git://git.qemu.org/SLOF.git) registered for path 'roms/SLOF' Submodule 'roms/ipxe' (git://git.qemu.org/ipxe.git) registered for path 'roms/ipxe' Submodule 'roms/seabios' (git://git.qemu.org/seabios.git/) registered for path 'roms/seabios' Submodule 'roms/vgabios' (git://git.qemu.org/vgabios.git/) registered for path 'roms/vgabios' agraf@lychee:/home/agraf/release/qemu> cd roms/SLOF/ agraf@lychee:/home/agraf/release/qemu/roms/SLOF> l total 8 drwxr-xr-x 2 agraf suse 4096 2011-04-01 18:34 ./ drwxr-xr-x 7 agraf suse 4096 2011-05-01 00:42 ../ agraf@lychee:/home/agraf/release/qemu/roms/SLOF> git checkout master Switched to branch "master" ... which switches to "master" on my qemu git tree. Alex