diff options
author | Markus Lidel <Markus.Lidel@shadowconnect.com> | 2017-01-02 15:21:29 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2017-01-02 15:21:29 -0800 |
commit | fcc197b3b552eacf3d4928ef9cb777ff3d411ddc (patch) | |
tree | 7179efaed5854c7b01085197491a02ee5a3149dc /defaults/initrd.scripts | |
parent | bootloader: be clear when a new grub1 config is made. (diff) | |
download | genkernel-fcc197b3b552eacf3d4928ef9cb777ff3d411ddc.tar.gz genkernel-fcc197b3b552eacf3d4928ef9cb777ff3d411ddc.tar.bz2 genkernel-fcc197b3b552eacf3d4928ef9cb777ff3d411ddc.zip |
dmraid: fix booting from a GPT partition on a dmraid.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'defaults/initrd.scripts')
-rw-r--r-- | defaults/initrd.scripts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 4b0bbad2..31ebeeca 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1002,6 +1002,7 @@ startVolumes() { else /sbin/dmraid -ay ${DMRAID_OPTS} fi + [ -x '/sbin/kpartx' ] && /sbin/dmsetup ls --exec '/sbin/kpartx -a -s' fi fi |