1 |
On Thu, 2005-08-25 at 13:41 +0200, Paul de Vrieze wrote: |
2 |
> On Wednesday 24 August 2005 15:23, Martin Schlemmer wrote: |
3 |
> > |
4 |
> > Same thing (and probably better option) if you put it in pkg_setup() |
5 |
> > ... |
6 |
> |
7 |
> Isn't pkg_setup run too when just building a binary package (-B) (then the |
8 |
> check shouldn't be performed), and just before installing a binary |
9 |
> package? |
10 |
> |
11 |
|
12 |
True, but usually you build whatever on a machine that have capabilities |
13 |
to run it (not talking about cross-compiling). And besides, I think its |
14 |
bad style to build something, and then bail after its done about |
15 |
something that could have been tested at setup time (think glibc testing |
16 |
tls/nptl capabilities only during pkg_preinst ...). |
17 |
|
18 |
|
19 |
-- |
20 |
Martin Schlemmer |