Christoph Moench-Tegeder wrote:
>## Rick Macklem (rmack...@uoguelph.ca):
>
>> I am hoping someone knows what DNS does in this area (the
>> working group list uses terms like umlaut, which I have never
>> even heard of;-).
>
>The dry start on that topic is RFC5890
Summary: Using bectl for upgrades
RELEASE=Whatever
> bectl create ${RELEASE}
> bectl mount ${RELEASE}
BASEDIR=/tmp/be_mount. # Use mount point returned by bectl mount
[freebsd-update method]
> freebsd-update -b ${BASEDIR} -d ${BASEDIR}/var/db/freebsd-update \
upgrade -r ${RELEASE}
>
On 20/09/22 19:19, Alan Somers wrote:
On Tue, Sep 20, 2022 at 4:14 PM Nuno Teixeira wrote:
Hello to all,
I will use becl for the first time for current upgrades.
Just to check that I'm thinking correctly:
Create a test environment for upgrade:
bectl create -r test (should I use '-r'?)
Quoting David Wolfskill (from Wed, 21 Sep 2022
03:25:52 -0700):
On Wed, Sep 21, 2022 at 11:27:06AM +0200, Alexander Leidinger wrote:
...
make DESTDIR=${BASEDIR} -DBATCH_DELETE_OLD_FILES delete-old delete-old-libs
Usually I replace the delete-old-libs with check-old, as I don't want
to
On Wed, Sep 21, 2022 at 11:27:06AM +0200, Alexander Leidinger wrote:
> ...
> make DESTDIR=${BASEDIR} -DBATCH_DELETE_OLD_FILES delete-old delete-old-libs
>
> Usually I replace the delete-old-libs with check-old, as I don't want
> to blindly delete them (some ports may depend on them... at
Quoting Alan Somers (from Tue, 20 Sep 2022
16:19:49 -0600):
sudo bectl activate ${RELEASE}
Failsafe (if the machine is too far away to simply walk over and
switch to the old BE):
bectl activate -t ${RELEASE}
Needs an activate without -t later.
Bye,
Alexander.
--
Quoting Nuno Teixeira (from Wed, 21 Sep 2022
00:11:41 +0100):
(...)
maybe:
> yes | make DESTDIR=${BASEDIR} delete-old delete-old-libs
make DESTDIR=${BASEDIR} -DBATCH_DELETE_OLD_FILES delete-old delete-old-libs
Usually I replace the delete-old-libs with check-old, as I don't want
* Nuno Teixeira [20220921 00:11]:
> (...)
> maybe:
> > yes | make DESTDIR=${BASEDIR} delete-old delete-old-libs
Exactly, DESTDIR is used by all the targets.
BTW, you can just set BATCH_DELETE_OLD_FILES=yes (either on the
command-line or in make.conf) instead of using "yes&q