mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-26 19:47:42 +00:00
install-runtime.sh: provision a platform identity for new prefixes
When install-runtime.sh creates the prefix (first-time setup, regular or Nix), it now runs configure-darling-platform.py --provision --write once the runtime is stopped, so each new install gets its own synthetic serial, MLB, UUID and ROM. A prefix counts as new the same way Darling decides it: the directory did not exist before the first `darling shell`. Existing prefixes keep their identity on reinstall and update. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
d443e631c2
commit
c8cbb1ffe7
2 files changed
+19
-7
No files matched your search
@@ -1,9 +1,12 @@
|
||||
# Explicit platform identity overrides
|
||||
|
||||
By default, Darling keeps the existing host-derived UUID and `DARLING-` serial.
|
||||
No override file is generated by installation or launch. Import mode uses values supplied by the user. Explicit `--provision` mode can
|
||||
generate synthetic identifiers; it does not issue authentic Apple identities
|
||||
or change CPU, GPU, or security metadata.
|
||||
First-time setup (`scripts/install-runtime.sh` creating a new prefix) runs
|
||||
`--provision --write` once, so each new prefix gets its own synthetic identity.
|
||||
A prefix without saved identity files keeps the host-derived UUID and
|
||||
`DARLING-` serial; launching never generates an override. Import mode uses
|
||||
values supplied by the user. `--provision` generates synthetic identifiers; it
|
||||
does not issue authentic Apple identities or change CPU, GPU, or security
|
||||
metadata.
|
||||
|
||||
Preview an OpenCore `config.plist`, a flat GenSMBIOS JSON file, or an existing
|
||||
`darling-smbios.conf` without changing the selected prefix:
|
||||
@@ -89,9 +92,9 @@ python3 tools/configure-darling-platform.py --prefix /absolute/prefix --provisio
|
||||
```
|
||||
|
||||
Launch Darling normally afterwards. This requires the updated iokitd from this
|
||||
PR; the config tool alone cannot update an older running daemon. Provisioning
|
||||
is never called automatically by installation or launch. The one exception is
|
||||
`scripts/update.sh`: after installing, it runs
|
||||
PR; the config tool alone cannot update an older running daemon. Besides
|
||||
first-time setup above, provisioning runs automatically in one other case:
|
||||
after installing, `scripts/update.sh` runs
|
||||
`configure-darling-platform.py --replace-known-defaults --write`, which
|
||||
provisions the prefix only if its saved identity still contains the shared
|
||||
serial or UUID below. Prefixes without saved identity files, or whose saved
|
||||
|
||||
Reference in new issue
Block a user