Autor: Selan Kon Datum: To: libremesh Betreff: 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