Files
mesh-catalog/modules/kernel/module.json
T
jschoubben c100e16ba0
mesh/delivery merged: source.main moved to novox/mesh-catalog@e271757db78b
mesh/check checking c100e16ba0af on e271757db78b
kernel: declare amd-ucode only (issue 1977, L10)
intel-ucode failed an apply on a stale package database and stopped the delivery; an Intel machine
fails the unit by the image check and gets intel-ucode in the change that adds it. Tests: 1977/AC1
and the pinned order string adjusted.

Builds: L10 (issue 1977 note 6)
2026-11-12 21:49:30 +01:00

187 lines
4.4 KiB
JSON

{
"module": "kernel",
"version": "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"
}
]
}
}