1 |
On Sun, Oct 26, 2008 at 06:29:13PM -0400, Thomas Anderson wrote: |
2 |
> On Sun, Oct 26, 2008 at 02:58:02PM -0700, Greg KH wrote: |
3 |
> > On Sun, Oct 26, 2008 at 01:36:29PM -0400, Thomas Anderson wrote: |
4 |
> > > On Sun, Oct 26, 2008 at 05:22:26PM +0000, Greg Kroah-Hartman (gregkh) wrote: |
5 |
> > > > src_install() { |
6 |
> > > > doman bti.1 |
7 |
> > > > dobin bti |
8 |
> > > > dodoc bti.example README RELEASE-NOTES |
9 |
> > > > } |
10 |
> > > You really should have some or all of these functions die on failure. |
11 |
> > |
12 |
> > Why would any of these fail if the src_compile succeeded? |
13 |
> "Succeeded" and "Not error out" are different. Src_compile could not |
14 |
> error out but still not produce the executables/produce an executable |
15 |
> with a different name. Either way you end up with a broken installation |
16 |
> of bti. |
17 |
> > And, for some reason I thought that the default was that if there was an |
18 |
> > error in them, they would "die" on their own. Is that not the case? |
19 |
> No, they don't die on their own. As far as I know, very few ebuild |
20 |
> functions do. Econf does, and epatch does as well. I'll look into |
21 |
> writing up a list of which functions die and which don't though, for |
22 |
> convenience. |
23 |
|
24 |
Ok, thanks for the information, I appreciate it. |
25 |
|
26 |
greg k-h |