Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-misc/rsync no more static?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 243
Location: Dresden

PostPosted: Tue Jul 20, 2021 9:01 am    Post subject: net-misc/rsync no more static? Reply with quote

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
View user's profile Send private message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 243
Location: Dresden

PostPosted: Tue Jul 20, 2021 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Tue Jul 20, 2021 3:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 243
Location: Dresden

PostPosted: Thu Jul 22, 2021 9:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum