Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to interrupt 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
creaker
Guru
Guru


Joined: 14 Jul 2012
Posts: 480

PostPosted: Wed Sep 11, 2013 10:19 am    Post subject: How to interrupt emerge? Reply with quote

Hi!
I want to interrupt package installing when sources was unpacked into /var/tmp/portage, make some changes in source files and continue installation. Is it possible 'on-the-fly'? Or should I repack package, replace original with repacked and run emerge again?
_________________
Intel Core i3-2120 / 4Gb RAM / 250Gb HDD / NVidia GeForce-550Ti
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1124
Location: Austria

PostPosted: Wed Sep 11, 2013 10:56 am    Post subject: Reply with quote

Use ebuild foo-1.0 unpack, ebuild foo-1.0 compile ... man ebuild. I.e., after unpacking you can modify files and then do the compile etc.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
creaker
Guru
Guru


Joined: 14 Jul 2012
Posts: 480

PostPosted: Wed Sep 11, 2013 12:04 pm    Post subject: Reply with quote

It works!
Many thanks!
_________________
Intel Core i3-2120 / 4Gb RAM / 250Gb HDD / NVidia GeForce-550Ti
Back to top
View user's profile Send private message
peter4
Guru
Guru


Joined: 19 Jul 2005
Posts: 336
Location: Wroclaw, Poland

PostPosted: Fri Sep 13, 2013 3:00 pm    Post subject: Reply with quote

If it's not a really small, almost instantly building package I just do ctrl+z after unpacking, modify files, and use 'fg' to resume build.
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