Skip to content

Commit

Permalink
reduce size of openmesh by removing non-crucial features
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerle committed Jul 20, 2024
1 parent 89383a0 commit cc211a2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion image-customization.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,18 @@ packages {
'tecff-broken-wlan-workaround',
}

if not device_class('tiny') then
small_size = device({
'openmesh-om2p-v1',
'openmesh-om2p-v2',
'openmesh-om2p-v4',
'openmesh-om2p-hs-v1',
'openmesh-om2p-hs-v2',
'openmesh-om2p-hs-v3',
'openmesh-om2p-hs-v4',
'openmesh-om2p-lc',
})

if not device_class('tiny') and not small_size then
features {
'tls',
'wireless-encryption-wpa3',
Expand Down

0 comments on commit cc211a2

Please sign in to comment.