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

Unified Diff: mount_gpt_image.sh

Issue 4148013: Fixing of the symlinks isn't being called because rootfs is being remounted ro. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 2 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: mount_gpt_image.sh
diff --git a/mount_gpt_image.sh b/mount_gpt_image.sh
index cf623a44aba639ca4c8450d448d4e552bde6e3e7..63dba3d8b62d755989b12512a2a5998659169f61 100755
--- a/mount_gpt_image.sh
+++ b/mount_gpt_image.sh
@@ -47,7 +47,7 @@ function unmount_image() {
# Don't die on error to force cleanup
set +e
# Reset symlinks in /usr/local.
- if mount | egrep ".* ${FLAGS_rootfs_mountpt} .*\(rw,"; then
+ if mount | egrep ".* ${FLAGS_stateful_mountpt} .*\(rw,"; then
setup_symlinks_on_root "/usr/local" "/var" \
"${FLAGS_stateful_mountpt}"
fix_broken_symlinks "${FLAGS_rootfs_mountpt}"
« 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