Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2021 21:42:40 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Michael Sierchio <kudzu@tenebras.com>
Cc:        Janos Dohanics <web@3dresearch.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Panic after updating from source
Message-ID:  <CAN6yY1uL8Ri3070SJ=dR5AVeG8qgxx5_SUxjdriNE-KWQkqsEQ@mail.gmail.com>
In-Reply-To: <CAHu1Y73cnWZij52c6_pKHZJiheHZE4wYsYf51sHZq7YGZuTYew@mail.gmail.com>
References:  <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <CAHu1Y73iJi=A9vwzOWM90zb2uD1pU9VZfwRJLdeZ6AhRF0nb9A@mail.gmail.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> <CAHu1Y70DCR4z8D85ixc2z2GwwY%2BhsK263QsJuq--BQCmByA9GA@mail.gmail.com> <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com> <CAHu1Y73cnWZij52c6_pKHZJiheHZE4wYsYf51sHZq7YGZuTYew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 1, 2021 at 6:31 PM Michael Sierchio <kudzu@tenebras.com> wrote:

> Anyone can repeat what's in the handbook.  It may not be applicable in al=
l
> circumstances, as I noted before =E2=80=93 as when you don't have console=
 access.
>
> It turns out that the formula I describe above works flawlessly for
> 12-STABLE to 13-STABLE upgrade:
>
>
>    1. userland and kernel are on
>
>    FreeBSD test-1.dbm.q2w.spin.pm 12.2-STABLE FreeBSD 12.2-STABLE
>    stable/12-n232782-39e2c45679a GRAVITON  arm64
>
>
>    1. Clear /usr/src and /usr/obj
>    2. Make sure you have a working kernconf for the new OS (e.g., device
>    random disappears in 13)
>    3.
>
>    git clone -b stable/13 --depth 1 https://git.freebsd.org/src.git
> /usr/src
>    4.
>
>    cp ~/GRAVITON /usr/src/sys/arm64/conf # my kernconf, mentioned in
>    /etc/make.conf
>    5.
>
>    cd /usr/src
>    6.
>
>    ( make -j8 buildworld && make -j8 kernel && make installworld && reboo=
t
>    ) >& make.out &
>    7.
>
>    [ time passes ]
>    8.
>
>    ssh <machine>
>    9.
>
>    uname -a
>
> FreeBSD test-1.dbm.q2w.spin.pm 13.0-STABLE FreeBSD 13.0-STABLE #0
> stable/13-05e4a34e4 GRAVITON  arm64
>
> --
>
> "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool i=
s no
> wiser, but an intelligent person requires only two thousand five hundred.=
"
>
> - The Mah=C4=81bh=C4=81rata
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>
You need to be aware that the shallow clone hash will not include the
commit count which will be used in future security updates to make it easy
to check whether your system needs to be updated or not. A full clone does
require more space, but I was surprised at how little extra space it
requires. Warner  is updating his git mini-guide to point out this issue.
If you run STABLE, it's a really significant concern. You can convert the
shallow clone to a full one with "git fetch --unshallow". This will take
some time to run.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uL8Ri3070SJ=dR5AVeG8qgxx5_SUxjdriNE-KWQkqsEQ>