redbull: add support for system_ext partition

This fixes booting on git_master.

Signed-off-by: Will McVicker <willmcvicker@google.com>
Bug: 144184051
Test: build, booting
Change-Id: Ic44664c96419b60c2ead015f45d50d2ca6db5330
diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk
index 1cfa78c..e5d994c 100644
--- a/BoardConfig-common.mk
+++ b/BoardConfig-common.mk
@@ -65,7 +65,8 @@
     vbmeta \
     dtbo \
     product \
-    vbmeta_system
+    vbmeta_system \
+    system_ext
 
 # Partitions (listed in the file) to be wiped under recovery.
 TARGET_RECOVERY_WIPE := device/google/redbull/recovery.wipe
@@ -205,7 +206,8 @@
 BOARD_GOOGLE_DYNAMIC_PARTITIONS_PARTITION_LIST := \
     system \
     vendor \
-    product
+    product \
+    system_ext
 
 #BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE is set to BOARD_SUPER_PARTITION_SIZE / 2 - 4MB
 BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE := 4873781248
diff --git a/fstab.hardware b/fstab.hardware
index b601aad..5b8b507 100644
--- a/fstab.hardware
+++ b/fstab.hardware
@@ -2,6 +2,7 @@
 
 #<src>                                                  <mnt_point>            <type>  <mnt_flags and options>                              <fs_mgr_flags>
 system                                                  /system                ext4    ro,barrier=1                                         wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
+system_ext                                              /system_ext            ext4    ro,barrier=1                                         wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
 vendor                                                  /vendor                ext4    ro,barrier=1                                         wait,slotselect,avb=vbmeta,logical,first_stage_mount
 product                                                 /product               ext4    ro,barrier=1                                         wait,slotselect,avb,logical,first_stage_mount
 /dev/block/by-name/metadata                             /metadata              ext4    noatime,nosuid,nodev,discard,sync                    wait,formattable,first_stage_mount
diff --git a/gpt-utils/gpt-utils.h b/gpt-utils/gpt-utils.h
index 39e78b5..3f1a730 100644
--- a/gpt-utils/gpt-utils.h
+++ b/gpt-utils/gpt-utils.h
@@ -85,7 +85,7 @@
             "uefisecapp", "vbmeta", "vbmeta_system", "xbl_config", \
             "featenabler"
 
-#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "modem", "product"
+#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "system_ext", "modem", "product"
 #define BOOT_DEV_DIR    "/dev/block/bootdevice/by-name"
 
 /******************************************************************************