armbian / armbian/build

[Feature]: split armbian-firmware into smaller packages

Open
#8,472 3 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Shell
Stars
5.4k
Forks
3.1k
Avg merge
1d 9h
Merged PRs (30d)
204

Description

### 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](https://github.com/armbian/apa/issues/22) 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

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.