Commit Graph

7 Commits

Author SHA1 Message Date
Ben Hutchings deaca48d3c [sparc64] udeb: Use standard module list in nic-modules 2019-02-13 15:04:23 +00:00
Ben Hutchings f98f9b5dcf udeb: Move drivers from {hyperv,virtio}-modules to {fb,input,nic,scsi}-modules
Now that the shared dependencies of these drivers are in kernel-image,
we can safely move them into the packages for each driver class.
2019-02-13 01:23:11 +00:00
Ben Hutchings 9235dbdde8 udeb: Add fb-modules and include drm and drm_kms_helper on most architecures
The previous version failed to build on alpha:

debian/virtio-modules-4.19.0-3-alpha-generic-di lib/modules/4.19.0-3-alpha-generic/kernel/drivers/i2c/i2c-core.ko
debian/i2c-modules-4.19.0-3-alpha-generic-di lib/modules/4.19.0-3-alpha-generic/kernel/drivers/i2c/i2c-core.ko

and sparc64:

debian/virtio-modules-4.19.0-3-sparc64-di lib/modules/4.19.0-3-sparc64/kernel/drivers/i2c/i2c-core.ko
debian/nic-modules-4.19.0-3-sparc64-di lib/modules/4.19.0-3-sparc64/kernel/drivers/i2c/i2c-core.ko

sparc64 was missing a i2c-modules package, but adding that just gets
it to the same state as alpha.  On both architectures drm_kms_helper
is included in the virtio-modules package as a dependency of
virtio-gpu, and then i2c-core is included as a dependency of
drm_kms_helper.

I don't think it makes sense to make virtio-modules directly depend on
i2c-modules.  (In fact I think virtio-modules was a mistake entirely.)
Instead, for all configurations that enable both DRM and virtio:

1. Add an fb-modules package if it doesn't already exist
2. Include drm and drm_kms_helper in it
2019-02-13 01:23:11 +00:00
Ben Hutchings 300cb820cd [sparc64] udeb: Add i2c-modules and nic-shared-modules to avoid duplication 2019-02-12 12:51:59 +00:00
Ben Hutchings d73ca07047 [powerpc*,sparc64] udeb: Add nic-usb-modules 2019-02-10 18:13:34 +00:00
Ben Hutchings e62943f64c [arm64,armhf,ia64,riscv64,sparc64] udeb: Add usb-serial-modules
Closes: #903824
2019-02-10 18:13:34 +00:00
Ben Hutchings cbebd8c763 udeb: Merge configuration directories and files across architectures
Merge the configuration and default-configuration directories,
using per-architecture overrides in package-list.

This requires a newer version of kernel-wedge to support
Depends_<arch> properly.

The only immediate change to debian/control is to remove the
different description for nic-modules on sparc64.
2018-09-03 18:01:21 +01:00