1 |
Hello fellow devs, |
2 |
|
3 |
I've created a script to help me keep my tree/overlays up-to-date, |
4 |
automatically regenerate metadata, update eix, etc. |
5 |
|
6 |
It's not anything too sophisticated, but it works for me, so I thought |
7 |
I'd share it with you guys. |
8 |
|
9 |
An updated version of the script is available at my gentoo devspace: |
10 |
http://dev.gentoo.org/~wired/scripts/update |
11 |
|
12 |
./update -h gives you all available options |
13 |
edit the script to set the defaults to your liking. |
14 |
|
15 |
the script expects the following directory structure: |
16 |
|
17 |
${DATA_DIR}/ |
18 |
main/ |
19 |
gentoo-x86/ |
20 |
gentoo/ (optional) |
21 |
gentoo-news/ (optional) |
22 |
overlays/ |
23 |
{various overlays} |
24 |
overlays_disabled/ |
25 |
{overlays not used} |
26 |
make.conf |
27 |
autogenerated, holds active overlay list |
28 |
imported in /etc/make.conf |
29 |
${SCRIPT_OUTPUT} |
30 |
if called with -c, all output goes here |
31 |
|
32 |
the make.conf is sourced in /etc/make.conf and is generated each time |
33 |
the overlays/ folder gets updated. |
34 |
|
35 |
the script is constantly improved and I keep the online version |
36 |
up-to-date. there are some options that diff/fetch the latest version |
37 |
for you automatically. |
38 |
|
39 |
I'll probably add a --sync option soon to make it useful on |
40 |
systems without a CVS checkout. |
41 |
|
42 |
hopefully some of you will find it useful. |
43 |
|
44 |
patches and feedback always welcome :) |
45 |
-- |
46 |
Alex Alexander :: wired |
47 |
Gentoo Developer |
48 |
www.linuxized.com |