[SRU][focal/linux-meta-raspi][PATCH 2/2] UBUNTU: [Config] raspi: Enable zfs modules for arm64
Juerg Haefliger
juerg.haefliger at canonical.com
Tue Jun 23 07:23:36 UTC 2020
On Mon, 22 Jun 2020 10:23:45 +0200
Stefan Bader <stefan.bader at canonical.com> wrote:
> On 22.06.20 08:23, Juerg Haefliger wrote:
> > BugLink: https://bugs.launchpad.net/bugs/1884110
> >
> > Signed-off-by: Juerg Haefliger <juergh at canonical.com>
> > ---
> > debian/control.d/raspi | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/debian/control.d/raspi b/debian/control.d/raspi
> > index e14488746499..82677aaa1f43 100644
> > --- a/debian/control.d/raspi
> > +++ b/debian/control.d/raspi
> > @@ -9,7 +9,7 @@ Description: Raspberry Pi Linux kernel headers
> > Package: linux-image-raspi${variant:suffix}
> > Architecture: armhf arm64
> > Section: kernel
> > -Provides: ${dkms:wireguard-linux-compat-modules}
> > +Provides: ${dkms:wireguard-linux-compat-modules}, ${dkms:zfs-modules}
> > Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-raspi, linux-firmware
> > Description: Raspberry Pi Linux kernel image
> > This package will always depend on the latest Raspberry Pi Linux
> >
> I have not looked yet, but normally this requires some changes to update-version
> and debian/rules to keep debian/dkms-versions in sync with the kernel tree and
> inject the versions into control files.
I believe that logic is already present in update-version and debian/rules.
In update-version:
# Update things from the primary package.
for thing in \
debian/dkms-versions \
debian/scripts/misc/git-ubuntu-log
do
...
and in debian/rules:
$ grep zfs debian/rules
dkms_zfs_linux_version=$(shell gawk '/^zfs-linux/ { print $$2; }' debian/dkms-versions)
gencontrol_flags += -Vdkms:zfs-modules="zfs-modules (= $(dkms_zfs_linux_version)),"
...Juerg
> -Stefan
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20200623/7e15509c/attachment.sig>
More information about the kernel-team
mailing list