HomeFreeBSD

freebsd-update: for rollback, first create directories

Description

freebsd-update: for rollback, first create directories

rollback_files() tried to install files before creating the directories
for those files. In some cases this is due to special handling to
install certain classes of files earlier than others.

Just create all directories up front when performing rollback.

PR: 273950
Reviewed by: dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42020

(cherry picked from commit 6b27e1f2eaab9360a796c943da9d206515e1742b)

Details

Provenance
emasteAuthored on Sep 29 2023, 3:28 PM
Reviewer
dim
Differential Revision
D42020: freebsd-update: for rollback, first create directories
Parents
rGf8f15d7436a5: crashinfo: remove unused /usr/bin/gdb support
Branches
Unknown
Tags
Unknown