aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/eject
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-12-04 00:18:46 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-11 01:52:57 +0100
commit5d46cee40f75b89c46bba9eb7b57dc1a26fb43b5 (patch)
tree82ccf508aaaf398008c598a4b22900f98df442e3 /meta-oe/recipes-support/eject
parentdd07114e8164bf4209452ff19b2c95ce9cb2d2f5 (diff)
downloadmeta-openembedded-contrib-5d46cee40f75b89c46bba9eb7b57dc1a26fb43b5.tar.gz
eject: use new update-alternatives and add u-a for eject
* eject conflicts with util-linux now Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/eject')
-rw-r--r--meta-oe/recipes-support/eject/eject_2.1.5.bb13
1 files changed, 6 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/eject/eject_2.1.5.bb b/meta-oe/recipes-support/eject/eject_2.1.5.bb
index 3f17fe849d..3f2c90dc47 100644
--- a/meta-oe/recipes-support/eject/eject_2.1.5.bb
+++ b/meta-oe/recipes-support/eject/eject_2.1.5.bb
@@ -12,12 +12,11 @@ SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e
S = "${WORKDIR}/${PN}"
-do_install_append() {
- mv ${D}/${bindir}/volname ${D}/${bindir}/volname.${PN}
-}
+PR = "r1"
-ALTERNATIVE_NAME = "volname"
-ALTERNATIVE_LINK = "${bindir}/volname"
-ALTERNATIVE_PATH = "${bindir}/volname.${PN}"
-ALTERNATIVE_PRIORITY = "100"
+ALTERNATIVE_${PN} = "volname eject"
+ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname"
+ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject"
+ALTERNATIVE_PRIORITY[volname] = "100"
+ALTERNATIVE_PRIORITY[eject] = "100"