| View previous topic :: View next topic |
| Author |
Message |
ledzep37 n00b

Joined: 28 May 2003 Posts: 19
|
Posted: Sun Jun 01, 2003 3:22 pm Post subject: ebuild/portage docopy command? |
|
|
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 |
|
 |
taviso Retired Dev


Joined: 15 Apr 2003 Posts: 261 Location: United Kingdom
|
Posted: Sun Jun 01, 2003 4:06 pm Post subject: Re: ebuild/portage docopy command? |
|
|
| 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 |
|
 |
|
|
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
|
|