diff --git a/script/make-firmware.bash b/script/make-firmware.bash index fcd463e..58261b5 100755 --- a/script/make-firmware.bash +++ b/script/make-firmware.bash @@ -193,7 +193,7 @@ build_ot() rm -rf openthread # git_archive_all doesn't accept symbolic link, so make a copy of openthread and make # it not a submodule - cp -r ../openthread . + cp -rp ../openthread . rm openthread/.git # Build diff --git a/script/otbr-setup.bash b/script/otbr-setup.bash index 57fc3b7..130772d 100755 --- a/script/otbr-setup.bash +++ b/script/otbr-setup.bash @@ -191,7 +191,7 @@ apt-get install -y --no-install-recommends git python3-pip su -c "DOCKER=1 ${build_options[*]} script/bootstrap" pi rm -rf /home/pi/repo/ot-br-posix/third_party/openthread/repo -cp -r /home/pi/repo/openthread /home/pi/repo/ot-br-posix/third_party/openthread/repo +cp -rp /home/pi/repo/openthread /home/pi/repo/ot-br-posix/third_party/openthread/repo apt-get purge -y cmake pip3 install scikit-build