[OE-core] [PATCH 3/5] lttng-modules: upgrade to 2.9.0

Bruce Ashfield bruce.ashfield at gmail.com
Sat Feb 25 17:30:52 UTC 2017


Following up on this old patch .. since it causing a problem with my
introduction of
the 4.10 kernel.

I'm going to have to switch back to the git fetching of lttng to easily
pull in the latest
changes to adapt to the 4.10 kernel.

lttng just doesn't release often enough for bleeding edge kernels, and
while maintaining
a set of patches on top of the released version is possible .. I don't see
the point.

I missed the discussion on this one when it first came out, so I missed the
reason that
we switched away from git to the release tarballs ?

I also didn't find it in my archived email, so before I go ahead and make a
_git variant of
the recipe again I wanted to check in and make sure that I'm not going to
break a
workflow or undo something that was being fixed.

Cheers,

Bruce


On Tue, Jan 10, 2017 at 6:06 PM, Nathan Lynch <nathan_lynch at mentor.com>
wrote:

> Switch to using release tarballs.
>
> Signed-off-by: Nathan Lynch <nathan_lynch at mentor.com>
> ---
>  .../lttng/{lttng-modules_git.bb => lttng-modules_2.9.0.bb}     | 10
> ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
>  rename meta/recipes-kernel/lttng/{lttng-modules_git.bb =>
> lttng-modules_2.9.0.bb} (84%)
>
> diff --git a/meta/recipes-kernel/lttng/lttng-modules_git.bb
> b/meta/recipes-kernel/lttng/lttng-modules_2.9.0.bb
> similarity index 84%
> rename from meta/recipes-kernel/lttng/lttng-modules_git.bb
> rename to meta/recipes-kernel/lttng/lttng-modules_2.9.0.bb
> index 8a287131d06d..e59d6bc1379c 100644
> --- a/meta/recipes-kernel/lttng/lttng-modules_git.bb
> +++ b/meta/recipes-kernel/lttng/lttng-modules_2.9.0.bb
> @@ -8,20 +8,18 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=
> 362844633a08753bd96ab322a6c7f9f6 \
>
>  inherit module
>
> -SRCREV = "6e4fc6f36d68fb3c8d40113f8670eb6e9c8ffd76"
> -PV = "2.8.0+git${SRCPV}"
> -
>  COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm).*-linux'
>
> -SRC_URI = "git://git.lttng.org/lttng-modules.git;branch=stable-2.8 \
> +SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \
>             file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-
> en.patch"
>
> +SRC_URI[md5sum] = "717df375ccb6f32bb297cc2f2e692bbf"
> +SRC_URI[sha256sum] = "af914e5954081cfb6bd4c6dcf93904
> 74e0c13fe056b12b3dfc86d1b88b8340a0"
> +
>  export INSTALL_MOD_DIR="kernel/lttng-modules"
>
>  EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'"
>
> -S = "${WORKDIR}/git"
> -
>  do_install_append() {
>         # Delete empty directories to avoid QA failures if no modules were
> built
>         find ${D}/lib -depth -type d -empty -exec rmdir {} \;
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170225/4420c0a2/attachment-0002.html>


More information about the Openembedded-core mailing list