[oe] [PATCH 1/2] libmtp: fix paths for packages

Andreas Müller schnitzeltony at gmail.com
Thu Nov 29 22:41:59 UTC 2018


On Thu, Nov 29, 2018 at 2:53 AM Andreas Müller <schnitzeltony at gmail.com> wrote:
>
> Upstream has moved udev-rules/mtp-probe. That was not detected on previous
> update commit so this is a follow-up.
>
> Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
> ---
>  meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb
> index a648c890e..c7e2bafdd 100644
> --- a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb
> +++ b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb
> @@ -38,10 +38,10 @@ PACKAGES =+ "${BPN}-common ${BPN}-runtime"
>  RDEPENDS_${BPN} += "libmtp-common"
>  RRECOMMENDS_${BPN} += "libmtp-runtime ${PN}-bin"
>
> -FILES_${BPN}-common = "${nonarch_base_libdir}/udev/rules.d/*"
> +FILES_${BPN}-common = "${nonarch_libdir}/udev/rules.d/*"
>  SUMMARY_${BPN}-common = "The udev rules file for MTP devices"
>
> -FILES_${BPN}-runtime = "${nonarch_base_libdir}/udev/mtp-probe"
> +FILES_${BPN}-runtime = "${nonarch_libdir}/udev/mtp-probe"
>  RDEPENDS_${BPN}-runtime = "libmtp-common"
>  SUMMARY_${BPN}-runtime = "mtp-probe, used for the MTP udev rules"
>  DESCRIPTION_${BPN}-runtime = "This package provides mtp-probe, a program to probe newly connected device interfaces from userspace to determine if they are MTP devices, used for udev rules."
> --
> 2.14.5
>
Seems we do not follow freedesktop docs on where udev rules are
expected. Just changed another recipe: Moved udev-rules from
/lib/udev/rules.d to /usr/lib/udev/rules.d. - now the rules are
ignored :(

So this patch is wrong and we have to use the configure option to
install rules to /lib/udev/rules.d (there they were before). I suggest
to ignore the libmtp update patch I sent which is already in
master-next. I send one patch with update and corrected path.

Andreas


More information about the Openembedded-devel mailing list