| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #6
|
| |
|
|
|
|
|
|
|
| |
This fixes an issue introduced by voidlinux/void-runit#75 whereby
dmsetup returns "No devices found" on shutdown on systems with no
encrypted volumes, which is then interpreted as integral vaules "No",
"devices" and "found", resulting in Illegal number errors.
|
|
|
|
|
|
|
|
|
|
|
|
| |
mounted during shutdown (#75)
* deactivate_crypt should not try to close encrypted volumes that are still mounted during shutdown.
When shutting down or rebooting a system with full disk encryption (as per https://wiki.voidlinux.eu/install_LVM_LUKS and https://wiki.voidlinux.eu/install_LVM_LUKS_on_UEFI_GPT), deactivate_crypt will irrespectively try and close all encrypted partitions, including '/'. On some systems, (including my own) this causes lockups on shutdown or reboot.
This commit ensures that only encrypted volumes with nothing mounted are closed (which should only be '/' at that point in shutdown).
* Reduced if statement to a one liner
|
| |
|
| |
|
| |
|
| |
|
|
- /etc/runit/functions: contains common functions to be used in core-services.
- /etc/runit/core-services: directory containing one-time tasks run in stage 1.
- Added LXC container detection to disable some core services.
This accidentally also fixes the issue of unicode not working in the active
TTY from stage 1.
|