-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repair: add
sequoia
subcommand to migrate build users to the new 35…
…1+ UID range (#1143) * repair: use target_lexicon::OperatingSystem over target_os cfg * repair: make repair actions a collection * Make some things pub for ease of reuse * fixup: make write_receipt() take a reference instead of ownership * fixup: make write_receipt() atomic and member of InstallPlan * CreateUser: enable skipping the completion check This is useful for when you don't care if it's been completed or not and want to rerun the commands. Especially useful on macOS, where `dscl . -create` is idempotent. * repair: add `sequoia` subcommand that can migrate build users to the new 351+ UID range * fixup: should not be able to specify uid base * fixup: nicer wording for human consumption * fixup: don't worry about incompatible receipts * fixup: prompt before some repair commands * fixup: set user_base outside of branch * fixup: store a timestamped, pre-repair copy of the receipt * fixup: note whether or not the receipt will be updated * fixup: note that uninstallation will work even if the receipt could not be updated
- Loading branch information
Showing
7 changed files
with
611 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.