[Acked/CMT] [PULL v2] [B] dkms: build out-of-tree modules from dkms source
Andy Whitcroft
apw at canonical.com
Fri Jul 12 08:22:46 UTC 2019
On Mon, Jul 01, 2019 at 06:26:42PM +0200, Andrea Righi wrote:
> BugLink: https://bugs.launchpad.net/bugs/1764792
> BugLink: https://bugs.launchpad.net/bugs/1807378
>
> This is a backport of the dkms packaging from disco to bionic that
> allows to build out-of-tree modules (nvidia drivers and zfs/spl for now)
> from DKMS source as part of the regular kernel build process.
>
> In this way we don't have to maintain a complete copy of zfs/spl source
> code in the kernel (source code is downloaded and compiled as part of
> the dkms build process).
>
> About nvidia, modules are built and signed and only the signatures are
> shipped. In addition to that we need to provide also a new linux-lrm
> repository (similarly to what we're doing in disco). At the moment I've
> used this linux-lrm git repository:
>
> https://git.launchpad.net/~arighi/+git/bionic-linux-lrm
>
> All these changed have been tested using this ppa:
>
> https://launchpad.net/~arighi/+archive/ubuntu/linux-dkms-v2
>
> zfs/spl have been tested running the autotests, nvidia drivers have been
> smoke tested only (insmod/modprobe).
>
> Changes from v1:
> - provide also the linux-lrm repository to generate the
> linux-restricted-modules package
> - drop two UEFI secure boot related patches that have nothing to do
> with dkms builds (reported by Seth)
> - added patch to clean up unsigned .ko files
> (https://lists.ubuntu.com/archives/kernel-team/2019-June/101662.html)
>
> ----------------------------------------------------------------
> The following changes since commit 03239ef704d37a0e914df565d56a4691aad9a727:
>
> net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock(). (2019-07-01 16:06:34 +0200)
>
> are available in the Git repository at:
>
> git://git.launchpad.net/~arighi/+git/bionic-linux dkms-build
>
> for you to fetch changes up to 5ae1725b8b8f3776b23b042d7de2a09af6aa0705:
>
> UBUNTU: [Packaging] dkms-build--nvidia-N -- clean up unsigned ko files (2019-07-01 18:10:55 +0200)
>
> ----------------------------------------------------------------
> Andrea Righi (4):
> UBUNTU: [Packaging] dkms -- introduce dkms package versions
> UBUNTU: [Packaging] dkms-build -- backport latest version from disco
> UBUNTU: [Packaging] dkms -- build zfs/spl packages
> UBUNTU: [Packaging] dkms -- drop zfs/spl source code from kernel
>
> Andy Whitcroft (9):
> UBUNTU: [Packaging] dkms -- dkms package build packaging support
> UBUNTU: [Packaging] dkms -- add per package post-process step
> UBUNTU: [Packaging] dkms -- switch to a consistent build prefix length and strip
> UBUNTU: [Packaging] dkms-build -- support building against packages in PPAs
> UBUNTU: [Packaging] dkms-build: do not redownload files on subsequent passes
> UBUNTU: [Packaging] dkms-build -- add support for unversioned overrides
> UBUNTU: [Packaging] nvidia -- build and sign nvidia packages and ship signatures
> UBUNTU: [Packaging] nvidia -- make nvidia package version explicit
> UBUNTU: [Packaging] dkms-build--nvidia-* -- convert to generic -N form
>
> Seth Forshee (1):
> UBUNTU: [Packaging] dkms-build--nvidia-N -- clean up unsigned ko files
This all look good at face value. This looks to build ok in your PPA,
so lets get this applied and tested in-situ.
Acked-by: Andy Whitcroft <apw at canonical.com>
-apw
More information about the kernel-team
mailing list