Date: Wed, 21 Sep 2022 00:09:46 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: Alan Somers <asomers@freebsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: Good practices with bectl Message-ID: <CAFDf7UJR73_rJeFQ059LCRw=K6AL8Y__9XgZ7RdR5zcjLitY_g@mail.gmail.com> In-Reply-To: <CAOtMX2gdoh2XxF0ofohyBA3DY-tgB5wAWb6%2BQmMb5tZRjieEvw@mail.gmail.com> References: <CAFDf7UL42z-m9P-gp6eY-orwcPz_UdJpiAM3ab-z4XLbY0LOdg@mail.gmail.com> <CAOtMX2gdoh2XxF0ofohyBA3DY-tgB5wAWb6%2BQmMb5tZRjieEvw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000053d8e805e923edf7 Content-Type: text/plain; charset="UTF-8" Hi Alan, This general procedure works just as well if you're upgrading from source, > too. > > sudo make DESTDIR=${BASEDIR} installworld > sudo mergemaster -m $PWD -D $BASEDIR -U > (mergemaster -m </path/to/sources> -D </destdir/path>) using etcupdate: (etcupdate -s <source> -D <destdir>), source defaults to /usr/src > etcupdate -D $BASEDIR Need to find how to execute: `make delete-old delete-old-libs` since $BASEDIR don't have /usr/src Thanks -- Nuno Teixeira FreeBSD Committer (ports) --00000000000053d8e805e923edf7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">Hi Alan,<br></div><br><div class=3D"gmail= _quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex= ;border-left:1px solid rgb(204,204,204);padding-left:1ex"> This general procedure works just as well if you're upgrading from sour= ce, too.<br> <br> sudo make DESTDIR=3D${BASEDIR} installworld<br> sudo mergemaster -m $PWD -D $BASEDIR -U<br></blockquote><div><br></div><div= >(mergemaster -m </path/to/sources> -D </destdir/path>)<br></di= v><div><br></div><div>using etcupdate:</div><div>(etcupdate -s <source&g= t; -D <destdir>), source defaults to /usr/src</div><div><br></div><di= v>> etcupdate -D $BASEDIR</div><div><br></div><div>Need to find how to e= xecute:<br></div><div>`make delete-old delete-old-libs` since $BASEDIR don&= #39;t have /usr/src<br></div><div><br></div></div>Thanks<br><div>-- <br><di= v dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><span style=3D"col= or:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div= ></div></div></div> --00000000000053d8e805e923edf7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJR73_rJeFQ059LCRw=K6AL8Y__9XgZ7RdR5zcjLitY_g>