OSDN Git Service

releasetools: Fix the bug with TARGET_NO_RECOVERY.
authorTao Bao <tbao@google.com>
Fri, 20 Nov 2015 01:05:46 +0000 (17:05 -0800)
committerTao Bao <tbao@google.com>
Fri, 20 Nov 2015 01:14:21 +0000 (17:14 -0800)
commit48550cceb0bc4a7a0ec05aa87f8b5872b9ac7246
treea6b4b2ec92b9dbead248423062b6eaa6954b2187
parentb2055df782eb5276128ef14ac4724d32f94e1aec
releasetools: Fix the bug with TARGET_NO_RECOVERY.

The packaging script is broken when we set TARGET_NO_RECOVERY and
SYSTEM_ROOT_IMAGE both. With TARGET_NO_RECOVERY set, we don't have
RECOVERY/RAMDISK/etc/recovery.fstab. It thus fails the assertion in
common.LoadRecoveryFSTab() that "/" must exist in fstab when enabling
SYSTEM_ROOT_IMAGE.

Change-Id: Id509d724f18be7cf7389dd786924ead894ac0cc1
tools/releasetools/common.py