Skip to content

Commit 83744ce

Browse files
committed
reduce size of openmesh by excluding these from autoupdater-wifi-fallback
1 parent 89383a0 commit 83744ce

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

image-customization.lua

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,29 @@ packages {
2525
'tecff-broken-wlan-workaround',
2626
}
2727

28+
reduced_packages = device({
29+
'openmesh-om2p-v1',
30+
'openmesh-om2p-v2',
31+
'openmesh-om2p-v4',
32+
'openmesh-om2p-hs-v1',
33+
'openmesh-om2p-hs-v2',
34+
'openmesh-om2p-hs-v3',
35+
'openmesh-om2p-hs-v4',
36+
'openmesh-om2p-lc',
37+
})
38+
2839
if not device_class('tiny') then
2940
features {
3041
'tls',
3142
'wireless-encryption-wpa3',
3243
}
33-
packages {
34-
'openssh-sftp-server',
35-
'ffac-autoupdater-wifi-fallback',
36-
'ffmuc-custom-banner',
37-
}
44+
if not reduced_packages then
45+
packages {
46+
'openssh-sftp-server',
47+
'ffac-autoupdater-wifi-fallback',
48+
'ffmuc-custom-banner',
49+
}
50+
end
3851
end
3952

4053
if device({

0 commit comments

Comments
 (0)