Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild/portage docopy command?
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
ledzep37
n00b
n00b


Joined: 28 May 2003
Posts: 19

PostPosted: Sun Jun 01, 2003 3:22 pm    Post subject: ebuild/portage docopy command? Reply with quote

Hello,

I am trying to create a local bash ebuild in my portage overlay directory and ran into a problem. The normal build creates a symlink from /bin/sh -> /bin/bash using dosym. I like to statically compile bash and keep /bin/sh as a real binary which is just a copy of bash, however, I have had trouble trying to get that copy created using my ebuild, it would be much easier if there was a matching docopy command which acted like dosym but created copies properly. Would this be possible in the near future? Thanks.

Jordan
Back to top
View user's profile Send private message
taviso
Retired Dev
Retired Dev


Joined: 15 Apr 2003
Posts: 261
Location: United Kingdom

PostPosted: Sun Jun 01, 2003 4:06 pm    Post subject: Re: ebuild/portage docopy command? Reply with quote

ledzep37 wrote:
I like to statically compile bash and keep /bin/sh as a real binary which is just a copy of bash, however, I have had trouble trying to get that copy created using my ebuild, it would be much easier if there was a matching docopy command which acted like dosym but created copies properly.


once youve installed the bash binary, you can always use standard commands to get what you want done, there would be nothing wrong with:

Code:
cp ${D}/bin/bash ${D}/bin/sh


but it is possible with portage binaries, for example:

Code:
exeinto /bin
doexe bash
newexe bash sh

_________________
--------------------------------------
Gentoo on Alpha, is your penguin 64bit?
--------------------------------------------------------
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