From cc211a2671b7a0b5d8af92bb73c70c2204605926 Mon Sep 17 00:00:00 2001 From: Florian Maurer Date: Thu, 18 Jul 2024 17:49:53 +0200 Subject: [PATCH] reduce size of openmesh by removing non-crucial features --- image-customization.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/image-customization.lua b/image-customization.lua index 37912f7..f701adb 100644 --- a/image-customization.lua +++ b/image-customization.lua @@ -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',