Descriptioncommon.sh, ...: add support for ext2-ro/rw hack
Copies the helpers from crosutils.git/common.sh but uses
printf with octals for portability. This should update all
locations where we mount root rw and disable_rw_mounts just before
a final sign.
TEST= tested with a sign and verify using official keys. Then manually checked with dumpe2fs if it worked and kept the ro protection.
BUG=chromium-os:7972
Change-Id: Ibdd23cb30335942c36d537663aabea605a2f8704
Patch Set 1 #Patch Set 2 : fix offset #Patch Set 3 : fold the rw work in; add ext2 sb magic check #
Messages
Total messages: 3 (0 generated)
|