blob: aeddf11d0df27012c1f6a6386942659b3b5b3c4a [file] [log] [blame]
Alex Deymoaea4c1c2015-08-19 20:24:43 -07001//
2// Copyright (C) 2014 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
Alex Deymo161c4a12014-05-16 15:56:21 -070016
17#include "update_engine/payload_constants.h"
18
19namespace chromeos_update_engine {
20
Alex Deymocbf09892015-09-11 16:13:16 -070021const uint64_t kChromeOSMajorPayloadVersion = 1;
22const uint64_t kBrilloMajorPayloadVersion = 2;
23
24const uint32_t kFullPayloadMinorVersion = 0;
25const uint32_t kInPlaceMinorPayloadVersion = 1;
26const uint32_t kSourceMinorPayloadVersion = 2;
27
Sen Jiang70a6ab02015-08-28 13:23:27 -070028const char kLegacyPartitionNameKernel[] = "boot";
29const char kLegacyPartitionNameRoot[] = "system";
30
Alex Deymo161c4a12014-05-16 15:56:21 -070031const char kDeltaMagic[] = "CrAU";
32const char kBspatchPath[] = "bspatch";
33
34}; // namespace chromeos_update_engine