summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrescue/Flash/scripts/upgrade2
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/Flash/scripts/upgrade b/rescue/Flash/scripts/upgrade
index 736091365..798ee01d0 100755
--- a/rescue/Flash/scripts/upgrade
+++ b/rescue/Flash/scripts/upgrade
@@ -145,6 +145,8 @@ function copy_new_version() {
[ -d "$modules_dir" ] && rm -rf $modules_dir
cp -a $upgrade_dir/* $upgrade_dir/.??* $rootdir
+ chmod -R u+w $rootdir
+ chmod -R u-w $rootdir$boot_rel $rootdir$loopbacks_rel
new_label=$(source_version_variables "2.0"; echo $label)
MTOOLS_SKIP_CHECK=1 mlabel -i $usbroot_device ::$new_label