APPLIED[L]/Cmnt: [SRU][PATCH v2 0/1][L][M][U] introduce do_lib_rust to enable/disable linux-lib-rust package

Stefan Bader stefan.bader at canonical.com
Thu Jun 15 09:52:48 UTC 2023


On 31.05.23 08:16, Andrea Righi wrote:
> BugLink: https://bugs.launchpad.net/bugs/2021605
> 
> [Impact]
> 
> Provide a variable do_lib_rust=true|false in the kernel build system to
> selectively enable the Rust packaging (linux-lib-rust) with specific
> kernels and specific architectures.
> 
> Right now Rust should be enabled only in lunar and mantic and only on
> amd64.
> 
> [Test case]
> 
> Build the kernel producing all the debs.
> 
> [Fix]
> 
> Introduce a do_lib_rust=true variable that will be defined only in
> debian.master/rules.d/amd64.mk for now.
> 
> [Regression potential]
> 
> Kernels may need to set this variables if they want to enable the Rust
> support.
> 
> ChangeLog (v1 -> v2):
>   - add variable do_libc_rust to printenv
>   - rewrite commit message to better describe the do_lib_rust variable
> 
> 

Applied to lunar:linux/master-next. However this needed adjustment 
because there is the following patch (which was submitted before and 
never retracted) also applied:

78f933db4dfb UBUNTU: [Packaging] generate linux-lib-rust only on amd64

Assuming this submission is the more generic approach I adjusted it to 
replace the hard coded amd64 check in favor of the do_librust one.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230615/b87d029e/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230615/b87d029e/attachment-0001.sig>


More information about the kernel-team mailing list