Connect installer admission to the existing updater fixtures

The complete installer suite exposed the extracted-main fixture missing the new admission dependency and the native fixture still relocating one local destination definition. Keep server operations inert in the updater-completion unit, and relocate both actual admission/writer destinations in the connected signed recovery control. Runtime source, assertions and native safety checks remain intact.

Contract-Neutral: Maintains existing fixture boundaries for the reviewed caller admission without changing production behavior, validation requirements or native qualification policy.
Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-11-09 15:34:09 +00:00
parent 75387ff320
commit a830981229
2 changed files with 8 additions and 5 deletions

View File

@@ -679,11 +679,11 @@ else: sys.exit(97)
original_write = Path.write_text
def relocate(path, data, *args, **kwargs):
if path.name == "installer-definitions":
# Relocate only the production destination. Keep its real
# private staging, checked writes and atomic publication in
# this connected signature/archive/recovery control too.
# Relocate both the shared admission and writer destination.
# Keep real name selection, refusal, private staging, checked
# writes and atomic publication in this connected control.
before = 'local service_path="/etc/systemd/system/$SERVICE_NAME.service"'
self.assertEqual(data.count(before), 1)
self.assertEqual(data.count(before), 2)
data = data.replace(before, 'local service_path="$PULSE_NATIVE_ROOT/pulse-source-updater.service"')
return original_write(path, data, *args, **kwargs)
try: