File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,14 @@ case ${chroot} in
157157esac
158158
159159${rootfs_shell} \
160- apt-get install -y -- make sudo util-linux
160+ apt-get install -y -- make sudo util-linux git
161+
162+ # echo "log: To prevent 'fatal: detected dubious ownership in repository'"
163+ ${rootfs_shell} \
164+ git config --global --add safe.directory " ${CURDIR} "
165+
166+ args=" help setup default"
167+ [ " $1 " = " " ] || args=" $@ "
161168
162169${rootfs_shell} \
163170 ${MAKE} \
@@ -166,7 +173,7 @@ ${rootfs_shell} \
166173 USER=" ${USER} " \
167174 ${env_vars} \
168175 -- \
169- help setup default \
176+ ${args} \
170177 target_debian_arch=" ${target_debian_arch} " \
171178 CMAKE_SYSTEM_PROCESSOR=" ${CMAKE_SYSTEM_PROCESSOR} " \
172179 CARGO_TARGET_TRIPLE=" ${CARGO_TARGET_TRIPLE} " \
You can’t perform that action at this time.
0 commit comments