update rootRe for running in user-mode linux

This commit is contained in:
Michael Stapelberg 2018-11-01 17:54:23 +01:00
parent 389a515555
commit 99287f68e3

View File

@ -21,7 +21,7 @@ import (
) )
var ( var (
rootRe = regexp.MustCompile(`root=/dev/(?:mmcblk0p|sda)([2-3])`) rootRe = regexp.MustCompile(`(?:root|ubd0)=/dev/(?:mmcblk0p|sda|loop0p)([2-3])`)
inactiveRootPartition string inactiveRootPartition string
) )