From 2035dd968b06142f430b7db258bef4e0db94fa4a Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Tue, 25 Jul 2023 19:32:35 +1000 Subject: [PATCH 1/2] initfs: switch to VT#3 before `run.d` * Make `vesad` allocate VTs 1..12 on startup. They can later be replaced by another display device. * Switch to VT#3 before `run.d` * Also set the mode of VT#3 to [`VtMode::Graphical`]. Signed-off-by: Anhad Singh --- recipes/initfs/init.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/initfs/init.rc b/recipes/initfs/init.rc index d0cd7ac4d..a9f652aa3 100644 --- a/recipes/initfs/init.rc +++ b/recipes/initfs/init.rc @@ -4,7 +4,7 @@ nulld zerod randd inputd -vesad T T G +vesad T T T T T T T T T T T T logd debug: display/vesa:1 stdio log: ps2d us @@ -14,4 +14,5 @@ pcid /etc/pcid/initfs.toml redoxfs --uuid $REDOXFS_UUID file $REDOXFS_BLOCK cd file: export PATH file:/bin +inputd -G 3 run.d /etc/init.d From 209f0bcc40857c7294f29b54c56102e51b7d2427 Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Tue, 25 Jul 2023 19:39:15 +1000 Subject: [PATCH 2/2] drivers: add `inputd` in drivers recipie Before it was just in `drivers-initfs`. Signed-off-by: Anhad Singh --- recipes/drivers/recipe.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/drivers/recipe.toml b/recipes/drivers/recipe.toml index 52699eccc..8d3f5d23b 100644 --- a/recipes/drivers/recipe.toml +++ b/recipes/drivers/recipe.toml @@ -17,6 +17,7 @@ BINS=( usbscsid virtio-netd xhcid + inputd ) # Add additional drivers to the list to build, that are not in drivers-initfs