Khem Raj 88c22e566d
ebtables: Fix update-alternatives by setting ALTERNATIVE_TARGET
The commit adding update-alternatives support omitted
ALTERNATIVE_TARGET[ebtables], causing the bbclass to fall back to
constructing the target as ${sbindir}/ebtables.ebtables which does
not exist. The binary is installed as ebtables-legacy, so set
ALTERNATIVE_TARGET accordingly.

fixes QA warnings:

  ebtables: alternative target does not exist, skipping
  ebtables: NOT adding alternative provide /usr/sbin/ebtables
  ebtables: alt_link == alt_target: /usr/sbin/ebtables == /usr/sbin/ebtables

Fixes: 584fec0f74ad ("ebtables: Use update alternatives for "ebtables"")

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-23 07:54:06 -07:00
..
2025-11-09 06:52:51 -08:00
2025-12-09 09:08:16 -08:00