[kvm][PATCH] UBUNTU: [Debian] Don't depend on initramfs-tools

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Mon Jul 31 20:20:59 UTC 2017


BugLink: http://bugs.launchpad.net/bugs/1700972

Allow images to be created without the need of an initrd and also allow
users to run without an initrd if they want to.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
---
 debian.kvm/control.d/flavour-control.stub | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian.kvm/control.d/flavour-control.stub b/debian.kvm/control.d/flavour-control.stub
index 006eacf5384c..d8a29a8b34de 100644
--- a/debian.kvm/control.d/flavour-control.stub
+++ b/debian.kvm/control.d/flavour-control.stub
@@ -27,9 +27,9 @@ Architecture: ARCH
 Section: kernel
 Priority: optional
 Provides: linux-image, fuse-module, =PROVIDES=${linux:rprovides}
-Depends: ${misc:Depends}, ${shlibs:Depends}, initramfs-tools | linux-initramfs-tool, kmod
+Depends: ${misc:Depends}, ${shlibs:Depends}, kmod
 Recommends: BOOTLOADER
-Suggests: fdutils, SRCPKGNAME-doc-PKGVER | SRCPKGNAME-source-PKGVER, SRCPKGNAME-tools, linux-headers-PKGVER-ABINUM-FLAVOUR
+Suggests: fdutils, SRCPKGNAME-doc-PKGVER | SRCPKGNAME-source-PKGVER, SRCPKGNAME-tools, linux-headers-PKGVER-ABINUM-FLAVOUR, initramfs-tools | linux-initramfs-tool
 Description: Linux kernel image for version PKGVER on DESC
  This package contains the Linux kernel image for version PKGVER on
  DESC.
-- 
2.7.4





More information about the kernel-team mailing list