Skip to content

[Feature]: split armbian-firmware into smaller packages #8472

@leggewie

Description

@leggewie

What happened?

$ du -shx /lib/firmware/ ; du -shx /lib/firmware/qcom/
280M    /lib/firmware/
180M    /lib/firmware/qcom/

As you can see above, even the "minimal" armbian-firmware package is already close to a whopping 300 MB in installed size. More than two-thirds of that is from qcom firmware. It would be great to split the current package into armbian-firmware and armbian-firmware-qcom. Naming could be discussed.

Armbian as usual is cooking up its own magic when compiling its packages 👎

https://github.com/armbian/build/blob/main/lib/functions/artifacts/artifact-firmware.sh
https://github.com/armbian/build/blob/main/lib/functions/compilation/packages/firmware-deb.sh

Maybe this would be a good time to do away with that and use straight debian tooling like dpkg-buildpackage and friends. But if not, simply splitting the big package into smaller ones would already be great.

How to reproduce?

$ du -shx /lib/firmware/ ; du -shx /lib/firmware/qcom/
280M    /lib/firmware/
180M    /lib/firmware/qcom/

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 24.04 Noble

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it should

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions