|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 2/5] Config.mk: record hash of SeaBIOS tag
On Thu, Nov 26, 2026 at 08:24:40AM +0100, Jan Beulich wrote: > On 25.11.2026 23:29, Elliott Mitchell wrote: > > On Sat, Nov 07, 2026 at 07:00:26PM -0800, Elliott Mitchell wrote: > >> > >> The situation with Qemu is far more concerning. Since > >> $(QEMU_UPSTREAM_REVISION) points at a branch on Xen's git server, every > >> time that branch moves you get a different build. Since different > >> versions will have different bugs/features unless there is a public > >> record of where the branch was over time, older builds become impossible > >> to reproduce. > >> > >> The favored solution to these problems would be to switch to using > >> `git subtree`. This though would be a pretty major move. I was hoping > >> this series would get a discussion started about option. > > > > I suppose I should ask given lack of response to this statement. Do you > > feel this is something which should be brought up during the Community > > Call? > > I fear I'm the wrong one to ask, not the least because I wasn't even aware > of a "subtree" sub-command. Whether that's (meaningfully) better than > "submodule" I have no idea. One aspect which may matter is that in the git > version I'm using, for example, the sub-command isn't known. An example usage might be: git remote add qemu-xen https://xenbits.xen.org/git-http/qemu-xen.git git fetch -n qemu master git subtree -P tools/qemu-xen-dir add qemu-xen master If you really have a version of git old enough not to have the subtree command or are wondering what this does behind the scenes below has an equivalent effect (assuming the remote and fetch from above have already been done): git git merge --no-commit --allow-unrelated-histories -s ours qemu-xen/master mkdir tools/qemu-xen-dir git read-tree --prefix=tools/qemu-xen-dir qemu-xen/master git commit git checkout -- tools/qemu-xen-dir This results in having the full history all together. No need for an extra script during build. If you've seen FreeBSD's repository this is pretty similar to what they've been doing. I recommend creating an extra worktree (`git worktree add ../xen-test`) before trying this. Easier to recover a garbled worktree than your main worktree ending up in an unfamiliar situation. One problem I noticed is some step Qemu does using `meson` tries to do things with `git` during their build process. Problem is they're assuming a specific `git` setup too which was causing trouble. -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg@xxxxxxx PGP 87145445 | ) / \_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |