Ben Kohler
8d05f7d508
catalyst-auto-sparc64.conf: missed some ) in case statement
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-08 11:34:13 -06:00
Ben Kohler
a831d3f149
catalyst-auto-sparc64.conf: redo post_build modeled after ppc
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-08 11:02:26 -06:00
Ben Kohler
3eb7bc30bc
catalyst-auto-sparc64.conf: only rsync in final post_build call
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-06 14:38:13 -06:00
Matt Turner
bcc0a963dc
catalyst-auto-ppc64le.conf: Remove ppc64le subdir
...
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-01-05 15:45:05 -08:00
Matt Turner
12f78e9aa3
catalyst-auto-ppc64le.conf: Move from catalyst-auto-ppc64.conf
...
catalyst-auto-ppc64.conf is no longer used since ppc and ppc64 builds
are done from catalyst-auto-ppc.conf. Repurpose (and rename) this file
to be used by ppc64le.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-01-05 15:01:48 -08:00
Tobias Klausmann
9508b899ce
Assorted fixes and changes for Alpha
...
- Update kconfig for alpha, now including virtio for block/scsi and
networking, and make all qla drivers modules.
- Add linux-firmware to installer CD.
- Rearrange some variables in tools/catalyst-auto-alpha.conf
- Remove cifs-utils (huge Samba 4 dep)
- Add btrfs-progs
- Remove "static" USE flag, since it causes a USE dep conflict in pam.
Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-01-05 11:51:59 -08:00
Ben Kohler
52488db7c0
catalyst-auto-sparc64.conf: email to me for now
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-04 16:50:59 -06:00
Ben Kohler
e3ce4e5a48
catalyst-auto-sparc64.conf: path fixups
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-04 16:49:43 -06:00
Ben Kohler
5ed8b0c8b0
catalyst-auto-sparc64.conf: disable multilib in one more place
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-04 10:46:35 -06:00
Ben Kohler
fecc010220
catalyst-auto-sparc64.conf: fix ARCH
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-04 10:43:58 -06:00
Ben Kohler
d12a8d02cc
catalyst-auto-sparc64.conf: start sourcing build.env
...
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-04 10:33:17 -06:00
Ben Kohler
fdedd793b6
catalyst-auto-sparc64.conf: stop hardcoding .tar.bz2, no multilib build
...
As has been done in other arches' specs, allow a list of different
stage3 tarball extensions. Also disable building of multilib stages.
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-03 08:30:24 -06:00
Matt Turner
958fe2facf
catalyst-auto: Skip alpha stage2 builds
2018-09-17 12:21:14 -07:00
Matt Turner
c53e24b4b0
catalyst-auto: Fix more s/ppc/ppc32/
2018-09-16 20:26:34 -07:00
Matt Turner
53d7357744
catalyst-auto: Build ppc install CD from 32-bit specs
2018-09-16 08:47:10 -07:00
Matt Turner
f2398d0b73
catalyst-auto: Build ppc and ppc64 stages from catalyst-auto-ppc.conf
2018-09-16 08:23:26 -07:00
Matt Turner
5c7cf135fe
catalyst-auto: Build ppc64 stages from stage{1,3}.spec
...
Spec files were renamed in commit cf41003f5c
("specs/ppc: Remove
"64ul" from stage names")
2018-09-16 08:11:20 -07:00
Matt Turner
3ee52a24b5
catalyst-auto: Use xz instead of bz2 for powerpc builds
2018-09-16 08:09:38 -07:00
Matt Turner
a42ad6e640
catalyst-auto: Build only 64-bit userland on ppc64 and remove '64ul'
2018-09-16 08:08:56 -07:00
Matt Turner
726e5fb33d
catalyst-auto: Save powerpc builds in separate directories
...
Otherwise we write the last_success_file when the first build succeeds
and prevent the second from executing. Both of these sets of builds
should probably be executed from the same catalyst-auto file...
2018-09-16 08:07:10 -07:00
Matt Turner
630f0be613
catalyst-auto: Skip powerpc stage2 builds
2018-09-15 22:47:11 -07:00
Matt Turner
9b75c9336d
catalyst-auto: Switch powerpc livecds from ppc64-32ul to ppc
2018-09-15 22:47:11 -07:00
Matt Turner
caa080159a
catalyst-auto: Don't build ppc64-32ul stages
...
ppc64-32ul provides nothing that standard 32-bit ppc does not, as far as
I can tell.
2018-09-15 22:47:11 -07:00
Matt Turner
d0afafa019
catalyst-auto/hppa: Skip stage2
2018-09-14 11:24:44 -07:00
Matthew Thode
b7ec6e6805
remove systemd cruft
2018-03-02 10:19:08 -06:00
Matthew Thode
71795cbe91
Revert "enable systemd stage generation"
...
This reverts commit 60d2a138de
.
using blueness's run-systemd stuff
2018-03-02 09:04:04 -06:00
Matthew Thode
dda62ba027
Revert "add systemd to sets"
...
This reverts commit f249d95649
.
using blueness's run-systemd stuff
2018-03-02 09:03:25 -06:00
Matthew Thode
f249d95649
add systemd to sets
2018-03-02 06:36:07 -06:00
Matthew Thode
60d2a138de
enable systemd stage generation
2018-03-02 06:32:59 -06:00
Matthew Thode
57a5bfeb2a
Revert "move stage4 build integration stages into a subdir"
...
This reverts commit 11ccab53f8
.
2018-02-04 18:21:25 -06:00
Matthew Thode
11ccab53f8
move stage4 build integration stages into a subdir
2018-02-04 17:06:42 -06:00
Mike Frysinger
c63938c5e0
catalyst-auto: run git merge in quiet mode
2018-01-16 11:24:43 -05:00
Mike Frysinger
40ed3e84d7
catalyst-auto: update arch configs after timestamp changes
...
Commit ed258c751b
(change
datestamp->timestamp) broke a lot of builders. The symlinks
and upload logic were all based on the datestamp. Update it
to use the new timestamp format.
2018-01-16 02:01:19 -05:00
Mike Frysinger
bbca329576
catalyst-auto: log the command in the log file itself
...
This should make it clear in each log file what is being run, especially
when a phase is run more than once (like post_build).
2018-01-15 22:42:07 -05:00
Mike Frysinger
f98bc791e6
catalyst-auto: pass current targets down to post_build
...
Commit b7e493b4e4
(run trigger_post_build
after every successful spec) broke a lot of builders. The configs were
written to be called only after everything was done, but by calling it
after the first build (stage1 only), all the other artifacts we expected
did not yet exist.
Change post_build to pass the current set & spec name down so the config
can figure out what is available at that point in time.
2018-01-15 20:52:14 -05:00
Mike Frysinger
cb652173f6
catalyst-auto: move remaining configs from pre_build to update_symlinks
...
All the configs running symlink updates in pre_build can do it in the
update_symlinks callback instead. Convert them over.
2018-01-15 20:44:31 -05:00
Mike Frysinger
8f6370f8b3
catalyst-auto: run update_symlinks by default in pre_build
...
All configs defining update_symlinks run it in pre_build, and all the
other configs will want to do the same. So make it the default in the
pre_build phase.
2018-01-15 20:42:19 -05:00
Mike Frysinger
a8e70e1976
catalyst-auto: move git update into main script
...
All of our config files are doing this already, so move it into the
common code.
2018-01-15 20:17:43 -05:00
Mike Frysinger
04b56eaab3
catalyst-auto: move container logic into a func too
...
This lets us put it after command line parsing.
2018-01-15 20:13:59 -05:00
Mike Frysinger
b291ea4754
catalyst-auto: move all code into functions
...
Mixing inline funcs and executable code makes it hard to follow and
shuffle ordering of operations. Put everything other than variables
into functions.
The delta here is large, but it's almost entirely indentation changes.
This also makes updating the script (like `git pull`) more resilient.
2018-01-15 20:11:44 -05:00
Robin H. Johnson
5d73c6b04a
catalyst-auto: add intermediate verbose, that prints the command, but not the output; -vv has old behavior
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-28 21:32:10 -08:00
Robin H. Johnson
731b5886ad
tools: fix typo of DEST_HARDEND
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-28 11:01:26 -08:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
93bc214182
Sync amd64 and x86 base and experimental scripts. Add a few missing popd calls to base scripts.
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2017-12-27 01:54:39 -01:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
0c3d971bfb
Fix typo.
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2017-12-22 11:29:30 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
495425ec6a
Drop old set definition.
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2017-12-22 11:22:26 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto)
3190fadba2
Use 2 vars for destinations (one for default and another for hardened).
...
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2017-12-22 11:02:44 +00:00
Robin H. Johnson
af9a181c70
catalyst-auto: fix title.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-15 10:40:07 -08:00
Robin H. Johnson
0292a7e2b5
tools/catalyst-auto-{x86,amd64}: refactor post_build for remote buildhost.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 21:48:20 -08:00
Robin H. Johnson
bcdd88a2d4
tools/catalyst-auto-sparc64: start common post_build refactor
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 21:39:40 -08:00
Robin H. Johnson
d9f56a2c95
tools/catalyst-auto-amd64: stage4 builds should be optional.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 21:28:22 -08:00
Robin H. Johnson
85bac3a8a2
catalyst-auto: only purge tmpdir+autoresume, not pkgdir.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 19:45:09 -08:00
Robin H. Johnson
b7e493b4e4
catalyst-auto: run trigger_post_build after every successful spec, to export results sooner.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 19:44:41 -08:00
Robin H. Johnson
561af1245f
catalyst-auto/run_cmd: append logs instead of overwrite
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 19:44:07 -08:00
Robin H. Johnson
a5c5c7faad
catalyst-auto-amd64: verbosely update_symlinks.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 19:39:33 -08:00
Robin H. Johnson
c19080d5f4
catalyst-auto: tweak timestamp.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-08 00:04:40 -08:00
Robin H. Johnson
ed258c751b
tools/catalyst-auto: change datestamp->timestamp
...
Prepare for doing multiple automated runs in a single day on
newer/faster build systems.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-07 23:40:38 -08:00
Robin H. Johnson
44b56bd2f8
catalyst: do not use --purge so we can hit binpkgcache.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-06 23:01:35 -08:00
Robin H. Johnson
ad4692b02f
Drop more stage4-cloud.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-03 13:23:35 -08:00
Matthew Thode
c65a620930
remove stage4 cloud stages from tools/catalyst-auto-amd64.conf
2017-12-03 15:20:03 -06:00
Matthew Thode
1ce3bc7326
arm64 stage building
...
this is steev's work
2017-12-01 16:53:39 -06:00
Mike Frysinger
16e8a9fdc4
catalyst-auto: scope ppc upload names
...
Shouldn't impact current builds, but avoids double uploads when we run
ppc & ppc64 builds on the same system.
2017-03-22 22:16:22 -04:00
Mike Frysinger
1de39bb16d
catalyst-auto: use full system hostname by default
2017-03-22 22:14:42 -04:00
Mike Frysinger
9444f99d3d
update armin keys to same root path as others
2017-03-22 22:12:54 -04:00
Mike Frysinger
e98ae4f69e
catalyst-auto: add missing local body
in send_email
2016-12-21 20:20:03 -05:00
Mike Frysinger
ef83c934a8
catalyst-auto: fix return value passing with run_cmd helper
2016-12-21 20:20:03 -05:00
Mike Frysinger
e8186ef489
catalyst-auto: rework run_cmd pass through
...
Make the logfile the first arg so the rest of the args are the command
to actually run. This allows us to properly quote arguments.
2016-12-21 20:20:03 -05:00
Mike Frysinger
12b23fa07e
catalyst-auto: fix quoting in a number of places
2016-12-21 20:20:03 -05:00
Mike Frysinger
6fd55163c0
catalyst-auto: reject unknown command line arguments
2016-12-21 20:20:03 -05:00
Mike Frysinger
d56243723a
catalyst-auto: drop unused variables
2016-12-21 20:20:02 -05:00
Robin H. Johnson
e243f99edf
catalyst-auto: squelch all pushd/popd
...
Have some sed magic, including a negative match.
git grep -l -e pushd -e popd \
| xargs sed -i -r \
-e '/(pushd|popd)/{ /null/! { s,$, >/dev/null,g } }'
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-06-14 18:31:06 -07:00
Robin H. Johnson
3a6d81ff2e
catalyst-auto: do not fail if /usr/bin/time is not present.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-05-30 09:13:32 -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
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
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
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
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)
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
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)
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
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
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