[xenial/hwe-edge 1/2] UBUNTU: Packaging: Depends on linux-base that provides the necessary tools

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Tue May 1 14:25:58 UTC 2018


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

We Depends on linux-base because of linux-update-symlinks and
linux-check-removal. Those have been introduced in a version later than
4.0ubuntu1, which shipped on Xenial.

The unversioned Depends makes some upgrades to Bionic and installations of
linux-hwe-edge to break because those tools are not found during the configure
phase.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at canonical.com>
---
 debian.hwe-edge/control.d/flavour-control.stub | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian.hwe-edge/control.d/flavour-control.stub b/debian.hwe-edge/control.d/flavour-control.stub
index 75514e464337..2f5a9e1f1696 100644
--- a/debian.hwe-edge/control.d/flavour-control.stub
+++ b/debian.hwe-edge/control.d/flavour-control.stub
@@ -27,7 +27,7 @@ Architecture: ARCH
 Section: kernel
 Priority: optional
 Provides: linux-image, fuse-module, aufs-dkms, =PROVIDES=${linux:rprovides}
-Depends: ${misc:Depends}, ${shlibs:Depends}, kmod, linux-modules-PKGVER-ABINUM-FLAVOUR
+Depends: ${misc:Depends}, ${shlibs:Depends}, kmod, linux-base (>= 4.5ubuntu1~16.04.1), linux-modules-PKGVER-ABINUM-FLAVOUR
 Recommends: BOOTLOADER, initramfs-tools | linux-initramfs-tool
 Breaks: flash-kernel (<< 3.0~rc.4ubuntu62.2) [arm64]
 Conflicts: linux-image=SIGN-PEER-PKG=-PKGVER-ABINUM-FLAVOUR
-- 
2.17.0





More information about the kernel-team mailing list