diff options
| author | Stephen Nothnagel <srnoth@users.noreply.github.com> | 2026-04-08 17:01:11 -0400 |
|---|---|---|
| committer | Stephen Nothnagel <srnoth@users.noreply.github.com> | 2026-04-08 17:01:11 -0400 |
| commit | 8f5934e9a7f75a18b7399b163fe8e898a63ce77c (patch) | |
| tree | 7b15b57acfc97cea1a1fa3d5fbe5719630d8be7e /python/setup.py | |
| parent | 2509879017df77a0a7478df63d3e30c193c5ed7c (diff) | |
| download | vyos-1x-8f5934e9a7f75a18b7399b163fe8e898a63ce77c.tar.gz vyos-1x-8f5934e9a7f75a18b7399b163fe8e898a63ce77c.zip | |
serial: T8211: refactor rule to reduce duplication
Store the PROGRAM output in a temporary .BY_BUS ENV variable, then
reference it via %E{.BY_BUS} in the SYMLINK+= assignments. This
collapses the three duplicated PROGRAM pipelines into a single
invocation and removes the mixed usage of $result and %c.
No functional change: tested on MosChip MCS7840 (2x 4-port chips,
8 ports total), FTDI FT4232H, and Sierra EM7455 -- all symlinks
identical before and after, verified with udevadm test.
Reduces duplication; refactor suggested by
@copilot-pull-request-reviewer on PR #5113.
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions
