diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-04 00:18:46 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-11 01:52:57 +0100 |
commit | 5d46cee40f75b89c46bba9eb7b57dc1a26fb43b5 (patch) | |
tree | 82ccf508aaaf398008c598a4b22900f98df442e3 /meta-oe/recipes-support | |
parent | dd07114e8164bf4209452ff19b2c95ce9cb2d2f5 (diff) | |
download | meta-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.bb | 13 |
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 | ||
13 | S = "${WORKDIR}/${PN}" | 13 | S = "${WORKDIR}/${PN}" |
14 | 14 | ||
15 | do_install_append() { | 15 | PR = "r1" |
16 | mv ${D}/${bindir}/volname ${D}/${bindir}/volname.${PN} | ||
17 | } | ||
18 | 16 | ||
19 | ALTERNATIVE_NAME = "volname" | 17 | ALTERNATIVE_${PN} = "volname eject" |
20 | ALTERNATIVE_LINK = "${bindir}/volname" | 18 | ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname" |
21 | ALTERNATIVE_PATH = "${bindir}/volname.${PN}" | 19 | ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject" |
22 | ALTERNATIVE_PRIORITY = "100" | 20 | ALTERNATIVE_PRIORITY[volname] = "100" |
21 | ALTERNATIVE_PRIORITY[eject] = "100" | ||
23 | 22 | ||