mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
make_dev_ssd: fix the offset for enable_rw_mount
The rootfs offset was not converted to bytes. This changes fixes that. BUG=none TEST=ran it on an image and it found the ext2 magic Change-Id: I814c3b89bf5246e3ceab851f80c4a4d4d7e63919 Review URL: http://codereview.chromium.org/4071002
This commit is contained in:
@@ -225,7 +225,7 @@ main() {
|
||||
# Make the root filesystem remountable if needed.
|
||||
if [ ${FLAGS_remove_rootfs_verification} = $FLAGS_TRUE ]; then
|
||||
local root_offset=$(partoffset "$FLAGS_image" 3)
|
||||
enable_rw_mount "$FLAGS_image" "$root_offset"
|
||||
enable_rw_mount "$FLAGS_image" "$((root_offset * 512))"
|
||||
fi
|
||||
|
||||
resign_ssd_kernel "$FLAGS_image" || num_signed=$?
|
||||
|
||||
Reference in New Issue
Block a user