Closed abalfoort closed 1 year ago
The backend
setting in the .conf
file is bogus (copied from packages
, where it makes sense; here, it does not).
Indeed, this is currently not used. I'm still looking for a way to install sysfsutils if needed.
I have no way of adding sysfsutils to the list of packages to be installed by the packages module.
The config file and schema seem to be mismatched; what is all that packaging setting doing there? The schema mentions grubcfg. Does is validate the current config file? Because vm.something looks like a dubious key to me.
You can manipulate the packages-to-install: it's just a GS object, so you can treat it like a dict in Python. But it will be messy and unpleasant. More effective would be two issues / PRs against Calamares itself:
PythonJobAPI.h
that does the work from C++ (I would suggest, for simplicity, to take a string or a list of strings; expand the api in libcalamares/packages/Globals.h
to also add to an existing package-set, and pass the module-id from the Python job there as a C++ implementation detail)Thanks. My C++ knowledge is limited but I'll take a look at it after the holidays.
Module to configure SSD: ssdcfg.
This is a work in progress. So, I need some feedback on this. Especially how to make this work on all distro flavors.
This module enables fstrim, configures swappiness and sets the IO scheduler.
FIXES #1987