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

Unified Diff: build_image

Issue 3158021: Issue 5183: reduce dev install shim size (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: test Created 10 years, 4 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 62768a59601f3dc4cb291724eff1b8be4e85a894..90e2b1e6952d7aa3c9a21dc98382b79b77c324ae 100755
--- a/build_image
+++ b/build_image
@@ -655,13 +655,20 @@ if [[ $FLAGS_preserve -eq ${FLAGS_TRUE} ]] ; then
fi
fi
-# Minimize rootfs size for dev install shim and factory installer
-if [ ${FLAGS_factory_install} -eq ${FLAGS_TRUE} -o \
- ${FLAGS_dev_install} -eq ${FLAGS_TRUE} ] ; then
+# Minimize rootfs size for factory installer
+if [ ${FLAGS_factory_install} -eq ${FLAGS_TRUE} ]; then
info "Fixing the rootfs size at 300 MiB for the factory installer"
FLAGS_rootfs_size=300
fi
+# Minimize rootfs size and statefulfs size for dev install shim
+if [ ${FLAGS_dev_install} -eq ${FLAGS_TRUE} ] ; then
+ info "Fixing the rootfs size at 300 MiB for dev install shim"
+ FLAGS_rootfs_size=300
+ info "Fixing the statefulfs size at 140 MiB for dev install shim"
+ FLAGS_statefulfs_size=140
+fi
+
# Create the boot.desc file which stores the build-time configuration
# information needed for making the image bootable after creation with
# cros_make_image_bootable.
« 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