From 21a0a86141a5c1d030ee9ad9fb5c5ba4fc474c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Wed, 8 Feb 2023 19:17:29 +0100 Subject: [PATCH] tnftp: switch to using variable flags for alternatives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Up to now in this recipe the alternative mechanism only worked by accident, so do like all other recipes and utilize varflags. Signed-off-by: Ulrich Ölmann Signed-off-by: Khem Raj --- meta-networking/recipes-support/tnftp/tnftp_20210827.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-support/tnftp/tnftp_20210827.bb b/meta-networking/recipes-support/tnftp/tnftp_20210827.bb index 8c5892668d..a6ba671e70 100644 --- a/meta-networking/recipes-support/tnftp/tnftp_20210827.bb +++ b/meta-networking/recipes-support/tnftp/tnftp_20210827.bb @@ -23,8 +23,8 @@ inherit autotools update-alternatives pkgconfig ALTERNATIVE_PRIORITY = "100" ALTERNATIVE:${PN} = "ftp" -ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp" -ALTERNATIVE_TARGET_${PN} = "${bindir}/tnftp" +ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp" +ALTERNATIVE_TARGET[ftp] = "${bindir}/tnftp" FILES:${PN} = "${bindir}/tnftp"