aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit
diff options
context:
space:
mode:
authorRichard Tollerton <rich.tollerton@ni.com>2016-03-22 16:49:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-24 21:44:27 +0000
commit92c6b896e3b11283e2c313e6a2ac3497a99a13a0 (patch)
treeeaae951d98f6d6d2d408ca88f1bcc92d2bbcab8f /meta/recipes-core/sysvinit
parentea643811f44774dd9038d76ff01e13f33478c9cb (diff)
downloadopenembedded-core-contrib-92c6b896e3b11283e2c313e6a2ac3497a99a13a0.tar.gz
sysvinit: downgrade ALTERNATIVE_PRIORITY[mountpoint]
sysvinit is objectively less maintained than util-linux or busybox, each of which may supply its own mountpoint implementation. Adjust the ALTERNATIVE_PRIORITY to select the sysvinit implementation as the last resort. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/sysvinit')
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index e4aa4c37c0f..0f0df855645 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -39,6 +39,8 @@ ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init"
ALTERNATIVE_PRIORITY[init] = "50"
ALTERNATIVE_LINK_NAME[mountpoint] = "${base_bindir}/mountpoint"
+ALTERNATIVE_PRIORITY[mountpoint] = "20"
+
ALTERNATIVE_LINK_NAME[halt] = "${base_sbindir}/halt"
ALTERNATIVE_LINK_NAME[reboot] = "${base_sbindir}/reboot"
ALTERNATIVE_LINK_NAME[runlevel] = "${base_sbindir}/runlevel"