Repository navigation
feat(installer): prepare storage media on macOS - #301
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Look for the imager app in /Applications and the user's Applications folder, read its version from Info.plist, and treat macOS imagers below 2.0.12 as too old. macOS imagers are started directly with --cli, like the Windows one. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…tion The imager asks for the device right itself when the user cannot open the drive. The job now keeps the rights step active while that dialog is open, closes it once the device is opened, and reports a refused dialog as MEDIA_RIGHTS_DENIED. macOS gets its own host file with the Homebrew link. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Parse diskutil output and hide the system disk: the parent disk of /, the whole disks of its APFS physical stores and its container. Disk images count as internal, fail closed without a root parent. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The media screens show the Homebrew command on macOS, the rights hint for the write step and no network scan on step 2 when macOS reports no networks. The fake host gets a darwin platform for the e2e test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds the workflow that runs the media mode end to end on macos-latest: the imager writes a 64 MiB test image to a RAM disk, the written bytes are compared, and a 1 GiB write is cancelled at its first write. The test is build-tagged darwin and mediae2e and skips without EN_MAC_RAMDISK. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The media mode is supported on macOS, so TestMediaUnsupportedWithoutLinux no longer gets the unsupported answer there. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Squash-merge commit message
Highlight translations
Tour
noneSummary
macOS support for the installer mode "Media", built on the platform seam of #298.
Evidence
installer-macos-media.ymlgreen onmacos-latest(run 46315769904). Imager 2.0.12 wrote a 64 MiB image to a RAM disk, the bytes matched, and a cancelled 1 GiB write ended with no imager process leftgo vetfor darwin and windows, 598 UI tests, 32 e2e tests, 401 script testsMerge danger
ci-okChecks
scripts/dev/check_tracked_secrets.shis clean.