[oe] [PATCH 2/2] eject: use u-a for /usr/bin/volname
Koen Kooi
k.kooi at student.utwente.nl
Sat Feb 12 12:16:56 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12-02-11 12:12, Martin Jansa wrote:
> * resolves conflict with latest busybox
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Acked-by: Koen Kooi <koen at openembedded.org>
> ---
> recipes/eject/eject_2.1.5.bb | 16 +++++++++++++---
> 1 files changed, 13 insertions(+), 3 deletions(-)
>
> diff --git a/recipes/eject/eject_2.1.5.bb b/recipes/eject/eject_2.1.5.bb
> index 7c46432..06328dc 100644
> --- a/recipes/eject/eject_2.1.5.bb
> +++ b/recipes/eject/eject_2.1.5.bb
> @@ -2,12 +2,22 @@ DESCRIPTION = "Eject allows removable media (typically a CD-ROM, floppy disk, ta
> HOMEPAGE = "http://eject.sourceforge.net/"
> LICENSE = "GPLv2"
>
> -inherit autotools gettext
> +PR = "r1"
>
> -SRC_URI = "http://sources.openembedded.org/eject-2.1.5.tar.gz"
> +inherit autotools gettext update-alternatives
>
> -S = "${WORKDIR}/${PN}"
> +ALTERNATIVE_NAME = "volname"
> +ALTERNATIVE_LINK = "${bindir}/volname"
> +ALTERNATIVE_PATH = "${bindir}/volname.${PN}"
> +ALTERNATIVE_PRIORITY = "100"
>
> +SRC_URI = "http://sources.openembedded.org/${P}.tar.gz"
>
> SRC_URI[md5sum] = "b96a6d4263122f1711db12701d79f738"
> SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55"
> +
> +do_install_append() {
> + mv ${D}/${bindir}/volname ${D}/${bindir}/volname.${PN}
> +}
> +
> +S = "${WORKDIR}/${PN}"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNVno4MkyGM64RGpERAshlAJ4oAJzSTfXQVAqil/IFhAqz6zbomQCgsYA2
F1wpuukUUqbH7AfKomMU/uE=
=iZKg
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list