Re: [lime] Ways to update librerouter packages

このメッセージを削除

このメッセージに返信
著者: Selan Kon
日付:  
To: libremesh
題目: Re: [lime] Ways to update librerouter packages

Selan Kon via LibreMesh:
> Hi all!
>
> I want to try a modified version of lime packages on a librerouter and
> I'm looking for a good way to send the packages from my computer to there.
>
> I found this bash piece on the qemu script that could be a starting point:
>
> ```bash
> # if a libremesh workdir is specified then we copy the files from the
> workdir
> # into the rootfs
> if [ "$_arg_libremesh_workdir" ]; then
>     # Copying the new lime overlay here
>     for package in "${_arg_libremesh_workdir}"/packages/*/files/*; do
>         cp -r "${package}" $temp_dir
>     done
> fi
> ```
>
> It only needs to be modified using scp and something else. How do you do
> this? Any recommendations?


Something like that 👍


for package in ./packages/*/files/*; do
     scp -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" 
-r "${package}" root@10.13.0.1:/
done