Page MenuHomeFreeBSD

bsdinstall partedit: Apply changes from scripted installs
ClosedPublic

Authored by jhb on Oct 16 2023, 9:23 PM.
Tags
None
Referenced Files
F168117209: D42236.diff
Wed, Aug 26, 11:26 AM
F168116300: D42236.id.diff
Wed, Aug 26, 11:20 AM
Unknown Object (File)
Wed, Aug 26, 7:12 AM
Unknown Object (File)
Sun, Aug 23, 10:41 PM
Unknown Object (File)
Sun, Aug 23, 7:00 PM
Unknown Object (File)
Sun, Aug 23, 6:37 PM
Unknown Object (File)
Sun, Aug 23, 6:12 PM
Unknown Object (File)
Sat, Aug 22, 8:59 PM
Subscribers

Details

Summary

I got a check inverted in a previous cleanup commit and as a result
partedit was only applying GEOM changes (and generating an /etc/fstab)
if it got an error reading the current GEOM mesh. Instead, it needed
to do those actions if it succeeded in reading the mesh.

The lack of /etc/fstab meant that bsdinstall mount didn't mount
anything in a scripted install.

PR: 273723
Reported by: Andrey Fesenko <andrey@bsdnir.info>
Reported by: Michal Nowak <mnowak@startmail.com>
Fixes: 230990991965 bsdinstall: Handle errors from geom_gettree.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54013
Build 50903: arc lint + arc unit