make_dev_ssd: Allow smaller kernel partition.

Some Brillo devices may have smaller kernel partition and we need to reduce the
size limit.

BUG=none
BRANCH=none
TEST=make_dev_ssd.sh applied on a Brillo config with 8MB kernel partition.

Change-Id: I9ca37445a6cdb20138f13dbe975c207383a1474c
Reviewed-on: https://chromium-review.googlesource.com/255341
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Mao Huang <littlecvr@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
Hung-Te Lin
2015-03-03 12:03:41 +08:00
committed by ChromeOS Commit Bot
parent 1eae873b61
commit 26af0da4f7

View File

@@ -136,7 +136,7 @@ resign_ssd_kernel() {
local ssd_device="$1"
# reasonable size for current kernel partition
local min_kernel_size=32000
local min_kernel_size=16000
local max_kernel_size=65536
local resigned_kernels=0