diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-07-20 08:52:40 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-07-20 08:52:40 +0000 |
commit | 88a43fe3899b44f84e215625968c23205c53dafb (patch) | |
tree | edde1b912ac14859bf076418d48927687f24fd2a /rescue/Flash/scripts/upgrade | |
parent | 0754548a93f36b939baf8337538f80d71714bd30 (diff) | |
download | drakx-88a43fe3899b44f84e215625968c23205c53dafb.tar drakx-88a43fe3899b44f84e215625968c23205c53dafb.tar.gz drakx-88a43fe3899b44f84e215625968c23205c53dafb.tar.bz2 drakx-88a43fe3899b44f84e215625968c23205c53dafb.tar.xz drakx-88a43fe3899b44f84e215625968c23205c53dafb.zip |
make required directories writable on the FAT partition
Diffstat (limited to 'rescue/Flash/scripts/upgrade')
-rwxr-xr-x | rescue/Flash/scripts/upgrade | 2 |
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 |