HomeFreeBSD

etcupdate: Don't rotate trees for a dry run.

Description

etcupdate: Don't rotate trees for a dry run.

When performing a dry run, remove the temporary tree created rather
than rotating the trees. Rotating the trees meant that etcupdate
thought the latest changes were already merged and would not merge
them on the next real run.

PR: 260281
Reported by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Fixes: 0611aec3cf3a etcupdate: Always extract to a temporary tree.

(cherry picked from commit 431944fb5ffff5ad56e720b75b7beecdc4878e0e)

Details

Provenance
jhbAuthored on May 25 2022, 9:02 PM
Parents
rG4e2ddb0d416e: x86 mptable: Include <x86/legacvar.h> for legacy_get_pcibus().
Branches
Unknown
Tags
Unknown