Files
mesh-catalog/modules/kernel/module.json
T
jschoubben 9787223509
mesh/delivery closed: a newer head of the same pull request
mesh/delivery-group group feat/47-G-join11 checking: 15 of 17 member(s) ready
mesh/check checking 978722350921 on 32f1566cc879 | novox/mesh-catalog#675 in group feat/47-G-join11
Merge main into feat/47-G-join11 (G takes in main before its push)
Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-13 02:16:56 +01:00

187 lines
4.4 KiB
JSON

{
"module": "kernel",
"version": "0.1",
"capabilities": [
"service-manager"
],
"config": {
"transparent-huge-pages": {
"type": "string",
"description": "madvise is the value the mesh chose for every node (novox/hq ADR 0381), not the always the distribution's kernel boots with; a machine that needs another value is given it as its own setting; madvise gives huge pages only to programs that ask for them, which stops a small write to a mapped file (the journal) dirtying and writing back a whole 2 MiB page on a machine whose disks are slow (novox/hq issue 746)",
"trusted": true,
"default": "madvise"
}
},
"tools": [
"kernel_huge_pages",
"kernel_boot"
],
"resources": [
{
"id": "state",
"type": "directory",
"mode": "0700",
"place": ".",
"unknown": "program"
},
{
"id": "huge-pages",
"type": "file",
"path": "${dir:state}/huge-pages",
"mode": "0755",
"trusted": true,
"template": "files/huge-pages.sh"
},
{
"id": "unit",
"type": "file",
"path": "/etc/systemd/system/mesh-kernel-huge-pages.service",
"mode": "0644",
"template": "files/mesh-kernel-huge-pages.service"
},
{
"id": "apply",
"type": "service",
"unit": "mesh-kernel-huge-pages.service",
"state": "running",
"boot": "enabled",
"restart-on": [
"unit"
],
"reload-on": [
"huge-pages"
],
"health": {
"kind": "unit"
}
},
{
"id": "boot-entries",
"type": "file",
"path": "${dir:state}/boot-entries",
"mode": "0755",
"trusted": true,
"template": "files/boot-entries.sh"
},
{
"id": "boot-unit",
"type": "file",
"path": "/etc/systemd/system/mesh-kernel-boot-entries.service",
"mode": "0644",
"template": "files/mesh-kernel-boot-entries.service"
},
{
"id": "boot-hook",
"type": "file",
"path": "/etc/pacman.d/hooks/90-mesh-kernel-boot-entries.hook",
"mode": "0644",
"template": "files/90-mesh-kernel-boot-entries.hook"
},
{
"id": "boot-apply",
"type": "service",
"unit": "mesh-kernel-boot-entries.service",
"state": "running",
"boot": "enabled",
"restart-on": [
"boot-unit",
"boot-entries"
],
"health": {
"kind": "unit"
}
},
{
"id": "linux-lts",
"type": "package",
"package": "linux-lts"
},
{
"id": "linux-lts-headers",
"type": "package",
"package": "linux-lts-headers"
},
{
"id": "modules-load",
"type": "file",
"path": "/etc/modules-load.d/mesh-kernel.conf",
"mode": "0644",
"template": "files/modules-load.conf"
},
{
"id": "modules-keep",
"type": "package",
"package": "kernel-modules-hook"
},
{
"id": "modules-cleanup",
"type": "service",
"unit": "linux-modules-cleanup.service",
"state": "stopped",
"boot": "enabled"
},
{
"id": "amd-ucode",
"type": "package",
"package": "amd-ucode"
},
{
"id": "microcode-hook",
"type": "file",
"path": "/etc/mkinitcpio.conf.d/mesh-microcode.conf",
"mode": "0644",
"template": "files/mesh-microcode.conf"
},
{
"id": "initramfs",
"type": "file",
"path": "${dir:state}/initramfs",
"mode": "0755",
"trusted": true,
"template": "files/initramfs.sh"
},
{
"id": "initramfs-unit",
"type": "file",
"path": "/etc/systemd/system/mesh-kernel-initramfs.service",
"mode": "0644",
"template": "files/mesh-kernel-initramfs.service"
},
{
"id": "initramfs-apply",
"type": "service",
"unit": "mesh-kernel-initramfs.service",
"state": "running",
"boot": "enabled",
"restart-on": [
"initramfs-unit",
"initramfs",
"microcode-hook"
],
"health": {
"kind": "unit"
}
}
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/kernel-tools",
"binary": "kernel-tools",
"loads": [
"kernel-tools"
]
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}
}