| From ccee228cc4e1733a74bac66c85b3d54169f15497 Mon Sep 17 00:00:00 2001 |
| From: Sejal Sharma <sejalsharma@google.com> |
| Date: Fri, 28 Oct 2022 17:39:59 +0000 |
| Subject: [PATCH] Add dm-mod.create |
| |
| Change-Id: Iafd550a1d0f8b7740b877c8b465e55d926987ebd |
| --- |
| installer/chromeos_legacy_test.cc | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/installer/chromeos_legacy_test.cc b/installer/chromeos_legacy_test.cc |
| index 43c6146deb..6e70de4961 100644 |
| --- a/installer/chromeos_legacy_test.cc |
| +++ b/installer/chromeos_legacy_test.cc |
| @@ -40,7 +40,7 @@ const char kGrubCfgExpectedResult[] = |
| " linux /syslinux/vmlinuz.B cros_efi cros_debug " |
| " root=PARTUUID=5BFD65FE-0398-804A-B090-A201E022A7C6\n" |
| " linux /syslinux/vmlinuz.A cros_efi cros_debug " |
| - "root=/dev/dm-0 dm=\"verity args\"\n" |
| + "root=/dev/dm-0 dm-mod.create=\"verity args\"\n" |
| " linux /syslinux/vmlinuz.B cros_efi cros_debug " |
| "root=/dev/dm-0 dm=\"DM verity=B\"\n" |
| " linux (hd0,3)/boot/vmlinuz quiet console=tty2 init=/sbin/init " |
| @@ -133,7 +133,7 @@ TEST_F(EfiGrubCfgTest, FixupLinuxEfi) { |
| " linux /syslinux/vmlinuz.A root=PARTUUID=xyz\n" |
| " linux /syslinux/vmlinuz.B root=PARTUUID=fake_root_uuid\n" |
| " linux /syslinux/vmlinuz.A root=/dev/dm-0 dm=\"DM verity=A\"\n" |
| - " linux /syslinux/vmlinuz.B root=/dev/dm-0 dm=\"verity args\"\n" |
| + " linux /syslinux/vmlinuz.B root=/dev/dm-0 dm-mod.create=\"verity args\"\n" |
| " linux (hd0,3)/boot/vmlinuz quiet console=tty2 init=/sbin/init " |
| "boot=local rootwait ro noresume noswap loglevel=1 noinitrd " |
| "root=/dev/sdb3 i915.modeset=1 cros_efi cros_debug\n"; |
| -- |
| 2.39.0.314.g84b9a713c41-goog |
| |