Maps Z: to _media\<PCTYPE> instead of the shared gea-shopfloor media, so PESetup's unfiltered CopyPackages stages only this type's payload rather than every shopfloor payload on every bay. The mapping is validated rather than assumed: it probes Z:\Deploy\Control\HardwareDriver.json, which resolves only when the view exists AND its symlinks are intact, so a dangling view cannot image silently off a half-mapped drive. On any failure it falls back to the shared media with a console warning - the bay still images, it just stages the union, which is exactly today's behaviour. That fallback also covers the second WJ PXE box, which has no _media views yet. Z: is freed before the mapping. A leftover mapping makes net use fail with "device already in use", and the probe would then pass against the OLD media - a silent wrong-payload build, which is the failure this change exists to prevent. Views are built by scripts/build-pctype-media.py.
32 KiB
32 KiB