22893 Commits

Author SHA1 Message Date
David Michael
c5833d983a app-emulation/docker: Preserve existing CGO_*FLAGS
This correctly defines the RPATH for arm64 binaries for torcx.
2017-09-13 12:30:23 -07:00
David Michael
7a059e13ba Merge pull request #2761 from dm0-/rust
Support building Rust packages in the SDK
2017-09-12 15:54:09 -07:00
Alex Crawford
1c68c9c7b0 Merge pull request #578 from crawford/rust
bump(dev-lang/rust): sync with upstream
2017-09-12 15:53:19 -07:00
David Michael
38c8e5267b chore(metadata): Regenerate cache 2017-09-12 13:41:39 -07:00
David Michael
c6edbb3cc5 coreos-devel/sdk-depends: Add cargo to the SDK 2017-09-12 13:35:18 -07:00
Stephen Demos
ccb6b23196 dev-libs/rustlib: Add package for cross-compiled rust libraries
This builds the std crate and its dependencies so they can be
installed into a sysroot.
2017-09-12 13:34:31 -07:00
David Michael
70da76fbde eclass/coreos-cargo: Add eclass for cross-compiling with cargo
This should be a drop-in replacement for cargo.eclass.
2017-09-12 13:34:31 -07:00
David Michael
a0ff1d9102 profiles: Accept unstable rust and cargo ebuilds
There currently are no stable versions, so just use the latest.
2017-09-12 13:34:31 -07:00
David Michael
0ecf9e85d7 profiles: Accept building packages that forbid mirroring
When a package has RESTRICT="mirror", the emirrordist command still
skips it regardless of whether portage allows building it or not.
2017-09-12 13:34:31 -07:00
David Michael
02517f007d Merge pull request #2763 from dm0-/docker
app-emulation/docker: Set GOARCH for this build system
2017-09-12 12:33:32 -07:00
David Michael
5d78dbd8c7 app-emulation/docker: Set GOARCH for this build system
This fixes cross-compilation.
2017-09-12 12:18:47 -07:00
Benjamin Gilbert
b541c56f0f Merge pull request #2762 from bgilbert/kpartx
Revert "coreos-devel/sdk-depends: add multipath-tools"
2017-09-11 19:14:03 -07:00
Benjamin Gilbert
ce37d79756 Revert "coreos-devel/sdk-depends: add multipath-tools"
kola mkimage no longer requires kpartx.

This reverts commit 542a8ca0d7f5ef820ce9cf1eee2a784de6da79b0, modulo
version bumps.
2017-09-11 19:09:54 -07:00
David Michael
f06143589b Merge pull request #2760 from dgonyeo/locksmith
app-admin/locksmith: v0.5.0 -> v0.6.0
2017-09-11 17:02:34 -07:00
David Michael
c38bdb987c Merge pull request #2759 from dgonyeo/ignition
sys-apps/ignition: v0.17.2 -> v0.18.0
2017-09-11 17:02:13 -07:00
Derek Gonyeo
7ec909b333 app-admin/locksmith: v0.5.0 -> v0.6.0 2017-09-11 16:59:22 -07:00
David Michael
8fde256e45 build_library: Add torcx source packages to the package list
This includes the source package of all torcx packages that are
installed on disk, including cases where multiple versions of the
same package are available.
2017-09-11 15:32:11 -07:00
Benjamin Gilbert
9e2bde5599 Merge pull request #2757 from coreosbot/master-4.13.1
Upgrade Linux in master to 4.13.1
2017-09-11 15:26:57 -07:00
Derek Gonyeo
bb3028c117 sys-apps/ignition: v0.17.2 -> v0.18.0 2017-09-11 15:15:16 -07:00
David Michael
1c8039c800 Merge pull request #2758 from dgonyeo/coreos-metadata
coreos-base/coreos-metadata: 0.12.0 -> 0.13.0
2017-09-11 14:09:54 -07:00
Derek Gonyeo
d1c54a1187 coreos-base/coreos-metadata: 0.12.0 -> 0.13.0 2017-09-11 14:03:15 -07:00
Jenkins OS
93eb69cd4b sys-kernel/coreos-sources: bump to 4.13.1 2017-09-11 17:40:27 +00:00
Benjamin Gilbert
d27d98c462 Merge pull request #2753 from bgilbert/oracle
coreos-base/oem-oracle-oci: add link-local iptables rules
2017-09-09 12:24:50 -07:00
Alex Crawford
4e60b83b58 bump(dev-libs/libuv): sync with upstream 2017-09-09 10:37:10 -07:00
Alex Crawford
e80fcef8a5 bump(dev-util/cmake): sync with upstream 2017-09-09 10:37:10 -07:00
Alex Crawford
1c7339fb7f bump(app-eselect/eselect-rust): sync with upstream 2017-09-09 10:37:10 -07:00
Alex Crawford
b79aa30f4c bump(dev-util/cargo): sync with upstream 2017-09-09 10:37:10 -07:00
Alex Crawford
0823ca4633 bump(dev-lang/rust): sync with upstream 2017-09-09 10:37:10 -07:00
Benjamin Gilbert
e9936d4b86 coreos-base/oem-oracle-oci: add link-local iptables rules
Prevent non-root users from accessing certain link-local services per
Oracle recommendation. Also apply filters to IP-forwarded virtual
interfaces.
2017-09-09 01:55:58 -07:00
Euan Kemp
cab9dc7285 Merge pull request #2752 from euank/ca-unsync
coreos-devel/sdk-depends: remove casync
2017-09-08 17:35:56 -07:00
Euan Kemp
cdea0df9c3 coreos-devel/sdk-depends: remove casync
It was going to be used in torcx manifest generation, but that
dependency has been removed for now.

