On Fri, Sep 27, 2019 at 09:39:36PM +0000, Antti Kantee wrote:
> On 27/09/2019 18:09, Christoph Badura wrote:
> >So, the next step is to update the rumpctrl submodules.
> >Is it documented anywhere how exactly to do that?  I didn't see anything.
> >
> >I guess for buildrump.sh it is just "git submodule update buildrump.sh".
> >I'm not sure how to update the src-netbsd submodule.  It seems to be
> >using the all-src branch.
> 
> Um, I don't actually remember, but I think it's just "git pull" in
> the subdirectory, followed by "git commit src-netbsd" in the parent
> directory.

In a freshly cloned rumpctrl src-netbsd is on a detached head and therefor
git doesn't know from which branch to pull.  Maybe in your working
directory you have src-netbsd checked out on a branch and that doesn't
change when you "git commit src-netbsd" in the parent directory.  That
would explain it.

Anway, the last recorded commit was the head of the all-src branch.

I've made the module track the branch like so:
git config -f .gitmodules submodule.src-netbsd.branch all-src

--chris

Reply via email to