Patchwork [v2] blktrace: add back do_install method

login
register
mail settings
Submitter Saul Wold
Date Jan. 21, 2013, 10:44 p.m.
Message ID <1358808282-11495-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/43101/
State New
Headers show

Comments

Saul Wold - Jan. 21, 2013, 10:44 p.m.
The recent change to blktrace removed the do_install method,
since this recipe does not use autotools it needs to specifiy
a do_install activity.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-kernel/blktrace/blktrace_git.bb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Fahad Usman - Jan. 22, 2013, 11:53 a.m.
On 01/22/2013 03:44 AM, Saul Wold wrote:
> The recent change to blktrace removed the do_install method,
> since this recipe does not use autotools it needs to specifiy
> a do_install activity.
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>   meta/recipes-kernel/blktrace/blktrace_git.bb | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb b/meta/recipes-kernel/blktrace/blktrace_git.bb
> index 80cb14c..a318f0e 100644
> --- a/meta/recipes-kernel/blktrace/blktrace_git.bb
> +++ b/meta/recipes-kernel/blktrace/blktrace_git.bb
> @@ -6,7 +6,7 @@ DEPENDS = "libaio"
>   
>   SRCREV = "d6918c8832793b4205ed3bfede78c2f915c23385"
>   
> -PR = "r5"
> +PR = "r6"
>   PV = "1.0.5+git${SRCPV}"
>   
>   SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=git \
> @@ -20,3 +20,9 @@ EXTRA_OEMAKE = "\
>       'LDFLAGS=${LDFLAGS}' \
>   "
>   PARALLEL_MAKE = ""
> +
> +do_install() {
> +	oe_runmake ARCH="${ARCH}" prefix=${prefix} \
> +		mandir=${mandir} DESTDIR=${D} install
> +}
> +
Hi Saul,
Thanks for correcting my mistake.

Regards,
Fahad

Patch

diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb b/meta/recipes-kernel/blktrace/blktrace_git.bb
index 80cb14c..a318f0e 100644
--- a/meta/recipes-kernel/blktrace/blktrace_git.bb
+++ b/meta/recipes-kernel/blktrace/blktrace_git.bb
@@ -6,7 +6,7 @@  DEPENDS = "libaio"
 
 SRCREV = "d6918c8832793b4205ed3bfede78c2f915c23385"
 
-PR = "r5"
+PR = "r6"
 PV = "1.0.5+git${SRCPV}"
 
 SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=git \
@@ -20,3 +20,9 @@  EXTRA_OEMAKE = "\
     'LDFLAGS=${LDFLAGS}' \
 "
 PARALLEL_MAKE = ""
+
+do_install() {
+	oe_runmake ARCH="${ARCH}" prefix=${prefix} \
+		mandir=${mandir} DESTDIR=${D} install
+}
+