setup: Fix image type detection on recent kernels.
When running outside chroot, the image type detection will use "strings" with
pattern grep -w "root=". However this won't work for recent kernels using
Since "-w" is already checking "root" as a single word, we should remove '='
from the pattern.
TEST=./make_factory_package --factory TEST_IMAGE --release RECOVERY --hwid none
Tested-by: Hung-Te Lin <email@example.com>
Reviewed-by: Bowgo Tsai <firstname.lastname@example.org>
Commit-Queue: Hung-Te Lin <email@example.com>
(cherry picked from commit 10769841ed6d65781c915ecff830d9da24bdbd29)
Reviewed-by: Hung-Te Lin <firstname.lastname@example.org>
Commit-Queue: Bernie Thompson <email@example.com>
Tested-by: Bernie Thompson <firstname.lastname@example.org>
1 file changed