Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to belatedly sign binary packages without re-emerge?
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
nagmat84
Apprentice
Apprentice


Joined: 27 Mar 2007
Posts: 205

PostPosted: Thu Apr 04, 2024 11:58 am    Post subject: How to belatedly sign binary packages without re-emerge? Reply with quote

I have set up a build server with a chroot-environment for each of my clients. Initially, I did not enable binary packages signing. I have already re-emerged the entire world set via emerge --emptytree ... @world for each of my clients. Now, I finally have figured out how to get package signing to work. When I run emerge I get a properly signed binary package in /var/cache/binpkgs/.

How can a (belatedly) sign all the binary packages which are already there without re-emerging the entire world set once again? I found the option --buildpkgonly for emerge, but this still seems to re-emerge the provided package.
Back to top
View user's profile Send private message
eschwartz
n00b
n00b


Joined: 29 Oct 2023
Posts: 17

PostPosted: Sun Apr 07, 2024 2:30 pm    Post subject: Reply with quote

Portage comes with the "gpkg-sign" command as well. I believe that should do what you want.
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