1 |
Author: agaffney |
2 |
Date: 2008-05-09 16:13:09 +0000 (Fri, 09 May 2008) |
3 |
New Revision: 674 |
4 |
|
5 |
Modified: |
6 |
trunk/ChangeLog |
7 |
trunk/gen_funcs.sh |
8 |
trunk/genkernel |
9 |
trunk/genkernel.conf |
10 |
Log: |
11 |
Move distfile cache to /var/cache/genkernel/src and add check to make sure all distfiles are present |
12 |
|
13 |
Modified: trunk/ChangeLog |
14 |
=================================================================== |
15 |
--- trunk/ChangeLog 2008-05-09 02:50:37 UTC (rev 673) |
16 |
+++ trunk/ChangeLog 2008-05-09 16:13:09 UTC (rev 674) |
17 |
@@ -2,6 +2,11 @@ |
18 |
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 |
19 |
# $Header: $ |
20 |
|
21 |
+ 09 May 2008; Andrew Gaffney <agaffney@g.o> gen_funcs.sh, genkernel, |
22 |
+ genkernel.conf: |
23 |
+ Move distfile cache to /var/cache/genkernel/src and add check to make sure |
24 |
+ all distfiles are present |
25 |
+ |
26 |
09 May 2008; Chris Gianelloni <wolf31o2@g.o> alpha/modules_load, |
27 |
ia64/modules_load, mips/modules_load, parisc/modules_load, |
28 |
parisc64/modules_load, ppc/modules_load, ppc64/modules_load, |
29 |
|
30 |
Modified: trunk/gen_funcs.sh |
31 |
=================================================================== |
32 |
--- trunk/gen_funcs.sh 2008-05-09 02:50:37 UTC (rev 673) |
33 |
+++ trunk/gen_funcs.sh 2008-05-09 16:13:09 UTC (rev 674) |
34 |
@@ -515,3 +515,12 @@ |
35 |
eval ${CfgVar}=\"${Result}\" |
36 |
} |
37 |
|
38 |
+check_distfiles() { |
39 |
+ for i in $BUSYBOX_SRCTAR $DEVICE_MAPPER_SRCTAR $LVM_SRCTAR $DMRAID_SRCTAR $E2FSPROGS_SRCTAR |
40 |
+ do |
41 |
+ if [ ! -f "${i}" ] |
42 |
+ then |
43 |
+ small_die "Could not find source tarball ${i}. Please refetch." |
44 |
+ fi |
45 |
+ done |
46 |
+} |
47 |
|
48 |
Modified: trunk/genkernel |
49 |
=================================================================== |
50 |
--- trunk/genkernel 2008-05-09 02:50:37 UTC (rev 673) |
51 |
+++ trunk/genkernel 2008-05-09 16:13:09 UTC (rev 674) |
52 |
@@ -124,6 +124,8 @@ |
53 |
|
54 |
setup_cache_dir |
55 |
|
56 |
+check_distfiles |
57 |
+ |
58 |
dump_debugcache |
59 |
|
60 |
NORMAL=${BOLD} print_info 1 "Linux Kernel ${BOLD}${KV}${NORMAL} for ${BOLD}${ARCH}${NORMAL}..." |
61 |
|
62 |
Modified: trunk/genkernel.conf |
63 |
=================================================================== |
64 |
--- trunk/genkernel.conf 2008-05-09 02:50:37 UTC (rev 673) |
65 |
+++ trunk/genkernel.conf 2008-05-09 16:13:09 UTC (rev 674) |
66 |
@@ -123,9 +123,9 @@ |
67 |
GK_SHARE="/usr/share/genkernel" |
68 |
|
69 |
# Location of the default cache |
70 |
-CACHE_DIR="/var/cache/genkernel/%%ARCH%%" |
71 |
+CACHE_DIR="/var/cache/genkernel" |
72 |
# Location of DISTDIR, where our source tarballs are stored |
73 |
-DISTDIR="/usr/portage/distfiles" |
74 |
+DISTDIR="${CACHE_DIR}/src" |
75 |
# Log output file |
76 |
LOGFILE="/var/log/genkernel.log" |
77 |
# Debug Level |
78 |
|
79 |
-- |
80 |
gentoo-commits@l.g.o mailing list |