Commit graph

1852 commits

Author SHA1 Message Date
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
Mike Frysinger 2c172ab248 copy_buildsync.sh: add command line options for verbose/debug mode
This makes it easier to do some debugging on the fly w/out having to
edit the script directly.
2016-03-20 17:18:25 -04:00
Mike Frysinger a1b63fb90e copy_buildsync.sh: convert code to use funcs
This makes the code a bit easier to follow and break up.
2016-03-20 17:10:47 -04:00
Mike Frysinger d14007c774 copy_buildsync.sh: convert code to use arrays
This makes it a bit cleaner to work with arguments.
2016-03-20 16:46:11 -04:00
Mike Frysinger bebf046c7c punt ChangeLog files
We have git logs now to track relevant details.
2016-03-20 16:19:35 -04:00
Mike Frysinger 6a2361a8ea make portage_confdir location dynamic
Don't hardcode /root/ or /release/ paths to the releng git checkout.
Use the active git repo as the base path instead.
2016-03-20 16:14:42 -04:00
Mike Frysinger 0f867a3dfd catalyst-auto: use automatic GITDIR for ppc/ppc64/sparc64 2016-03-20 16:08:57 -04:00
Matthew Thode d912294c9a
remove unneeded keywords file 2016-03-20 01:44:09 -05:00
Mike Frysinger 8b1a770842 catalyst-auto: use automatic GITDIR for hppa/ia64 2016-03-16 17:28:16 -04:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 39a3b94b39 Forgot to disable the systemd stage building.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-03-13 22:46:14 -01:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 13528ad4e1 Add alternative systemd stages.
I'm going to use this in my build server. The official stages are being built by Anthony.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-03-13 22:43:20 -01:00
Anthony G. Basile cbfccd2c98 tool-systemd: use consistent naming of script 2016-03-11 07:21:24 -05:00
Anthony G. Basile 4c530b61f9 tools-systemd: add common.sh 2016-03-09 06:48:52 -05:00
Anthony G. Basile 151b14d68f tools-systemd: do parallel runs of amd64 and i686 2016-03-09 05:02:33 -05:00
Anthony G. Basile 8d7e8ae3a3 tools-systemd: isolate systemd scripts to their own directory 2016-03-09 05:00:05 -05:00
Anthony G. Basile ed422ec6fb tools-hardened: fix stage names in template 2016-03-03 21:38:42 -05:00
Anthony G. Basile e9208fa931 tools-hardened: add test scripts for systemd stages 2016-03-02 15:51:20 -05:00
Robin H. Johnson ea24197c96
Make releng use a private distfile dir, and not share with infra, neither of them are in /usr/portage/distfiles now.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-01-25 23:44:20 -08:00
Robin H. Johnson 9b18c9796e
tools/catalyst-auto: Allow multiple config files, for host-specific overrides.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-01-25 23:17:34 -08:00
Matthew Thode b3244cc22d
fixing typo in cloud-prep.sh script 2016-01-26 00:43:53 -06:00
Matthew Thode 06359b3c67
fix typo in catalyst config 2016-01-25 23:49:19 -06:00
Matthew Thode 10f830e663
switch to isc dhcp 2016-01-25 23:40:57 -06:00
Matthew Thode c46707dcb8
we are still using the cloud portage confdir 2016-01-25 23:27:09 -06:00
Matthew Thode 0620565ba2
growpart doesn't need parted, neat 2016-01-25 22:19:27 -06:00
Matthew Thode 56eaf4245f
enabling new minimal stage4 specs 2016-01-25 18:44:12 -06:00
Matthew Thode 1fe49e110b
make cloud-prep.sh more robust 2016-01-25 18:40:28 -06:00
Matthew Thode ae28559033
new minimal stages, only what you need 2016-01-25 18:37:49 -06:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) b748d08022 Use tar.xz as source for selinux stages as that's what I've pushed to the server.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-01-25 03:06:45 -01:00
Matthew Thode 18a00bdd76
remove portage cache from /var/cache 2016-01-22 10:58:23 -06:00
Matthew Thode d92473d5e8
add xattr flag to cloud specs so they work on xattr kernels 2016-01-22 02:19:43 -06:00
Matthew Thode cf5d45a5f9
try to migrate to xattr pax markings for our stage4 2016-01-22 01:53:00 -06:00
Robin H. Johnson dddadbeffd
Gentoo infra boxes now have distfiles outside /usr/portage.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-01-20 21:07:50 -08:00
Matthew Thode aa5b713558
unmerge hardened-sources not gentoo-sources for hardened specs 2016-01-14 15:23:58 -06:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 8b3a920084 Merge branch 'master' of git+ssh://git.gentoo.org/proj/releng 2016-01-13 21:14:03 -01:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 656ca16378 Enable selinux stages.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2016-01-13 21:12:39 -01:00
Matthew Thode c822bfa3fb
updating prep to make use of fs labels 2016-01-12 20:51:12 -06:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 8256f91062 Merge branch 'master' of git+ssh://git.gentoo.org/proj/releng 2016-01-12 08:33:42 -01:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 2323545360 Revert "net-proxy/ntlmaps was package masked and last-rited."
This reverts commit 05831f429e.
2016-01-12 08:33:35 -01:00