Commit graph

1958 commits

Author SHA1 Message Date
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
Anthony G. Basile b5e4453a0e tools-uclibc: bump unmasked gcc to 4.8.5-r1 2018-01-13 14:30:47 -05:00
Anthony G. Basile 10df0f47c4 tools-uclibc: no need to mask sys-apps/iproute2 on mips32r2 2018-01-13 14:27:28 -05:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 84e4981dfa Move package.use and package.mask files for cloud stages to a releng subdir.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-01-07 03:31:14 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) a35c8cb54b Update profiles to the new 17.0 profiles. Missing x86 hardened as there's no profie available yet.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-01-07 03:31:14 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 4ee90d795d Add caps and filecaps use flags to the admin-cd. Drop sys-fs/nilfs-utils from the admin-cd - bug 591084. Add app-editors/nano to the packages list of the install-cd and the admin-cd so that it isn't
depcleaned - bug 642856.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-01-07 03:31:14 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 5796552684 Drop old (before 2008) uclibc specs that were never used with autobuilds.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-01-07 03:31:14 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 73dfdcaca3 Add portage_prefix to the specs to finally clean-up /etc/portage/package.*/releng - fixes bug 547538.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-01-07 03:31:14 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 31a65fdca6 Move package.use and package.mask files for stages to a releng subdir - prepare for portage_prefix.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-01-07 03:31:14 +00: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) da0eb6ec11 Set USE="-filecaps" for sys-libs/pam to avoid the circular dep between sys-libs/pam and sys-libs/filecaps. Document the caps, filecaps USE mask for iputils.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2017-12-28 15:01:40 -01: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) dff71c4a7a Build xz stages.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2017-12-22 11:06:27 +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 cb879a382e
releases/weekly: shorten ISO labels.
ISO9660 limits label length to 32 characters, this is enforced by
mkisofs.

Catalyst now truncates to 32 characters instead of failing when mkisofs
does, however the label formatting is inconsistent and loses some
information.

New label structure:
  Gentoo ${ARCH} ${WHAT} ${STAMP}
Where 'WHAT' is skipped in some cases.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-15 15:42:27 -08: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 20553cc7ae
Add README.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 13:40:58 -08:00
Robin H. Johnson f77598e421
admincd: hardened-sources is no more, switch to gentoo-sources.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 13:07:45 -08:00
Robin H. Johnson 375233d0d1
weekly: catalyst3 already removes keymaps, so rcdel fails.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-14 12:51:03 -08:00
Anthony G. Basile 69afbb3382 tools-musl: update to reflect new musl profile structure 2017-12-12 22:43:45 -05: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 10953c3a11
weekly: cdtar files moved in newer catalyst.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-06 23:13:04 -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
Brian Dolbec 381936c795
config/{amd64,x86}-auto.conf: Fix target repo name and path
I missed editing them correctly for the old location and directory name.
2017-12-06 14:43:14 -08:00
Robin H. Johnson 9edcf5e311
config: ovh mirror seems offline, add bytemark as preferred with distfiles.g.o fallback.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-06 08:36:42 -08:00
Robin H. Johnson 2f06ca128d
nightheron: fix expansion of avg.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-05 23:50:58 -08:00
Robin H. Johnson f3fa29e78b
nightheron: fix variable name.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-05 20:56:20 -08:00
Robin H. Johnson 93fa0df0a1
nightheron: build faster.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-05 20:16:25 -08:00
Ben Kohler b3de33333a
weekly/portage/isos/package.mask: mask new packages needing -bindist
Newly stabilized dev-python/pyopenssl-17.2.0 and
dev-python/cryptography-2.0.2 depend on openssl[-bindist] which is
breaking our bindist-enabled iso builds[1].  These are used by
mirrorselect on most of our isos.

This new package.mask entry will allow us to stay on the older
still-usable versions until the larger bindist issue is resolved.

[1] https://archives.gentoo.org/gentoo-releng-autobuilds/message/498ea631212b254f8dbdd54be243427b

Closes: https://bugs.gentoo.org/635576
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-05 19:35:37 -08:00
Brian Dolbec f7b53cd2f7
Update configs for catalyst-3
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
2017-12-04 09:57:25 -08:00
Robin H. Johnson 1b4139766c
releases/weekly: drop net-dialup/globespan-adsl
net-dialup/globespan-adsl is obsolete
- does not build with GCC5
- dead upstream for 10+ years
- only for specific very old modems

Closes: https://bugs.gentoo.org/635578
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2017-12-04 08:41:00 -08:00
Matthew Thode c8b60f8a72
arm64 17.0 profile updates and stuff 2017-12-03 22:49:22 -06: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
Matthew Thode 14f5b424e8
stop building cloud stage4 stages
It's only used by diskimage-builder and been diskimage-builder has
not been using cloud stages since at least a year ago.

97c01e48ed/diskimage_builder/elements/gentoo/root.d/10-gentoo-image
2017-11-20 23:52:59 -06:00
Matthew Thode 18edc3611b
update musl stage4s 2017-11-20 23:43:26 -06:00
Matthew Thode bcace5f745
switch all stage4s to gentoo-sources 2017-11-20 23:33:16 -06:00