File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,8 @@ export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
78
78
79
79
tcd_start=" $( date +%s) "
80
80
81
- . " $d_aok_base " /tools/utils.sh
81
+ hide_run_as_root=1 . /opt/AOK/tools/run_as_root.sh
82
+ [ -z " $d_aok_base_etc " ] && . /opt/AOK/tools/utils.sh
82
83
83
84
manual_runbg
84
85
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ if [ ! -d "/opt/AOK" ]; then
17
17
exit 1
18
18
fi
19
19
20
- . /opt/AOK/tools/utils.sh
20
+ hide_run_as_root=1 . /opt/AOK/tools/run_as_root.sh
21
+ [ -z " $d_aok_base_etc " ] && . /opt/AOK/tools/utils.sh
21
22
22
23
msg_script_title " select_distro_prepare.sh Prep for distro select"
23
24
@@ -27,8 +28,8 @@ msg_script_title "select_distro_prepare.sh Prep for distro select"
27
28
msg_2 " apk update & upgrade"
28
29
apk update && apk upgrade
29
30
30
- msg_3 " Installing wget (needed for Debian download)"
31
- apk add wget
31
+ msg_3 " Installing wget (needed for Debian download) & pigz (multicore untar) "
32
+ apk add wget pigz
32
33
33
34
set_new_etc_profile " $setup_select_distro "
34
35
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ create_fs() {
154
154
case " $src_tarball " in
155
155
* alpine* ) _cf_time_estimate=" A minirootfs should not take that long" ;;
156
156
* )
157
- _cf_time_estimate=" will take a while (iPad 5th:16 iPad 7th:7 minutes)"
157
+ _cf_time_estimate=" will take a while (iPad 5th:8, iPad 7th:4 minutes)"
158
158
;;
159
159
esac
160
160
msg_3 " $_cf_time_estimate "
You can’t perform that action at this time.
0 commit comments