On 2019/07/18 19:15, Gregory Edigarov wrote:
> Hello,
> 
> Just tired a of rebooting into UKC a bit.
> 
> diff --git a/libexec/reorder_kernel/reorder_kernel.sh
> b/libexec/reorder_kernel/reorder_kernel.sh
> index ecd8d8fc563..7354350505a 100644
> --- a/libexec/reorder_kernel/reorder_kernel.sh
> +++ b/libexec/reorder_kernel/reorder_kernel.sh
> @@ -66,5 +66,9 @@ make newbsd
>  make newinstall
>  sync
> 
> +if [[ -f /etc/kernel.conf ]]; then
> +       config -ef /bsd < /etc/kernel.conf
> +fi
> +
>  echo "\nKernel has been relinked and is active on next reboot.\n"
>  cat $SHA256
> 

A subsequent reboot will fail to relink because the SHA256 file has not
been updated, also rewriting the kernel at this point nullifies the sync
that was recently added for a reason.

(Also as you'd probably expect, a similar suggestion has been made
before and already rejected.)

Reply via email to