diff options
| author | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-22 13:43:51 -0700 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-22 16:10:41 -0700 |
| commit | 47621c9120b7cab82d3db87bc314e2ce9c79f8a7 (patch) | |
| tree | 290025998c10ddcc003eb4296adae94c44647e01 | |
| parent | cd39565a5af70bca5865d1ebadc8f69ce91ea0dc (diff) | |
| download | meta-openembedded-47621c9120b7cab82d3db87bc314e2ce9c79f8a7.tar.gz | |
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>
| -rw-r--r-- | meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb index 5ae30e440c..5e9f9ce070 100644 --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb | |||
| @@ -52,4 +52,5 @@ SYSTEMD_SERVICE:${PN} = "ebtables.service" | |||
| 52 | 52 | ||
| 53 | ALTERNATIVE:${PN} = "ebtables" | 53 | ALTERNATIVE:${PN} = "ebtables" |
| 54 | ALTERNATIVE_LINK_NAME[ebtables] = "${sbindir}/ebtables" | 54 | ALTERNATIVE_LINK_NAME[ebtables] = "${sbindir}/ebtables" |
| 55 | ALTERNATIVE_TARGET[ebtables] = "${sbindir}/ebtables-legacy" | ||
| 55 | ALTERNATIVE_PRIORITY[ebtables] = "90" | 56 | ALTERNATIVE_PRIORITY[ebtables] = "90" |
