Commit graph

23 commits

Author SHA1 Message Date
HikariKnight
f5c71ee915 chore: logging output cleanup 2024-03-20 17:51:30 +01:00
HikariKnight
74fa194a30 fix: correctly write to log when a kernel older than 6.2 is detected 2024-03-17 00:36:59 +01:00
HikariKnight
f7c98e67ca Do not create an empty config/etc/default/grub file if bootloader is grubby 2024-01-01 12:19:44 +01:00
HikariKnight
82fec3ab58 refactor and start adding actual functionality 2023-12-26 19:20:30 +01:00
HikariKnight
9efa0ee226 fix logger formating 2023-12-26 19:20:29 +01:00
HikariKnight
4c99baeed8 Finish writing the apply changes functions 2023-12-26 19:20:29 +01:00
HikariKnight
300ca653cc implement backup system 2023-12-26 19:20:29 +01:00
HikariKnight
798427280b Add documentation 2023-12-26 19:20:29 +01:00
HikariKnight
639d056abe Add logger debug output 2023-12-26 19:20:29 +01:00
HikariKnight
7f5a75dd94 Start logging to file for debugging 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
ca1eedad1c add comments and change cmdline file to kernel_args 2023-12-26 19:20:29 +01:00
HikariKnight
8a2ddeb261 Fix config struct exports 2023-12-26 19:20:29 +01:00
HikariKnight
583ccc1586 fix generating initramfs-tools modules file 2023-12-26 19:20:29 +01:00
HikariKnight
f3032966b9 move over to using fileio for checking for files existing 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
f5116648e6 futureproofing function names for the different initramfs systems 2023-12-26 19:20:29 +01:00
HikariKnight
efd8ae0f97 add TODO 2023-12-26 19:20:29 +01:00
HikariKnight
3ac5958015 change to use fileio and also finish writing the module manipulation for initramfstools 2023-12-26 19:20:29 +01:00
HikariKnight
a2e641f867 port more of the bash config 2023-12-26 19:20:29 +01:00
HikariKnight
ef3760879b cleanup of the code and add more data to config 2023-12-26 19:20:28 +01:00
HikariKnight
c6c94bba40 setup a config handler 2023-12-26 19:20:28 +01:00