Commit graph

1489 commits

Author SHA1 Message Date
Robin H. Johnson 69b94063ec
emerge must use repos.conf now, instead of PORTDIR.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-05-27 13:55:55 -07:00
Robin H. Johnson 380990612e
catalyst-auto: datestamp tmpdir for ease of debug.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-05-27 13:43:08 -07:00
Robin H. Johnson fbd9bd975a
Add envscript for more infra boxes.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-05-27 11:47:18 -07:00
Mike Frysinger bc049160cb stage_build.sh: punt unused script
No one seems to use it or ask about it, so punt it until someone notices.
2016-05-23 22:27:18 -04:00
Mike Frysinger 948570e7a4 drop duplicate default e-mail values
The catalyst-auto defaults already align with these.
2016-05-23 22:05:09 -04:00
Mike Frysinger d97b2662fa catalyst-auto: use local in a few more places 2016-05-23 22:02:22 -04:00
Mike Frysinger b86673c791 catalyst-auto: convert echo -e to printf
Makes the code a bit more robust.
2016-05-23 22:00:31 -04:00
Mike Frysinger 5d4de9e446 hppa: netboot: enable USE=unicode
This is better for international users, and it fixes a build error with
procps/ncurses deps.
2016-05-21 23:36:55 -04:00
Mike Frysinger d4e6ae0019 convert GITDIR over to REPO_DIR
The variables were representing the same thing, so merge them.
2016-05-19 22:17:41 -04:00
Mike Frysinger 170331ecea catalyst-auto: automatically calculate REPO_DIR
Rather than hardcode it to a path that works on only a few systems,
switch it to the dynamic calculation like we use for GITDIR.
2016-05-19 22:16:14 -04:00
Mike Frysinger 1294da6932 catalyst-auto: try to fix syntax error in previous commits 2016-05-07 16:04:33 -04:00
Robin H. Johnson 060a341e10
copy_buildsync: squelch errors.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-05-06 11:31:55 -07:00
Robin H. Johnson 56e7e887ec
catalyst-auto: fix whitespace.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-05-06 11:30:25 -07:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) bac6e3a2d7 Move the code to update symlinks to a separate function, call it from pre_build and after each set build.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-05-05 10:07:20 +00:00
Robin H. Johnson a77a4ebce5
catalyst-auto: Record how long the catalyst runs take.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-04-29 11:20:28 -07:00
Robin H. Johnson fadbc54d95
tools: Add a config that filters to stage4 only.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-04-27 14:34:07 -07:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 407605789e Change copy logic.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-04-27 01:58:51 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 776fbc4733 Whitespace.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-04-27 01:58:41 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 11c84ac57d Whitespace. Stop hardcoding the bz2 extension and sync updates to the scripts to the experimental scripts.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-04-26 22:35:19 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 67beeebbdf Stop using hardcoded paths for the releng repo.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-04-26 22:27:56 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) f5d7bfff3a Whitespace.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-04-26 21:46:07 +00:00
Robin H. Johnson dda6889241
tools: stage4-only config that loads base amd64 config to avoid duplication
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-04-26 14:10:03 -07:00
Anthony G. Basile b09f67a96e tools-uclibc: have busybox use a savedconfig, bug #567598 2016-04-25 21:04:41 -04:00
Robin H. Johnson 0951c7c619
cloud stages: use latest cloud-init due to upstream bug https://bugs.launchpad.net/cloud-init/+bug/1559543.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-04-25 16:27:44 -07:00
Robin H. Johnson 430eda0a51
cloud-prep: make grub accessible on serial console, just like the kernel.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-04-25 16:27:44 -07:00
Robin H. Johnson 9eadf3d5bc
cloud-prep: ensure migrate-pax is executable.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-04-25 16:27:43 -07:00
Anthony G. Basile 92238d985e tools-uclibc: configure busybox without CONFIG_SYNC, bug #567598 2016-04-25 17:42:03 -04:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) f46f4bd5b6 Change portage confdir location. 2016-04-21 02:12:11 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) be29e670c4 Merge admincd / installcd portage configuration.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-04-21 02:00:11 +00:00
Matthew Thode 0c58846172
add ipv6 nameserver to cloud-prep script 2016-04-13 19:34:22 -05:00
Anthony G. Basile c17f3c673a tools-musl: remove p.mask for util-linux for mips 2016-04-12 19:18:45 -04:00
Mike Frysinger c28038b0dc admincd: sync settings w/installcd
Also drop some old package.keywords settings as those are now stable.
2016-04-07 17:42:14 -04:00
Mike Frysinger 31a2723776 installcd: pull in a newer genkernel version
Some builds are failing due to missing System.map files in the
kernel cache.  Pull in a newer genkernel that should fix that.
2016-04-04 11:53:41 -04:00
Mike Frysinger dfb0a2b0ae ia64 weekly: set portage_confdir for installcds 2016-04-04 11:52:44 -04:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 46922c4f00 Add python use flag to sys-libs/{n}tdb and sys-libs/tevent to the installcd portage confdir.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-04-03 14:06:18 +00:00
Mike Frysinger 08a69c4392 catalyst-auto: move default email settings to main script 2016-03-27 01:31:30 -04:00
Mike Frysinger bc16472a15 catalyst-auto: allow configs to set BUILD_SRCDIR_BASE
At least the amd64/x86 ones do this via ../config/build.env files.
2016-03-24 01:25:28 -04:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 1652029114 Don't hardcode format for source_subpath.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-03-24 04:25:35 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 32af29f06e Whitespace.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-03-24 03:30:32 +00:00
Mike Frysinger 51b8860d23 catalyst-auto: add an option to hold a lock while running
This makes it easy to put into a cronjob and not worry about a copy
already/still running.
2016-03-23 14:20:52 -04:00
Mike Frysinger fdc39e249c catalyst-auto: minor word smithing 2016-03-22 12:46:36 -04:00
Mike Frysinger f34a62d0ab catalyst-auto: add a time delay option
We usually run catalyst on systems via cronjob, and do so at weekly
(or so) intervals.  But if a failure hits a run, it will be a while
before we know if changes fixed the situation.  Instead, let's push
the delay logic into the script itself so we can run this tool once
a day.  When it passes, it will take care of quitting early.  When
it fails, it will retry once a day until it passes.
2016-03-21 01:34:12 -04:00
Mike Frysinger 880a1aa775 catalyst-auto: add a preclean option to trim temp files
This makes it easier to cronjob things w/out needing manual cleanup
from time to time by people.
2016-03-21 01:27:34 -04:00
Mike Frysinger a85f4327c6 catalyst-auto: unify catalyst.conf parsing 2016-03-21 01:21:05 -04:00
Mike Frysinger 2736e468eb copy_buildsync.sh: handle netboot artifacts
Make sure we process netboot kernels as releases too.
2016-03-20 19:51:56 -04:00
Mike Frysinger 62f25f4995 copy_buildsync.sh: fix extension handling
The change to use a list of file extensions w/find doesn't actually work:
the [] operators sets up a group of chars to match, and it isn't split by
the comma char.  It's equiv to doing "*[,.2abfgrstxz]".
2016-03-20 19:37:44 -04:00
Mike Frysinger ffa42e7a10 copy_buildsync.sh: simplify the latest-iso symlink checks 2016-03-20 18:29:45 -04:00
Mike Frysinger 7c16ed27d6 copy_buildsync.sh: simplify the latest-stage3 symlink checks
The current code is a bit overwrought when it's a simple string compare.
2016-03-20 18:12:57 -04:00
Mike Frysinger 867545ebd8 copy_buildsync.sh: simplify find clean up
Use find options to process everything rather than running through
grep/sort/tr/xargs.
2016-03-20 17:55:08 -04:00
Mike Frysinger 6325704c08 copy_buildsync.sh: convert input copying logic to a func
Minor clean up ... should not be any real functional changes.
2016-03-20 17:44:59 -04:00