diff options
Diffstat (limited to 'poky/meta/recipes-extended/lsof/lsof_4.95.0.bb')
-rw-r--r-- | poky/meta/recipes-extended/lsof/lsof_4.95.0.bb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/poky/meta/recipes-extended/lsof/lsof_4.95.0.bb b/poky/meta/recipes-extended/lsof/lsof_4.95.0.bb index f380de0b6b..f59fe009bb 100644 --- a/poky/meta/recipes-extended/lsof/lsof_4.95.0.bb +++ b/poky/meta/recipes-extended/lsof/lsof_4.95.0.bb @@ -19,6 +19,15 @@ SRCREV = "67d8c828e7bdc01ba93f8ff79765dd424da0c9d7" S = "${WORKDIR}/git" + +inherit update-alternatives + +ALTERNATIVE:${PN} = "lsof" +ALTERNATIVE_LINK_NAME[lsof] = "${sbindir}/lsof" +# Make our priority higher than busybox +ALTERNATIVE_PRIORITY = "100" + + export LSOF_INCLUDE = "${STAGING_INCDIR}" do_configure () { |