I'm optimistically leaving the ebuild in.

Removing it from sdk-depends should speed up sdk bootstrap at least.
2017-09-08 17:31:19 -07:00
Euan Kemp
83a16990d1 Merge pull request #737 from euank/torcx-cas
rework torcx uploading to include a manifest
2017-09-08 17:09:54 -07:00
Euan Kemp
677b5ae116 build_torcx_store: back-out reproducible digests
Per the comment there, they were implemented in a broken fashion.

This leaves the door open for using them in the future, but in the
meanwhile simply uses the sha512sum as the digest (which solves the
immediate issue).
2017-09-08 16:59:54 -07:00
Euan Kemp
ee54181503 build_torcx_store: upload manifests to upload_root
Rather than to a location special to them.
The comment in the code explains the reasoning for this.
2017-09-08 16:59:54 -07:00
Euan Kemp
f496072a10 jenkins/images: use torcx packages from manifest
This accompanies the other changes around moving to a torcx manifest.
2017-09-08 16:59:54 -07:00
Euan Kemp
cc23e8e49e jenkins/packages: configure download root
Pending jenkins also including this variable.
2017-09-08 16:59:54 -07:00
Euan Kemp
1989ff96d8 build_torcx_store: upload to 'pkgs'
This is consistent with the local directory hierarchy
2017-09-08 16:59:51 -07:00
Euan Kemp
d3867403ed build_image: populate torcx store from manifest
This moves the default symlinking logic into build image as well.

This assumes that a torcx store is available locally with all images
referenced in the torcx manifest.

This is accomplished with a highly-indented double-for-loop, but I think
it's still decently readable.
2017-09-08 16:58:51 -07:00
Euan Kemp
31d7b40af3 build_library: add more torcx_manifest helpers
These are useful for the build_image_util code soon to come.
2017-09-08 16:58:51 -07:00
Euan Kemp
c196be8798 build_torcx_store: add package 'url' location
This also moves the 'torcx' prefixing logic over to the torcx upload
root introduced in the release util library.

It also corrects a bug in how the source package was being determined.
2017-09-08 16:58:38 -07:00
Euan Kemp
8f712b2af1 build_library: add torcx upload/download roots
Torcx is special in that it wishes to be uploaded under a prefixed
directory (torcx), typically wishes to be downloaded from there, but
ultimately wants to be downloaded from a location without that prefix.

In fact, I expect during a normal release process, it will be uploaded
with that prefix to the build bucket, copied without that prefix to the
final bucket (during pre-release), and then finally downloaded without
the prefix.

I think this set of variables ends up being the cleanest way to
represent this complexity.
2017-09-08 16:42:47 -07:00
Euan Kemp
fcef524c3a build_torcx_store: generate a torcx_manifest
This modifies the `build_torcx_store` script to produce a manifest and
cas-like structure of packages referenced by that manifest.

It also removes the symlink creation logic (which will be re-added in
build_image in coming commits).

The concept of "extra packages", which are referenced in the manifest,
but aren't installed in the rootfs, is also introduced.

Since the logic of what to include in the rootfs is also extracted into
build_image, supporting these "extra packages" isn't very complicated
for this file.
2017-09-08 16:42:47 -07:00
David Michael
5d6e40fa1d Merge pull request #2751 from dm0-/docker
Update to Docker 17.06.2
2017-09-08 14:48:33 -07:00
David Michael
e06e149561 app-emulation/docker: Pull the build date from the tar file 2017-09-08 14:25:40 -07:00
David Michael
03ee9a16a1 chore(metadata): Regenerate cache 2017-09-08 12:57:43 -07:00
David Michael
05a399a1d6 app-emulation/docker: Bump to 17.06.2 2017-09-08 12:57:30 -07:00
Benjamin Gilbert
2098a0780d Merge pull request #739 from bgilbert/oracle
build_library: rename oracle_oci image to oracle_oci_qcow
2017-09-07 14:57:22 -07:00
Benjamin Gilbert
6f7abe198a Merge pull request #738 from bgilbert/gc
bin: drop some obviously unused scripts
2017-09-07 14:57:05 -07:00
Euan Kemp
301a6460f8 Merge pull request #2747 from euank/bump-tcpdump
profiles/coreos: accept newer tcpdump for arm
2017-09-07 14:29:24 -07:00
Euan Kemp
44ae47074e Merge pull request #584 from euank/tcpdump-bump
bump(net-analyzer/tcpdump): sync with upstream
2017-09-07 14:29:17 -07:00