1 |
commit: 0b5c7cac9be2e6cca05d00a35f81e717bbed38b7 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 6 11:24:03 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 6 11:24:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=0b5c7cac |
7 |
|
8 |
auto-bootstraps: copy etc/portage/make.conf as build result |
9 |
|
10 |
make.conf might show some build configuration |
11 |
|
12 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
13 |
|
14 |
scripts/auto-bootstraps/dobootstrap | 1 + |
15 |
scripts/auto-bootstraps/process_uploads.sh | 2 ++ |
16 |
2 files changed, 3 insertions(+) |
17 |
|
18 |
diff --git a/scripts/auto-bootstraps/dobootstrap b/scripts/auto-bootstraps/dobootstrap |
19 |
index 1d2cfa6296..12b25b4caa 100755 |
20 |
--- a/scripts/auto-bootstraps/dobootstrap |
21 |
+++ b/scripts/auto-bootstraps/dobootstrap |
22 |
@@ -143,6 +143,7 @@ do_prepare() { |
23 |
usr/portage/distfiles \ |
24 |
var/tmp/portage \ |
25 |
var/log/emerge.log \ |
26 |
+ etc/portage/make.conf \ |
27 |
${UPLOAD}/${HOSTNAME}-$$/${chost}/${dte}/ |
28 |
rsync -q /dev/null ${UPLOAD}/${HOSTNAME}-$$/${chost}/${dte}/push-complete/ |
29 |
fi |
30 |
|
31 |
diff --git a/scripts/auto-bootstraps/process_uploads.sh b/scripts/auto-bootstraps/process_uploads.sh |
32 |
index 402f9e4ae6..ca39789510 100755 |
33 |
--- a/scripts/auto-bootstraps/process_uploads.sh |
34 |
+++ b/scripts/auto-bootstraps/process_uploads.sh |
35 |
@@ -36,6 +36,7 @@ for d in ${UPLOADDIR}/* ; do |
36 |
emerge.log \ |
37 |
startprefix \ |
38 |
elapsedtime \ |
39 |
+ make.conf \ |
40 |
distfiles ; |
41 |
do |
42 |
[[ -e "${d}/${dir}/${f}" ]] && \ |
43 |
@@ -43,6 +44,7 @@ for d in ${UPLOADDIR}/* ; do |
44 |
done |
45 |
if [[ -e "${d}/${dir}/portage" ]] ; then |
46 |
for pkg in "${d}/${dir}/portage"/*/* ; do |
47 |
+ [[ -e ${pkg} ]] || continue |
48 |
w=${pkg#${d}/} |
49 |
mkdir -p "${RESULTSDIR}/${w}" |
50 |
[[ -e "${pkg}"/build-info ]] && \ |