1 |
On Mon, 26 Jan 2009 08:41:52 -0800 |
2 |
Grant <emailgrant@×××××.com> wrote: |
3 |
|
4 |
> What do you guys think of this? Do you know of a good cruft removal script? |
5 |
|
6 |
Yep, there's quite good one in gentoo itself. |
7 |
|
8 |
Basically, you'll need to write a short config for it, consisting of |
9 |
lines like "cruft name", "cruft src uri" and a few more lines if you'll |
10 |
need to pass some extra parameters to configure/make/install. |
11 |
It'll build the package in a sandbox, then transfer it to destination, |
12 |
memorizing every change it did and preventing collisions and config |
13 |
overwrites. |
14 |
|
15 |
Just put that config script into an ebuild file and use portage to |
16 |
build it - as simple as it gets ;) |
17 |
|
18 |
-- |
19 |
Mike Kazantsev // fraggod.net |