Commit graph

16 commits

Author SHA1 Message Date
HikariKnight
475543840e Fix duplication of rd.driver.pre=vfio_pci when using dracut 2024-01-01 09:44:17 +01:00
HikariKnight
60fa705b2d Fix output from grub-mkconfig 2024-01-01 09:19:21 +01:00
HikariKnight
b3c17b6f90 Tidy up debug.log formating 2023-12-26 19:20:30 +01:00
HikariKnight
4c99baeed8 Finish writing the apply changes functions 2023-12-26 19:20:29 +01:00
HikariKnight
e7c61c564e Start working on applying the config to the system 2023-12-26 19:20:29 +01:00
HikariKnight
7b305a87d2 implement Set_Grub 2023-12-26 19:20:29 +01:00
HikariKnight
7b8923f68e Add missing error checks 2023-12-26 19:20:29 +01:00
HikariKnight
84befa6f85 Move some code around to places it makes more sense to do the tasks given 2023-12-26 19:20:29 +01:00
HikariKnight
ff5d20f4f9 Implement grubby support 2023-12-26 19:20:29 +01:00
HikariKnight
7081bfa8d7 Implement Set_Kernelstub and attempt to elevate to sudo using STDIN and then attempt to remove the password from the program memory 2023-12-26 19:20:29 +01:00
HikariKnight
ca992bf864 Fixes a bug that would add rd.driver=vfio_pci to the kernel args twice 2023-12-26 19:20:29 +01:00
HikariKnight
e93d215669 make generating the module list its own function and fix minor things 2023-12-26 19:20:29 +01:00
HikariKnight
8a2ddeb261 Fix config struct exports 2023-12-26 19:20:29 +01:00
HikariKnight
c3a1639dee Add function for setting cmdline and writing the config/cmdline file 2023-12-26 19:20:29 +01:00
HikariKnight
388ba638bd add cmdline to config and fix fileio append 2023-12-26 19:20:29 +01:00
HikariKnight
e03c27bf77 Split bootloader section into its own file 2023-12-26 19:20:28 +01:00