- 03 Nov, 2021 2 commits
-
-
Natanael Copa authored
-
Natanael Copa authored
-
- 09 Sep, 2021 1 commit
-
-
Alex Sivchev authored
Using --run with incremental assembly ensures that the system will be able to boot and won't drop to recovery shell when only the minimal number of devices are present. [1] [1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/tree/ReadMe.c?h=mdadm-4.1#n600
-
- 13 Jan, 2021 1 commit
-
-
omni authored
-
- 23 Jul, 2019 1 commit
-
-
- 29 May, 2019 1 commit
-
-
Natanael Copa authored
Handle case when the crypt header is a normal file which is included in initramfs and not a blockdevice.
-
- 25 Jan, 2019 1 commit
-
-
Natanael Copa authored
if search device is prefixed with ZFS= then we search for a label with the zpool name in the zfs path. For example, if search device is "ZFS=tank/alpine/root" then we search for device that is type "zfs_member" and label "tank". This makes it work better with grub which creates a boot cmdline with ZFS=
-
- 12 Jun, 2018 1 commit
-
-
The "cryptkey" boot parameter enables keyfile decryption. By default, init will look for a keyfile named "/crypto_keyfile.bin". Another file may be specified like so: "cryptkey=/path/to/keyfile.bin". If keyfile decryption fails, init will fall back to passphrase mode.
-
- 07 May, 2018 1 commit
-
-
- 25 Jan, 2018 1 commit
-
-
Sören Tempel authored
Since we previously specified an explicit request_type for the crypt_load() function nlplug-findfs couldn't open LUKS2 containers. By using CRYPT_LUKS crypt_load accepts any known LUKUS container format. We could add an additional command line flag to nlplug-finds for specifying the request_type but I guess this is good enough for now.
-
- 03 Aug, 2017 1 commit
-
-
Sören Tempel authored
When enabled allows the use of discard (TRIM) requests for the device. See cryptsetup(1) for more information.
-
- 05 Apr, 2017 6 commits
-
-
7heo .tk authored
Without a call to crypt_set_data_device(), the cryptsetup system does not know where to find the data device. It works whether the header is deported or not, according to https://github.com/mbroz/cryptsetup/blob/8f84fb49faa69b0ddde3d534ee9c72119256f4c9/src/cryptsetup.c#L782 so it is fine to call it in all cases.
-
7heo .tk authored
-
7heo .tk authored
-
move the logic to separate function
-
put all data related cryptsetup in a struct. No changes in functionality.
-
7heo .tk authored
-
- 10 Jan, 2017 6 commits
-
-
Natanael Copa authored
We could sucessfully read the password but fail to reset the tty. If that happens, then just warn, but return success.
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
we dont need mount and scan the tree if not explicitly told to look for apkovls or bootrepos.
-
-
-
- 24 Dec, 2016 1 commit
-
-
- 23 Nov, 2016 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
-
- 21 Nov, 2016 5 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
ref #6473
-
- 27 Sep, 2016 1 commit
-
- 04 Jul, 2016 1 commit
-
-
Natanael Copa authored
makes things a bit cleaner
-
- 10 Jun, 2016 1 commit
-
-
Natanael Copa authored
Increase timeout to 5sec if we have not found anything so we don't get error too early. If boot repos are found then reduce the event timeout to 250ms. If usb_storage is found, then always add 1 second of delay in addition, to let the usb host settle.
-
- 21 Mar, 2016 1 commit
-
-
Timo Teräs authored
certain platform and usb devices expose things deep down the tree, increase the recursion limit
-
- 11 Mar, 2016 2 commits
-
-
Timo Teräs authored
raid disks are created zero sized. when mdadm has found all the disks it finally enables it. this causes md devices to be zero sized for some time after their creation, and blkid will not detect them. catch the 'change' notification and rescan block devices for updated blkid.
-
Timo Teräs authored
Based on patch by donoban. Limit recursion depth for repository search to 2 levels (shell script had -maxdepth 3 for finding the file entry, so it's maximum of 2 levels of directories). For sysfs entries deeper search is allowed. ref #5192
-
- 18 Jan, 2016 1 commit
-
-
Natanael Copa authored
add -n option to allow return success even if nothing was found. This is useful for net boot, where apkovl and repositories are on network.
-
- 16 Dec, 2015 1 commit
-
-
Natanael Copa authored
kernel does not set any "DRIVER" env var in uevent from netlink so we use kmod to find usb_storage driver. We also reduce the timeout to 1 sec, which should be enough.
-
- 25 Nov, 2015 1 commit
-
-
Natanael Copa authored
Avoid printing error message if there are lvm devices but root is not on any of those.
-