File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 83
83
(cd _inst_dir && rm -f _vars.sh common_functions.sh _sing_inst_script.sh _pre_install.sh _post_install.sh $CW_TEMPLATE_SCRIPT _extra_user_envs.sh _extra_envs.sh )
84
84
85
85
86
- if [[ ! ${CW_NO_FIX_PERM+defined} ]]; then
87
- print_info " Fixing permissions within squashfs image" 2
88
- chmod -R ugo+rwX _inst_dir
89
- fi
90
-
91
86
# Save old configurations in separate folder so they are not overridden
92
87
counter=0
93
88
while true ; do
@@ -104,6 +99,13 @@ for fp in "${CW_INSTALLATION_FILE_PATHS[@]}";do
104
99
done
105
100
# ######
106
101
102
+
103
+
104
+ if [[ ! ${CW_NO_FIX_PERM+defined} ]]; then
105
+ print_info " Fixing permissions within squashfs image" 2
106
+ chmod -R ugo+rwX _inst_dir
107
+ fi
108
+
107
109
mksquashfs _inst_dir/ _deploy/$CW_SQFS_IMAGE -processors $_cpus $CW_SQFS_OPTIONS
108
110
109
111
# Check if we need to fix group permissions
You can’t perform that action at this time.
0 commit comments