Packaging ZFS

Philip Prindeville philipp_subx at redfish-solutions.com
Wed Aug 9 09:59:19 PDT 2023



> On Aug 8, 2023, at 3:14 PM, Luiz Angelo Daros de Luca <luizluca at gmail.com> wrote:
> 
>> Thanks, Alberto.  I'm wondering how much work making it cross-build packages is going to be...
>> 
>> Digging into it now...
>> 
> 
> You should take a look at ksmbd package. It does compile an out-of-tree module.
> 
> Maintaining a package like that might be challenging for a stable
> version. The kernel in the stable branch might receive updates during
> its life but they are only published when a dot version (yy.mm.x+1) is
> actually released.
> However, packages are rebuilt as they are changed using the current
> kernel in the stable branch. So, to build your module with a kernel
> that will actually be published. you can only update a package with a
> kernel module when you know the kernel in the stable branch is the one
> that will be used by the next dot release. This "window of
> opportunity" happens a little before or after the dot release is
> built. Once the kernel is updated again, that window is closed. And
> that updated kernel module will only be compatible with that specific
> dot version, and not with any other dot version before or after it.
> 
> Regards,
> 
> Luiz


There are a lot of modules that are built out-of-tree (like DPDK).  How do they manage it?





More information about the openwrt-devel mailing list