Skip to contentSkip to conversation

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

PATCH Applied Phil Blundell 2 participants 2 messages Jun 9, 2011

lore
Share & tools
lore
#0 lore raw

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

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.

---
 meta/recipes-kernel/kexec/kexec-tools.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-kernel/kexec/kexec-tools.inc +1 -1
index 30c6291..7541ddc 100644
@@ -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"
 
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 4 lines · Phil Blundell

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.)

Quoted 8 lines

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.

---
 meta/recipes-kernel/kexec/kexec-tools.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard