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 05:45:43 +0000 (05:45 +0000)
commit448dccbc7da2b666b2159632173d8896d276c6f3
tree0437ead6acf88475810c78c493dc97c094b6bc0e
parentcb219828ff70adcbf867968ea83ad42d03efa958
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 that
"/" must exist in fstab when enabling SYSTEM_ROOT_IMAGE.

Change-Id: Id509d724f18be7cf7389dd786924ead894ac0cc1
(cherry picked from commit 48550cceb0bc4a7a0ec05aa87f8b5872b9ac7246)
tools/releasetools/common.py