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 8383(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 )
8484
8585
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-
9186# Save old configurations in separate folder so they are not overridden
9287counter=0
9388while true ; do
@@ -104,6 +99,13 @@ for fp in "${CW_INSTALLATION_FILE_PATHS[@]}";do
10499done
105100# ######
106101
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+
107109mksquashfs _inst_dir/ _deploy/$CW_SQFS_IMAGE -processors $_cpus $CW_SQFS_OPTIONS
108110
109111# Check if we need to fix group permissions
You can’t perform that action at this time.
0 commit comments