init: Convert inputd and lived to services

This commit is contained in:
bjorn3
2026-02-26 16:03:41 +01:00
parent 72b96695b0
commit 31489ce7ca
5 changed files with 23 additions and 7 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"unit": {
"description": "VT input and graphics multiplexer"
},
"service": {
"cmd": "inputd",
"type": {
"scheme": "input"
}
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"_comment": "Needs to start before drivers to ensure it gets priority when redoxfs searches for disks",
"unit": {
"description": "Live disk"
},
"service": {
"cmd": "lived",
"type": "notify"
}
}
+1 -3
View File
@@ -1,6 +1,4 @@
scheme input inputd
requires_weak 10_inputd.service
notify FRAMEBUFFER_ADDR=$ FRAMEBUFFER_VIRT=$ FRAMEBUFFER_WIDTH=$ FRAMEBUFFER_HEIGHT=$ FRAMEBUFFER_STRIDE=$ vesad
scheme fbbootlog fbbootlogd
# Activate framebuffer log VT, which disables kernel graphical debug
inputd -A 1
scheme fbcon fbcond 2
-3
View File
@@ -1,3 +0,0 @@
requires_weak 20_graphics
# Note: Needs to start before drivers to ensure it gets priority when redoxfs searches for disks
notify lived
+1 -1
View File
@@ -1,4 +1,4 @@
requires_weak 30_live
requires_weak 10_lived.service 20_graphics
notify ps2d
notify RSDP_ADDR=$ RSDP_SIZE=$ hwd
pcid-spawner --initfs