[mantic:linux-meta PATCH 4/5] UBUNTU: [Packaging] Add armhf to virtual pointing at generic-lpae

Dimitri John Ledkov dimitri.ledkov at canonical.com
Fri May 26 11:15:13 UTC 2023


This will simplify CPC / livecd-rootfs packaging, as they currently
special case armhf to use generic-lpae.
---
 debian/control.d/virtual | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/control.d/virtual b/debian/control.d/virtual
index 695450eb52..ccfdb91d41 100644
--- a/debian/control.d/virtual
+++ b/debian/control.d/virtual
@@ -1,24 +1,24 @@
 Package: linux-headers-virtual${variant:suffix}
-Architecture: amd64 arm64 ppc64el s390x
+Architecture: amd64 arm64 armhf ppc64el s390x
 Section: kernel
-Depends: ${misc:Depends}, linux-headers-generic${variant:suffix} (= ${binary:Version})
+Depends: ${misc:Depends}, linux-headers-generic${variant:suffix} (= ${binary:Version}) [amd64 arm64 ppc64el s390x], linux-headers-generic-lpae${variant:suffix} (= ${binary:Version}) [armhf]
 Description: Virtual Linux kernel headers
  This package will always depend on linux-headers-generic.
 
 Package: linux-image-virtual${variant:suffix}
-Architecture: amd64 arm64 ppc64el s390x
+Architecture: amd64 arm64 armhf ppc64el s390x
 Section: kernel
-Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-generic
+Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-generic [amd64 arm64 ppc64el s390x], linux-image-${kernel-abi-version}-generic-lpae [armhf]
 Provides: ${dkms:zfs-modules} ${dkms:virtualbox-guest-modules} ${dkms:wireguard-linux-compat-modules}
 Description: Virtual Linux kernel image
  This package will always depend on the latest minimal generic kernel image
  used for virtual instances.
 
 Package: linux-tools-virtual${variant:suffix}
-Architecture: amd64 arm64 ppc64el s390x
+Architecture: amd64 arm64 armhf ppc64el s390x
 Section: kernel
 Provides: linux-tools
-Depends: ${misc:Depends}, linux-tools-${kernel-abi-version}-generic
+Depends: ${misc:Depends}, linux-tools-${kernel-abi-version}-generic [amd64 arm64 ppc64el s390x], linux-tools-${kernel-abi-version}-generic-lpae [armhf]
 Description: Virtual Linux kernel tools
  This package will always depend on the latest minimal generic kernel tools
  used for virtual instances.
@@ -33,7 +33,7 @@ Description: Virtual Linux kernel cloud tools
  used for virtual instances.
 
 Package: linux-virtual${variant:suffix}
-Architecture: amd64 arm64 ppc64el s390x
+Architecture: amd64 arm64 armhf ppc64el s390x
 Section: kernel
 Provides: ${test:provides-full-virtual}
 Depends: ${misc:Depends}, linux-image-virtual${variant:suffix} (= ${binary:Version}), linux-headers-virtual${variant:suffix} (= ${binary:Version})
-- 
2.34.1




More information about the kernel-team mailing list