What's Changed
Several bugfixes, improved docs, basic dm-integrity support, more options to fine tune included userspace tools.
Changed the "roottype" argname to "rootfstype" so it lines up with known kernel cmdline args. Also tightened up some of the behavior for when "mounts" devices are not available. This allows the system to continue attempting to boot if these devices can't be found, and failures should still end up at rd_fail or rd_restart. This is useful for cases where keyfiles are sometimes used but try_nokey is enabled so a plain password can be used if the keyfile is not present.
Changes
- add _late_args for later kernel_version by @desultory in #360
- rename roottype to rootfstype, add tests for bad rootfstype cmdline config, add /dev/shm mount by @desultory in #380
- make the banner print "built for kernel version" by @desultory in #342
- print mount failures when the passed cmdline fails by @desultory in #355
- check that the build time kernel version matches the runtime kver by @desultory in #343
- consolidate make_nodes and mknod_cpio by @desultory in #363
- run full autodetection on all mounts, rename autodetect_root_ to just autodetect_, add auto_late_mounts by @desultory in #370
- continue booting when storage is missing and user presses enter by @desultory in #383
Improvements
- Add basic dm-integrity support by @desultory in #350
- improve tests, add tests for the mask system, improve organization/comments by @desultory in #333
- add tests for the build_dir parameter by @desultory in #377
- Add tests for absolute and random build dirs by @lazypingu in #379
- improve build dir output path tests by @desultory in #378
- add keymap usage info to docs by @desultory in #344
- improve config docs by @desultory in #361
- Add make_nodes to example.toml (commented out ofc) by @redjard in #362
- add warning about setting make_nodes = true when embedding in the build dir by @redjard in #364
- add subtle reference to gh docs into example.toml by @redjard in #365
- add flag btrfs_userspace by @redjard in #371
- Allow absolute build_dir paths by @lazypingu in #376
Kmod detection/handling improvements
- improve logging/checks for no_kmod systems by @desultory in #352
- revamp module alias/resolution system, add mmc platform driver detection by @desultory in #341
- add warning for when lsmod is used to detect many modules by @desultory in #334
- add toggle to disable normalization of kmod names by @desultory in #336
- add basic vm platform detection by @desultory in #337
- add product kmods for vms to kmod_auto so they can be tolerated missing by @desultory in #339
- add basic regulator detection, bugfixed for other platform detection by @desultory in #340
Bugfixes
- fix debug/recovery shell job control, use setsid by @desultory in #381
- make the platform module actually add kmods to kmod_init by @desultory in #338
- remove bashisms, black format more code by @desultory in #353
- fix typo by @desultory in #354 #372 #382
- Fix typo in example.toml by @redjard in #359
- don't add modprobe to the binaries list if no_kmod is set by @desultory in #356
- partially "fix" no_kmod not being set on call of _process_kernel_version by @redjard in #358
- don't add default config to the processing queue if populated by @desultory in #368
- fix btrfs module breaking for non-root mounts by @desultory in #374
New Contributors
- @redjard made their first contribution in #359
- @lazypingu made their first contribution in #376
Full Changelog: 2.0.2...2.1.0