Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: build_kernel_image.sh

Issue 3493004: make_image: Fake vmlinuz_hd.vblock on ARM. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: Update comment. Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/cros_make_image_bootable ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_kernel_image.sh
diff --git a/build_kernel_image.sh b/build_kernel_image.sh
index b4e393e9b5f8d0a0735e874fd58cb6a61910f555..55513e237a7d9e2ccbc8aae968292742d82529d3 100755
--- a/build_kernel_image.sh
+++ b/build_kernel_image.sh
@@ -226,6 +226,11 @@ elif [[ "${FLAGS_arch}" = "arm" ]]; then
rm -f "${FLAGS_to}"
dd if="${kernel_script_img}" of="${FLAGS_to}" bs=512 count="${script_size}"
dd if="${kernel_image}" of="${FLAGS_to}" bs=512 seek="${script_size}"
+
+ # TODO: HACK: Until the kernel partition contains a signed image, create a
+ # phony hd.vblock to keep chromeos-install and cros_generate_update_paload
+ # working.
+ dd if="${FLAGS_to}" of="${FLAGS_hd_vblock}" bs=64K count=1
else
error "Unknown arch: ${FLAGS_arch}"
fi
« no previous file with comments | « bin/cros_make_image_bootable ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698