Tests that read ../../../mesh-catalog or ../../../mesh-host gave a verdict that depended on what sat beside the checkout: a stale or dirty sibling failed them on a desktop, and a missing one skipped them unseen. They now read the clone the build seat puts in MESH_CHECK_BESIDE, failing when it is absent there, and elsewhere a copy captured at a named commit. The skip had hidden that the builder test read a module retired by ADR 0190. The systemd reading test no longer counts the machine's own environment.d.
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
{
|
|
"module": "localization",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"service-manager"
|
|
],
|
|
"tools": [
|
|
"localization_get",
|
|
"localization_time_zone",
|
|
"localization_locales",
|
|
"localization_keymaps"
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "locale",
|
|
"type": "file",
|
|
"path": "/etc/locale.conf",
|
|
"mode": "0644",
|
|
"content": "# The mesh's (module localization, novox/hq to-be 42): the system locale. Written whole at every\n# push; an edit here is overwritten. Read at the next login.\nLANG=en_US.UTF-8\n"
|
|
},
|
|
{
|
|
"id": "keymap",
|
|
"type": "file",
|
|
"path": "/etc/vconsole.conf",
|
|
"mode": "0644",
|
|
"content": "# The mesh's (module localization, novox/hq to-be 42): the console keymap. Written whole at every\n# push; an edit here is overwritten. Read at the next boot.\nKEYMAP=us\n"
|
|
},
|
|
{
|
|
"id": "time-zone",
|
|
"type": "process",
|
|
"name": "localization-time-zone",
|
|
"artifact": "tools",
|
|
"run": [
|
|
"./localization-tools",
|
|
"set-time-zone",
|
|
"Europe/Brussels"
|
|
],
|
|
"run-once": true
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/localization-tools",
|
|
"binary": "localization-tools",
|
|
"loads": [
|
|
"localization-tools"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|