init: Convert inputd and lived to services
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"unit": {
|
||||
"description": "VT input and graphics multiplexer"
|
||||
},
|
||||
"service": {
|
||||
"cmd": "inputd",
|
||||
"type": {
|
||||
"scheme": "input"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user