mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 01:08:56 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user