Reduce image size to make all targets build again #297

Closed
fbl wants to merge 10 commits from fbl:perdevicepackages into master
Owner

Various space saving measures to make all targets build successfully again:

  • Remove babeld
  • Switch from tcpdump to tcpdump-mini
  • Make it possible to select packages only for BSPs with large flashes
  • Remove bmon from ath79
  • Disable unused bird protocols
  • Increase squashfs block size for ath79
  • Remove uclient-fetch
  • Disable various unnecessary busybox and libcurl features

The most critical devices are the TP-Link Archer C60 v1 and v2. There require both ath9k and ath10k (+firmware) for operation. Additionally, the v2 variant has a slightly different partition layout, so the available space is ~100KiB smaller.

Various space saving measures to make all targets build successfully again: - Remove babeld - Switch from tcpdump to tcpdump-mini - Make it possible to select packages only for BSPs with large flashes - Remove bmon from ath79 - Disable unused bird protocols - Increase squashfs block size for ath79 - Remove uclient-fetch - Disable various unnecessary busybox and libcurl features The most critical devices are the TP-Link Archer C60 v1 and v2. There require both ath9k and ath10k (+firmware) for operation. Additionally, the v2 variant has a slightly different partition layout, so the available space is ~100KiB smaller.
fbl added 10 commits 2024-01-07 14:18:36 +01:00
567d5769da x86_64: use multi-profile for target
Signed-off-by: Fabian Bläse <fabian@blaese.de>
b1ec510caa layer3: remove fff-babeld
Babeld has been replaced with bird by default for quite some time now.
Remove babeld and all configurations scripts (fff-babeld) to reduce
image size.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
e4145711e8 layer3: switch from tcpdump to tcpdump-mini
Signed-off-by: Fabian Bläse <fabian@blaese.de>
6b80ebcc79 Create fff-extra package for devices with large flash
Devices with large flash can hold more packages and tools to improve
user experience. Create an additional package which can be used to
select packages only on targets with large flash (currently >= 16 MiB).

Signed-off-by: Fabian Bläse <fabian@blaese.de>
9613804450 layer3: move bmon to fff-extra
Bmon takes up a lot of disk space, but is not essential for operation.
Move it to fff-extra.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
e559f5c8b9 Disable unused bird protocols
On a typical Freifunk router, only a small subset of bird protocols
is in use. Disable unused bird protocols to save disk space.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
d34d236b02 ath79: use bigger squashfs block size
A bigger squashfs block size improves compression ratio. The improved
compression ratio is necessary for the Archer C60 devices (v1 + v2)
because they include large wifi drivers.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
0871d0fcb0 Remove uclient-fetch
Signed-off-by: Fabian Bläse <fabian@blaese.de>
c2e489038f Disable unnecessary busybox features
Signed-off-by: Fabian Bläse <fabian@blaese.de>
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2a6a807bf6
Disable unnecessary libcurl features
Signed-off-by: Fabian Bläse <fabian@blaese.de>
fbl added this to the 20240119-beta milestone 2024-01-07 14:18:47 +01:00
fbl force-pushed perdevicepackages from 2a6a807bf6 to 9a22ccebc9 2024-01-07 14:30:08 +01:00 Compare
fbl force-pushed perdevicepackages from 9a22ccebc9 to f56e332169 2024-01-18 21:20:20 +01:00 Compare
Author
Owner

Changes:

  • Remove fff-extra from ramips-mt76x8
Changes: - Remove fff-extra from ramips-mt76x8
Author
Owner

Applied.

Applied.
fbl closed this pull request 2024-01-19 01:11:06 +01:00
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

Pull request closed

Sign in to join this conversation.
No description provided.