1 |
On Wed, 21 May 2014 23:11:02 -0400, Rich Freeman wrote: |
2 |
|
3 |
> This one is a gem - I forget where I saw it (likely planet, but maybe |
4 |
> it was on a list). Stick it in your crontab. I will warn you that |
5 |
> sometimes it chokes on its own output and obviously it can't build |
6 |
> binpkgs for anything more than one step down the dependency tree. |
7 |
> However, when my weekly chromium build runs at 2AM and I can just |
8 |
> install it (with -k) the next morning it is a nice thing indeed. You |
9 |
> still get full control over USE flags/etc, but most of the convenience |
10 |
> of a binary distro. |
11 |
> |
12 |
> #!/bin/sh |
13 |
> |
14 |
> LIST=$(mktemp); |
15 |
> |
16 |
> emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y |
17 |
> world | awk '{print $2}' > ${LIST}; |
18 |
|
19 |
One slight problem, it ignores slotted packages. I realise this is not a |
20 |
big issue as you are simply trying to get the big packages built in |
21 |
advance, If you drop the --columns and replace the awk call with |
22 |
|
23 |
sed 's/.*\] \(\S*\).*/=\1/' |
24 |
|
25 |
you will get properly versioned atoms. |
26 |
|
27 |
Or you could try --keep-going as suggested by Marc - I've no idea whether |
28 |
that will play nicely with --buildpkgonly. |
29 |
|
30 |
Either way, it's an excellent idea and one for the GMN tips thread. |
31 |
|
32 |
|
33 |
-- |
34 |
Neil Bothwick |
35 |
|
36 |
Top Oxymorons Number 14: Temporary tax increase |