[oe] [PATCH] mythfront-config.bb: Fix do_unpack for machines other than epia.
Frans Meulenbroeks
fransmeulenbroeks at gmail.com
Fri Sep 24 07:24:25 UTC 2010
2010/9/22 Graham Gower <graham.gower at gmail.com>:
> Signed-off-by: Graham Gower <graham.gower at gmail.com>
> ---
> recipes/mythfront/mythfront-config.bb | 14 ++++++++------
> 1 files changed, 8 insertions(+), 6 deletions(-)
>
Thanks for unbreaking this.
I've never noticed this, but I must say I didn't really peek into this one.
Some concerns wrt the rest of the recipe though
> diff --git a/recipes/mythfront/mythfront-config.bb b/recipes/mythfront/mythfront-config.bb
> index b87e0be..79ba428 100644
> --- a/recipes/mythfront/mythfront-config.bb
> +++ b/recipes/mythfront/mythfront-config.bb
> @@ -1,11 +1,12 @@
> PV = "1.10"
> -PR = "r0"
> +PR = "r1"
>
> RDEPENDS_${PN} = "font-misc-misc"
This is not sufficient. There should also be a dependency on mythtv
itself and on lirc (but maybe mythtv will drag than one in)
> LICENSE = "MIT"
> -SRC_URI = "file://tftp.sh file://xorg.conf"
> +SRC_URI = "file://tftp.sh"
>
> -SRC_URI_append_epia = " file://serial.sh"
> +SRC_URI_append_epia = " file://serial.sh \
> + file://xorg.conf"
>
> do_install() {
> install -d ${D}${sysconfdir}/udhcpc.d/
> @@ -14,9 +15,6 @@ do_install() {
> install -d ${D}${sysconfdir}/mythtv
> ln -sf /var/lib/config/mysql.txt ${D}${sysconfdir}/mythtv
This is already done if you install mythtv-database
>
> - install -d ${D}${sysconfdir}/X11
> - install -m 0644 ${WORKDIR}/xorg.conf ${D}${sysconfdir}/X11
Not sure if this is good. for epia there is an xorg.conf, but it is
not in the SRC_URIL for non-epia, so it cannot be installed for these
(unless you get it from somewhere else)
> -
> ln -sf /var/lib/config/lircd.conf ${D}${sysconfdir}/lircd.conf
and i would say lirc should perhaps do this.
>
> install -d ${D}/dev
> @@ -30,3 +28,7 @@ do_install() {
> fi
> }
>
> +do_install_append_epia() {
> + install -d ${D}${sysconfdir}/X11
> + install -m 0644 ${WORKDIR}/xorg.conf ${D}${sysconfdir}/X11
> +}
> --
Enjoy, Frans.
More information about the Openembedded-devel
mailing list