Patchwork kexec-tools: don't depend on virtual/kernel

login
register
mail settings
Submitter Phil Blundell
Date June 9, 2011, 11:58 a.m.
Message ID <1307620723.2529.4861.camel@phil-desktop>
Download mbox | patch
Permalink /patch/5601/
State New, archived
Headers show

Comments

Phil Blundell - June 9, 2011, 11:58 a.m.
There doesn't appear to be any terribly good reason for kexec-tools to
depend on the kernel.  (I verified that kexec-tools is buildable in a
clean TMPDIR without having previously built virtual/kernel.)  

Having this dependency in place is a nuisance because it makes it
awkward to put kexec into an initramfs.  So, it seems like we would be
better off without.

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/recipes-kernel/kexec/kexec-tools.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - June 9, 2011, 2:43 p.m.
On Thu, 2011-06-09 at 12:58 +0100, Phil Blundell wrote:
> There doesn't appear to be any terribly good reason for kexec-tools to
> depend on the kernel.  (I verified that kexec-tools is buildable in a
> clean TMPDIR without having previously built virtual/kernel.)  
> 
> Having this dependency in place is a nuisance because it makes it
> awkward to put kexec into an initramfs.  So, it seems like we would be
> better off without.
> 
> Signed-off-by: Phil Blundell <philb@gnu.org>
> ---
>  meta/recipes-kernel/kexec/kexec-tools.inc |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc
index 30c6291..7541ddc 100644
--- a/meta/recipes-kernel/kexec/kexec-tools.inc
+++ b/meta/recipes-kernel/kexec/kexec-tools.inc
@@ -6,7 +6,7 @@  SECTION = "kernel/userland"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \
                     file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09"
-DEPENDS = "virtual/kernel zlib"
+DEPENDS = "zlib"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz"