diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/vlan/vlan_1.9.bb')
-rw-r--r-- | meta-networking/recipes-connectivity/vlan/vlan_1.9.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb index bd55efce2..7eea5d135 100644 --- a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb +++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb @@ -14,6 +14,8 @@ SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb486884 S = "${WORKDIR}/${BPN}" +inherit update-alternatives + EXTRA_OEMAKE = "-e MAKEFLAGS=" # comment out MakeInclude in Makefile which sets build environment @@ -30,3 +32,7 @@ do_install () { install -d ${D}/${base_sbindir} install -m 0755 ${S}/vconfig ${D}/${base_sbindir}/ } + +ALTERNATIVE_PRIORITY = "100" +ALTERNATIVE_${PN} = "vconfig" +ALTERNATIVE_LINK_NAME[vconfig] = "${base_sbindir}/vconfig" |