Skip to content

Name apple-bcm-firmware-fetcher in the T2 package list - #13963

Merged
ryanrhughes merged 3 commits into
omacom:quattrofrom
SorenHJohansen:fix/t2-firmware-fetcher
Oct 5, 2026
Merged

ryanrhughes merged 3 commits into
omacom:quattrofrom
SorenHJohansen:fix/t2-firmware-fetcher

Conversation

@SorenHJohansen

@SorenHJohansen SorenHJohansen commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

arch-mact2 replaced apple-bcm-firmware with apple-bcm-firmware-fetcher on 2026-09-26. Both configured mirrors now serve a database containing only the fetcher, which declares Conflicts=apple-bcm-firmware. This repo still asked for the old name in two places, so any T2 install path that resolves against the current database failed with target not found:

  • install/omarchy-other.packages:67
  • install/hardware/apple/fix-t2.sh:10

Both now name the fetcher. Because the fetcher Conflicts the old package, fix-t2.sh also drops apple-bcm-firmware first via omarchy-pkg-drop (a no-op on fresh installs); otherwise a machine that already carried the old package would abort the noninteractive transaction under the installer's set -e.

Notes

  • Single-boot T2 caveat. The fetcher reads its firmware from an on-disk macOS volume — Wi-Fi firmware for T2 Macs is only legally obtainable from there. A single-boot install that wiped macOS has no such volume, so the fetch comes up empty; those machines need the firmware supplied from a macOS copy or a downloaded recovery image. Documented in fix-t2.sh.
  • omarchy-iso#205 already maps the old name to the fetcher inside builder/build-iso.sh. After this lands, that sed no longer matches, so the two compose cleanly in either merge order.

Verification

  • test/shell.d/t2-hardware-test.sh passes in the VM guest: fresh-setup defaults, migration repair, idempotency, plus new assertions pinning the fetcher rename and the conflict drop.
  • No apple-bcm-firmware reference remains anywhere in the tree.
  • Still needs a human on real T2 hardware: confirm omarchy-pkg-add resolves the fetcher and that t2fanrd + the T2 audio config come up.

@greptile-apps

greptile-apps Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low risk] Updates package name in T2 MacBook setup scripts.

The T2 package transition still warrants attention before merging because rerunning setup with the legacy firmware package installed can fail.

Summary

The PR replaces the old T2 firmware package name with apple-bcm-firmware-fetcher in hardware setup and the additional package list, and updates the associated test. The latest revision also removes the legacy-package conflict drop and its assertions.

Reviews (3) · Last reviewed commit: "Drop superseded T2 firmware handling fro..."

Comment thread install/hardware/apple/fix-t2.sh Resolved
Comment thread install/hardware/apple/fix-t2.sh Resolved
@SorenHJohansen

Copy link
Copy Markdown
Contributor Author

The firmware-source concern is inherent to apple-bcm-firmware-fetcher, rather than introduced by this PR. The package has already replaced apple-bcm-firmware upstream and is specifically designed to extract firmware from the macOS volume.

This PR only updates Omarchy's package references to the package currently published by arch-mact2. Handling firmware availability when macOS has already been removed is outside the scope of this package-name migration.

Likewise, apple-bcm-firmware-fetcher conflicting with the obsolete package is expected from the upstream package transition. This PR changes the package requested by fresh installs; it does not perform an in-place package migration. If Omarchy's upgrade path requires explicit migration of existing installations, that should be handled separately.

@omarchybot omarchybot added the bug Something isn't working label Oct 1, 2026
Comment thread install/hardware/apple/fix-t2.sh Outdated
# Conflicts=apple-bcm-firmware, so a machine that already carries the old
# package (an earlier install) must drop it first or the noninteractive
# transaction fails. Fresh installs have nothing to drop, which is a no-op.
omarchy-pkg-drop apple-bcm-firmware

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files are ONLY ran upon install so this will never accomplish anything. Delete.

Comment thread test/shell.d/t2-hardware-test.sh Outdated
fail "the ISO no longer caches tiny-dfr"
grep -Fq 'apple-bcm-firmware-fetcher' "$fix_t2" ||
fail "T2 setup installs the firmware fetcher"
grep -Fq 'omarchy-pkg-drop apple-bcm-firmware' "$fix_t2" ||

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing. We're not migrating users who already have the firmware so this shouldn't exist

Comment thread test/shell.d/t2-hardware-test.sh Outdated
fail "T2 setup installs the firmware fetcher"
grep -Fq 'omarchy-pkg-drop apple-bcm-firmware' "$fix_t2" ||
fail "T2 setup drops the superseded firmware package before the fetcher conflicts with it"
! grep -Fq 'apple-bcm-firmware \' "$fix_t2" ||

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need to care about this

@ryanrhughes
ryanrhughes merged commit 81145eb into omacom:quattro Oct 5, 2026
1 check passed
@SorenHJohansen
SorenHJohansen deleted the fix/t2-firmware-fetcher branch October 5, 2026 14:45
omarchybot added a commit to phedoreanu/omarchy that referenced this pull request Oct 7, 2026
Resolves the conflict in test/shell.d/t2-hardware-test.sh, where quattro's firmware fetcher checks (omacom#13963) and this branch's Thunderbolt hook checks were added at the same place; both are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ryanrhughes added a commit that referenced this pull request Oct 16, 2026
Name apple-bcm-firmware-fetcher in the T2 package list

(cherry picked from commit 81145eb)
@emirb emirb added this to the 4.0.5 milestone Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants