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

Unified Diff: build_image

Issue 2905001: fix disappearing vmlinuz_hd.vblock problem (Closed) Base URL: ssh://gitrw.chromium.org/crosutils.git
Patch Set: Created 10 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_image
diff --git a/build_image b/build_image
index 23dcf5b477538ee3155d54e3e9e6c7bb0d386784..9b94d99c5647889d739952f3e650b1a238e417a2 100755
--- a/build_image
+++ b/build_image
@@ -318,16 +318,7 @@ make_image_bootable() {
# create_base_image(). However, it could break the build if it is a clean
# build because vmlinuz_hd.vblock hasn't been created by build_kernel_image.sh
if [[ "${ARCH}" = "x86" ]]; then
trchen 2010/07/08 03:36:08 we already called mount_gpt_images.sh on line 288.
- STATEFUL_LOOP_DEV=$(sudo losetup -f)
- if [ -z "${STATEFUL_LOOP_DEV}" ] ; then
- echo "No free loop device. Free up a loop device or reboot. exiting. "
- exit 1
- fi
- sudo losetup "${STATEFUL_LOOP_DEV}" "${STATEFUL_FS_IMG}"
- sudo mount "${STATEFUL_LOOP_DEV}" "${STATEFUL_FS_DIR}"
sudo cp "${OUTPUT_DIR}/vmlinuz_hd.vblock" "${STATEFUL_FS_DIR}"
- sudo umount -d "${STATEFUL_FS_DIR}"
- STATEFUL_LOOP_DEV=
fi
# START_KERN_A is set by the first call to install the gpt.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698