Subject: Re: bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10

From: Ludovic Courtès <[email-masked]>
Date: Mon, 26 Sep 2022 23:34:48 +0200

Hi,

Ludovic Courtès <[email-masked]> skribis:

> Maxim Cournoyer <[email-masked]> skribis:

[...]

>> gnu/build/linux-modules.scm:257:5: kernel module not found "pata_acpi" "/gnu/store/nmdy7c4i34y12w8af7zl6sl9fmrp8wa0-linux-libre-5.19.10/lib/modules"
>> builder for `/gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv' failed with exit code 1
>
> This is the derivation made by ‘flat-linux-module-directory’ in (gnu
> system linux-initrd).
>
> How did you work around it?
>
> Normally “pata_acpi” is excluded from ‘%base-initrd-modules’ on
> aarch64.  However, since this relies on (%current-system), there could
> be situations where the trick doesn’t work as expected when deploying
> say from x86_64:

Fixed in 1033645e9d3899edd6b052b19e24c0a718b95e88.

We need system tests for ‘guix deploy’!

Ludo’.