Skip to content

Commit 1394e4b

Browse files
committed
Switch to 2-slot configuration
Evergreen will use 2 slots, instead of 3. One slot is for the system image, while the other for update installations. Issue: 349897494
1 parent 36abd11 commit 1394e4b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

starboard/loader_app/slot_management.cc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,20 @@
2323
#include <string>
2424
#include <vector>
2525

26+
#include "starboard/common/check_op.h"
2627
#include "starboard/common/file.h"
2728
#include "starboard/common/log.h"
2829
#include "starboard/common/string.h"
2930
#include "starboard/configuration_constants.h"
31+
#include "starboard/crashpad_wrapper/annotations.h"
32+
#include "starboard/crashpad_wrapper/wrapper.h"
3033
#include "starboard/elf_loader/elf_loader_constants.h"
3134
#include "starboard/elf_loader/sabi_string.h"
3235
#include "starboard/event.h"
3336
#include "starboard/extension/loader_app_metrics.h"
3437
#include "starboard/loader_app/app_key_files.h"
3538
#include "starboard/loader_app/drain_file.h"
3639
#include "starboard/loader_app/installation_manager.h"
37-
38-
#include "starboard/crashpad_wrapper/annotations.h"
39-
#include "starboard/crashpad_wrapper/wrapper.h"
40-
41-
#include "starboard/common/check_op.h"
4240
#include "third_party/jsoncpp/source/include/json/reader.h"
4341
#include "third_party/jsoncpp/source/include/json/value.h"
4442

@@ -49,7 +47,7 @@ namespace {
4947
const int kMaxEgVersionLength = 20;
5048

5149
// The max number of installations slots.
52-
const int kMaxNumInstallations = 3;
50+
const int kMaxNumInstallations = 2;
5351

5452
// Relative path for the directory of the Cobalt shared library.
5553
const char kCobaltLibraryPath[] = "lib";

0 commit comments

Comments
 (0)