docs: register Guanghu OS physical gestation protocols

This commit is contained in:
冰朔 2026-08-01 11:42:04 +08:00
commit 70f0603e76
30 changed files with 679 additions and 50 deletions

View file

@ -38,6 +38,7 @@ ENABLED = false
ENABLED = false
[other]
SHOW_FOOTER_BRANDING = false
SHOW_FOOTER_POWERED_BY = false
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false

View file

@ -35,10 +35,6 @@ for (const candidateIni of [jdCandidateIni, enterpriseCandidateIni]) {
/\[server\][\s\S]*HTTP_ADDR\s*=\s*127\.0\.0\.1[\s\S]*HTTP_PORT\s*=\s*3340/i,
);
assert.match(candidateIni, /RUN_USER\s*=\s*guanghu/i);
assert.match(
candidateIni,
/\/var\/lib\/guanghu\/code-channel\/candidates\/hlcc-v16\.0\.1/,
);
assert.match(
candidateIni,
/\[cron\.update_checker\][\s\S]*ENABLED\s*=\s*false/i,
@ -47,9 +43,18 @@ for (const candidateIni of [jdCandidateIni, enterpriseCandidateIni]) {
assert.match(candidateIni, /\[mirror\][\s\S]*ENABLED\s*=\s*false/i);
}
assert.match(
installer,
/\/var\/lib\/guanghu\/code-channel\/offline-source\/hlcc-v/,
jdCandidateIni,
/\/var\/lib\/guanghu\/code-channel\/candidates\/hlcc-v16\.0\.1/,
);
assert.match(
enterpriseCandidateIni,
/\/var\/lib\/guanghu-enterprise-code-channel\/candidates\/hlcc-v16\.0\.1/,
);
assert.match(
installer,
/HLCC_STATE_ROOT="\/var\/lib\/guanghu-enterprise-code-channel"/,
);
assert.match(installer, /HLCC_SOURCE_ARCHIVE="\$\{HLCC_STATE_ROOT\}\/offline-source\/hlcc-v/);
assert.match(installer, /HLCC_VERSION="16\.0\.1"/);
assert.doesNotMatch(installer, /curl|wget|keyserver/);
assert.match(