summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
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
parentdd07114e8164bf4209452ff19b2c95ce9cb2d2f5 (diff)
downloadmeta-openembedded-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')
-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 3f17fe849..3f2c90dc4 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
12 12
13S = "${WORKDIR}/${PN}" 13S = "${WORKDIR}/${PN}"
14 14
15do_install_append() { 15PR = "r1"
16 mv ${D}/${bindir}/volname ${D}/${bindir}/volname.${PN}
17}
18 16
19ALTERNATIVE_NAME = "volname" 17ALTERNATIVE_${PN} = "volname eject"
20ALTERNATIVE_LINK = "${bindir}/volname" 18ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname"
21ALTERNATIVE_PATH = "${bindir}/volname.${PN}" 19ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject"
22ALTERNATIVE_PRIORITY = "100" 20ALTERNATIVE_PRIORITY[volname] = "100"
21ALTERNATIVE_PRIORITY[eject] = "100"
23 22