View previous topic :: View next topic |
Author |
Message |
dasPaul Apprentice
Joined: 14 Feb 2012 Posts: 243 Location: Dresden
|
Posted: Tue Jul 20, 2021 9:01 am Post subject: net-misc/rsync no more static? |
|
|
Hi
If I remember correctly there once was a "static" flag on net-misc/rsync. I used it in my custom initramfs
just for giving a nice file copy process indication.
But I cant find the static flag anymore on rsync. Has it been removed?
I dont want to fiddle with all the dynamic linked files in my initramfs... _________________ -=human without Windows®=-
sorry for my bad english! |
|
Back to top |
|
|
dasPaul Apprentice
Joined: 14 Feb 2012 Posts: 243 Location: Dresden
|
Posted: Tue Jul 20, 2021 9:04 am Post subject: |
|
|
Alright, it was indeed removed by:
https://bugs.gentoo.org/741116
I'll build rsync binary manually... _________________ -=human without Windows®=-
sorry for my bad english! |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21489
|
Posted: Tue Jul 20, 2021 3:33 pm Post subject: |
|
|
Building and maintaining rsync manually is easier than including the required dynamic libraries in the initramfs, or maintaining an overlay that understands USE=static? Looking at mine, many of the dynamic libraries it needs would already be needed for other things.
What is your initramfs copying that you need a progress indicator? How much progress do you want to see? For a simple list of files copied, cp understands --verbose to list files as they are started. |
|
Back to top |
|
|
dasPaul Apprentice
Joined: 14 Feb 2012 Posts: 243 Location: Dresden
|
Posted: Thu Jul 22, 2021 9:19 am Post subject: |
|
|
Thanks, I already compiled my own static rsync. It was not that difficult.
I created a live Gentoo system that runs entirely from RAM and so I created a squashfs root that has
quite some size (1G) that needs to be copied to ram. I want to give the user (me) some indication
on the copy process of the remaining time, not just list the files that are beeing copied.
It works very good so far. _________________ -=human without Windows®=-
sorry for my bad english! |
|
Back to top |
|
|
|