Skip to content

Commit cc211a2

Browse files
committed
reduce size of openmesh by removing non-crucial features
1 parent 89383a0 commit cc211a2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

image-customization.lua

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,18 @@ packages {
2525
'tecff-broken-wlan-workaround',
2626
}
2727

28-
if not device_class('tiny') then
28+
small_size = 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+
39+
if not device_class('tiny') and not small_size then
2940
features {
3041
'tls',
3142
'wireless-encryption-wpa3',

0 commit comments

Comments
 (0)