62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"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",
|
|
"template": "files/locale.conf"
|
|
},
|
|
{
|
|
"id": "keymap",
|
|
"type": "file",
|
|
"path": "/etc/vconsole.conf",
|
|
"mode": "0644",
|
|
"template": "files/vconsole.conf"
|
|
},
|
|
{
|
|
"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"
|
|
]
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|