[azure] UBUNTU: [Debian] Don't depend on initramfs-tools
diff mbox

Message ID 1501079999-4375-1-git-send-email-marcelo.cerri@canonical.com
State New
Headers show

Commit Message

Marcelo Henrique Cerri July 26, 2017, 2:39 p.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1700972

There are some specific images that need to boot without an initrd. To
simply the image generation process linux-image-*-azure should not
depend on initramfs-tools.

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


Kamal Mostafa July 27, 2017, 4:40 p.m. UTC | #1
ACK since it fixes the problem at hand.  But perhaps consider demoting
initramfs-tools even further, to a Suggests: instead?

Marcelo Henrique Cerri July 27, 2017, 4:51 p.m. UTC | #2
Agreed. I can change that when applying it.
Marcelo Henrique Cerri July 27, 2017, 5:31 p.m. UTC | #3
Acked-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>

diff mbox

diff --git a/debian.azure/control.d/flavour-control.stub b/debian.azure/control.d/flavour-control.stub
index 5652c0c8456e..7a2ddceb7ae6 100644
--- a/debian.azure/control.d/flavour-control.stub
+++ b/debian.azure/control.d/flavour-control.stub
@@ -27,8 +27,8 @@  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
-Recommends: BOOTLOADER
+Depends: ${misc:Depends}, ${shlibs:Depends}, kmod
+Recommends: BOOTLOADER, initramfs-tools | linux-initramfs-tool
 Breaks: flash-kernel (<< 3.0~rc.4ubuntu64) [arm64]
 Description: Linux kernel image for version PKGVER on DESC