Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

Website: Raspberry Pi 5 only in the FAQ; the build blocks other Pi models in site copy

Federico Pereirad22d43b240c5
diff --git a/web/build.mjs b/web/build.mjs
index 4199a30..5e0656d 100644
--- a/web/build.mjs
+++ b/web/build.mjs
@@ -696,7 +696,7 @@ for (const f of html) {
const msg = 'forbidden wording in ' + path.relative(DIST, f) + ': ' + s.match(/.{0,60}(operating system|sistema operativo|sistema operacional|\b(?:our|own|nuestro|propio|próprio|nosso)\s+X11\b|\bX11\s+(?:display\s+)?server\b|from scratch|desde cero|\bdo zero\b).{0,40}/i)[0];
if (process.env.WEB_SKIP_WORDING) console.warn('[web] WARNING ' + msg); else throw new Error(msg);
}
- { const m = s.replace(/<[^>]+>/g, ' ').match(/.{0,70}(Raspberry Pi (4|400|500)\b|\bCM4\b).{0,50}/i); if (m) console.warn(`[web] other Raspberry Pi model mentioned (only Pi 5 is supported; check the wording) in ${path.relative(DIST, f)}: …${m[0].trim()}…`); }
+ { const m = s.replace(/<[^>]+>/g, ' ').match(/.{0,70}(\bPi (4|400|500)\b|\bCM[45]\b).{0,50}/i); if (m) throw new Error(`only the Raspberry Pi 5 is supported; other models are not mentioned in website copy (${path.relative(DIST, f)}): …${m[0].trim()}…`); }
}
const jsSize = Buffer.byteLength(jsSrc) + Buffer.byteLength(themeSrc), cssSize = Buffer.byteLength(css);
if (jsSize > 15 * 1024) throw new Error(`JS is ${jsSize} bytes (limit 15 KB)`);
diff --git a/web/content/faq/faq.json b/web/content/faq/faq.json
index 282d14d..bb9db8b 100644
--- a/web/content/faq/faq.json
+++ b/web/content/faq/faq.json
@@ -270,9 +270,9 @@
"pt": "Quais modelos de Raspberry Pi são suportados?"
},
"a": {
- "en": "Only the Raspberry Pi 5 (4, 8 or 16 GB). The Pi 500 and CM5 may work but aren't tested, and the Pi 4, 400, CM4 and older models aren't supported. The Pi 5 image is still in beta: parts such as HDMI and the desktop session haven't been verified on the board yet.",
- "es": "Solo la Raspberry Pi 5 (4, 8 o 16 GB). La Pi 500 y la CM5 quizás anden, pero no están probadas, y la Pi 4, 400, CM4 y modelos anteriores no están soportados. La imagen para Pi 5 sigue en beta: partes como el HDMI y la sesión de escritorio todavía no se verificaron en la placa.",
- "pt": "Só o Raspberry Pi 5 (4, 8 ou 16 GB). O Pi 500 e o CM5 talvez funcionem, mas não foram testados, e o Pi 4, 400, CM4 e modelos anteriores não são suportados. A imagem para o Pi 5 ainda está em beta: partes como o HDMI e a sessão de desktop ainda não foram verificadas na placa."
+ "en": "Only the Raspberry Pi 5 is supported (4, 8 or 16 GB); it is the only board we test. The Pi 5 image is still in beta: parts such as HDMI and the desktop session haven't been verified on the board yet.",
+ "es": "Solo está soportada la Raspberry Pi 5 (4, 8 o 16 GB); es la única placa que probamos. La imagen para Pi 5 sigue en beta: partes como el HDMI y la sesión de escritorio todavía no se verificaron en la placa.",
+ "pt": "Só o Raspberry Pi 5 é suportado (4, 8 ou 16 GB); é a única placa que testamos. A imagem para o Pi 5 ainda está em beta: partes como o HDMI e a sessão de desktop ainda não foram verificadas na placa."
}
},
{