Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2021 09:32:36 -0600 (CST)
From:      Dan Mack <mack@macktronics.com>
To:        Frank Seltzer <frank_s@bellsouth.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: src: continued use of Subversion for getting updates
Message-ID:  <alpine.GSO.2.20.2101090928020.73273@localhost.local>
In-Reply-To: <20210109102356.7745a48a@Ace.nina.org>
References:  <CANCZdfrUsaw5jpN1ybpk0ADXdQYam0_NO0mPJd0-FMbuxPruhw@mail.gmail.com> <20201222183900.GA22353@www.zefox.net> <81C07616-434E-4DF4-91AC-518AECF4F16F@gromit.dlib.vt.edu> <01b07b90-e206-aa56-aa5b-91c764ef36a4@gmail.com> <CANCZdfpJC4jA0ZUfP90FkeY-EWpLJo%2BZcRctV6GUKt=tyUG2kA@mail.gmail.com> <4a78a724-08d8-b9bd-1353-598b5c596078@gmail.com> <CANCZdfqJPo7bOmzcXz2a-fJzk8H6Qmym7eLy7DQzABjsS64tjQ@mail.gmail.com> <c67bf36c-b8c9-6ef1-bde8-012941684a6e@gmail.com> <a56683b2-1704-6c51-e666-6035688859de@gmail.com> <CANCZdfpYuabQFTra%2BHGBAme8DXR6FAgbBt3dgHZ3SmMuWRGf7w@mail.gmail.com> <20210109102356.7745a48a@Ace.nina.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 9 Jan 2021, Frank Seltzer wrote:

> On Sat, 2 Jan 2021 23:00:35 -0700
> Warner Losh <imp@bsdimp.com> wrote:
>
>> That would. I'll make sure something is written up, but it should exactly
>> like before.
>>
>> Warner
>
> Is there a cookbook guide to converting to git from svn for people who just
> want to checkout source to buildworld and keep the ports tree up to date?

I just do this assuming /usr/src is empty already:

  # cd /usr
  # git clone https://git.FreeBSD.org/src.git
  # cd /usr/src
  # git config pull.ff=only

Before each build:

  # git pull
  # make -j 8 buildworld >& /root/builds/world/`git rev-parse --short HEAD`
  # make -j 8 buildkernel ...
  # reboot

...

  # cd /usr/src
  # make installworld
  # mergemaster -iFU     /* need to start using an alt method for this */

  # reboot

works for me (tm)

Dan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.20.2101090928020.73273>