summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@google.com>2015-08-31 11:48:39 -0400
committerDavid Zeuthen <zeuthen@google.com>2015-08-31 11:55:22 -0400
commit9e51894c1a6204343386f8efa7c00a2ddb8d9989 (patch)
treed67d05e2da8f383251e7b941eaa90fdaca4e9030
parent638c0ac523a798a5976061849d08656e8b43b357 (diff)
downloaddragonboard-9e51894c1a6204343386f8efa7c00a2ddb8d9989.tar.gz
dragonboard: Also populate slot B.
For now, let's also populate slot B so it's easier to test A/B. The cost of doing this (a couple of extra seconds) is negligible. Change-Id: Ie4ebc0ebb28e0f81d8ca49ffd320fd1d55feec1b
-rwxr-xr-xbrillo-provision-dragonboard410c.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/brillo-provision-dragonboard410c.sh b/brillo-provision-dragonboard410c.sh
index dc16676..2c5f54e 100755
--- a/brillo-provision-dragonboard410c.sh
+++ b/brillo-provision-dragonboard410c.sh
@@ -111,13 +111,13 @@ BOARD_PARTITIONS+="system:${LINUX_GUID_TYPE}:256M:${BRILLO_OUT_DIR}/system.img "
# partitions. We likely want type GUIDs depending on A/B and usage.
BRILLO_GUID_TYPE="7762a6b9-9d60-476a-8d40-a6a8850f80e9"
-# For now, put the OS in slot A and make slot B empty.
+# For now, put the OS in both slot A and B (in the future once updates
+# are working, only put it in slot A).
BOARD_PARTITIONS+="boot_a:${BRILLO_GUID_TYPE}:32M:${BRILLO_OUT_DIR}/boot.img "
BOARD_PARTITIONS+="system_a:${BRILLO_GUID_TYPE}:256M:${BRILLO_OUT_DIR}/system.img "
BOARD_PARTITIONS+="oem_a:${BRILLO_GUID_TYPE}:64M: "
-
-BOARD_PARTITIONS+="boot_b:${BRILLO_GUID_TYPE}:32M: "
-BOARD_PARTITIONS+="system_b:${BRILLO_GUID_TYPE}:256M: "
+BOARD_PARTITIONS+="boot_b:${BRILLO_GUID_TYPE}:32M:${BRILLO_OUT_DIR}/boot.img "
+BOARD_PARTITIONS+="system_b:${BRILLO_GUID_TYPE}:256M:${BRILLO_OUT_DIR}/system.img "
BOARD_PARTITIONS+="oem_b:${BRILLO_GUID_TYPE}:64M: "
# Last partition takes up the rest of the disk - we use this for