• simple-cdd: Non-free firmware is included in Buster image, but not in B

    From Scott@21:1/5 to All on Sun Oct 24 16:30:02 2021
    Hi everyone,

    I have a simple-cdd project which I currently run on Buster to build a
    Buster image. It includes one non-free firmware package
    (firmware-iwlwifi) in the image. That package is listed in my .packages
    file.

    When the project is run on Bullseye to build a Bullseye image though,
    that firmware package is not included in the image, although I want it
    to be.

    Maybe I'm missing something simple or obvious, but I can't see it.

    The project is here if that's any use: https://github.com/countermeasure/basic-box/

    I filed this bug report describing the problem further, but the only
    reply to it recommends exporting FORCE_FIRMWARE=1 as a solution, which I
    tried but found not to work:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995986

    So I have two (related) questions:

    1) Does anyone have any advice for getting a simple-cdd project which successfully includes some non-free firmware when run on Buster to also
    include that firmware when run on Bullseye; and

    2) Can anyone confirm that simple-cdd is able to include non-free
    firmware when run on Bullseye, and maybe point me to a working example
    of that?

    Thanks,

    Scott

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel Leidert@21:1/5 to All on Mon Oct 25 23:30:02 2021
    Hi Scott,

    Am Montag, dem 25.10.2021 um 00:33 +1100 schrieb Scott:

    I have a simple-cdd project which I currently run on Buster to build a Buster image. It includes one non-free firmware package
    (firmware-iwlwifi) in the image. That package is listed in my .packages file.

    When the project is run on Bullseye to build a Bullseye image though,
    that firmware package is not included in the image, although I want it
    to be.

    I'll test it soon.

    Maybe I'm missing something simple or obvious, but I can't see it.

    The project is here if that's any use: https://github.com/countermeasure/basic-box/

    JFTR: I have this project setup:
    https://salsa.debian.org/dleidert/cdd

    I keep profiles for different purposes . I also keep profiles for different (end-user) targets in separate (private) branches. So this project only contains the basic profiles to mix them together. I like your setup for a full encryption. I'd like to add this to my project in a separate profile.

    Or maybe we can move these profiles back into simple-cdd so every user can benefit of them.

    I filed this bug report describing the problem further, but the only
    reply to it recommends exporting FORCE_FIRMWARE=1 as a solution, which I tried but found not to work:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995986

    https://lists.debian.org/debian-cd/2021/02/msg00026.html

    BTW: You have a typo in your preseed file (di -> d-i down at grub-installer's bootdev)

    Regards, Daniel
    --
    Regards,
    Daniel Leidert <dleidert@debian.org> | https://www.wgdd.de/
    GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
    GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

    https://www.fiverr.com/dleidert
    https://www.patreon.com/join/dleidert

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmF3IPIACgkQS80FZ8KW 0F3y7RAArxsvCBsSp77H9kWUwmrs9uUR7/Zp5twcajVA4mQQukMR8KxdBQE0+Psv KYtA/kE3GVLzYbnbIb8pZts2dUJdJmsM7r17M4HX0lEyFJYlP7CwDl+Tt2LY/1eO vw6eyGXrajzTcl+XVq7CF4MZWpscQMmZp9JbtdcVdv3vH0BHvA1bZbdgNM3hY/Mb w9/QCkzVSF5z6Vze7n/XYPbm47W25hDnxHxuWPvh1qw8iYe3vXa0tPufEFSYRXjp VyziPrm0uMUCdxHsuy9tkZMZ9Zlj4YlL6e2g5wzsb/vU/OCjgFrpMnvlFt27JmgY Bs3naR4EQruhTOybMUaOx7RK5ahxZyGyr2EBmEcbIn5yKSrZmvNof/RdVRW8MxcY tDEC6eWtVQlLAQKGSVPD8DCnfQ0tFLbdICKgXsmHbRqsFqA0y4zitJT2chZ+Vmwy cziJrPLItzcsQRIoQaTO5x/wGdm0nELMV7XuBNGaHZaKriIGEyxx6eLIm+Pi55Pe 4T+u8szQlT9YH71JQqjZzpC9MSyHIrbcF6REzjV8WmU8/9ZV0ZQ/WUwi7B4q3uLe rjLNuCm9JPE+eumQKBgYp9EHv1I/uulebSxlE/PKRWoJBD4HbSjqZmIqtcg
  • From Scott@21:1/5 to All on Wed Oct 27 07:50:01 2021
    Hi Daniel,

    Thanks for the link to your "cdd" project. I tried it out on a machine
    running Bullseye to see what I could learn, and noticed two things:

    1) I think it was trying to build a Buster image, even when running on Bullseye; and

    2) It kept crashing before actually building the image.

    Perhaps the crashes were due to being run on Bullseye rather than
    Buster, or maybe it was some mistake I was making.

    Anyway, at the moment my key concern is whether it's possible to include firmware in a Bullseye image built by simple-cdd on a Bullseye machine.
    I'm wondering if there's a bug stopping that.

    So my questions are:

    1) Have you ever used your "cdd" project to build a Bullseye image which included firmware on a Bullseye machine?

    2) And do you know of any other projects which have successfully used simple-cdd to build a Bullseye image which included firmware on a
    Bullseye machine?

    Cheers,

    Scott

    P.S. Thanks for picking up that di / d-i typo in my code. Interestingly,
    it hasn't been causing me any problems, but I'll look into it :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)