diff options
author | Aaron Ball <nullspoon@oper.io> | 2017-11-07 23:05:50 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2017-11-07 23:05:50 -0700 |
commit | 8ebceb15720aca0f35eb00192fa117d9260a2cb6 (patch) | |
tree | d53d349a2b898a8d575824e2ca8ea62883005743 | |
parent | dcb05b580c7042784bfa803b9581e1601dbb6555 (diff) | |
parent | 2e4998ebde5696468faafcc4d684037f789aa465 (diff) | |
download | mkinitramfs-8ebceb15720aca0f35eb00192fa117d9260a2cb6.tar.gz mkinitramfs-8ebceb15720aca0f35eb00192fa117d9260a2cb6.tar.xz |
Merge branch 'partition-support'v1.1-rc5
-rwxr-xr-x | init | 3 | ||||
-rwxr-xr-x | mkinitramfs | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -108,6 +108,9 @@ setup_encrypted() { read fi + # Probe the new crypto device for an additional partition table + partprobe "/dev/mapper/${name}" 2>/dev/null 1>/dev/null + # Success. Return the path of the decrypted root device echo "/dev/mapper/${name}" } diff --git a/mkinitramfs b/mkinitramfs index 547d436..9ea6760 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -190,7 +190,7 @@ function main { # List of binaries to exist in the new initramfs resolve_bins \ bash cat echo ls cryptsetup chmod chown mount sleep umount clear cut \ - grep less tr which blkid reboot shutdown switch_root + grep less tr which blkid partprobe reboot shutdown switch_root # Set up the archive source dir. |