Kai Lüke
1c3323507d
setup_board: Setup library path for qemu-aarch64
2019-11-22 15:10:17 +01:00
Kai Lüke
e6c9122b0b
setup_board: Make amd64-usr the default board
2019-11-20 10:57:09 +01:00
Dongsu Park
c9b4df9f1f
build_library/check_root: add shared libs to the IGNORE_MISSING
...
To avoid warnings about missing libraries, we should add several shared
libraries to the list of IGNORE_MISSING.
2019-11-19 17:09:16 +01:00
Dongsu Park
72d65de44b
support --binhost= option for setup_board and update_chroot
...
Add an option to specify `--binhost=`, to make the scripts download
binary packages from any arbitrary host. This is needed to get around
toolchain issues when building rust.
2019-11-19 17:09:16 +01:00
Kai Lüke
e98d9e1e8f
build_library: Replace edk2 with own edk2-aarch64
2019-11-19 17:09:16 +01:00
Kai Lüke
cb4d3255fa
build_library: ignore GLSA 201904-13 to build on arm64
...
GLSA 201904-13 was fixed by dev-vcs/git >= 2.20.1, but it's unstable
for arm64. That has been already changed to stable for arm64 on Gentoo
upstream, but both Container Linux and Flatcar Linux still have older
ebuild with `~arm64`. So for now we should ignore the GLSA 201904-03.
2019-11-19 17:09:16 +01:00
Kai Lüke
b4a95a869f
arm64: Build binary packages for dependencies before installing toolchain
...
This part was missing when the core was changed in
ce2e7e8a17a8026d5681d771f34df633ac6aec98
and thus it was not possible to install the toolchain when no packages
were available in the external HTTP storage.
2019-11-19 17:09:16 +01:00
Kai Lüke
28317f38ef
Revert "transfer.sh: Drop support for boards other than amd64-usr"
...
This reverts commit 32863264fda3a7313ce1b9a63142b39334ff44de.
NOTE: devsign/sign now require the board as additional parameter.
2019-11-19 17:09:15 +01:00
Kai Lüke
f9a9b2e803
Revert "build_toolchains: Stop building arm64 toolchains"
...
This reverts commit ecc6d6bd3e38de4a7324ec5b2927bd6ed0de092d.
2019-11-19 17:09:15 +01:00
Kai Lüke
87dad556e6
Revert "jenkins: Drop the unused arm64 image format list"
...
This reverts commit e9f17c814306aa0ac476e51cf1c69f3a159d6e05.
2019-11-19 17:09:15 +01:00
Kai Lüke
e65118da4f
Revert "core_dev_sign_update: Default to the amd64-usr board"
...
This reverts commit 8f761a7fdb5ba29694ec7401bca8c2d7528305de.
2019-11-19 17:09:15 +01:00
Kai Lüke
2042952002
Revert "common.sh: Use amd64-usr as the default default board"
...
This reverts commit 8e8d07f9a03308c960d3ab406b119379d678597f.
2019-11-19 17:09:15 +01:00
Kai Lüke
bfd05424ad
Revert "Remove arm64 from supported board operations"
...
This reverts commit 2467923d56134683a0fd4c58808cd361ea1f855c.
2019-11-19 17:09:15 +01:00
Dongsu Park
9e4cfc8d79
Merge pull request #27 from flatcar-linux/mauricio/update_flatcar_linux_refs
...
rename Flatcar Linux to Flatcar Container Linux
2019-11-15 12:18:07 +01:00
Mauricio Vásquez
48f5f1e84e
rename Flatcar Linux to Flatcar Container Linux
2019-11-14 13:57:58 -05:00
Dongsu Park
bd02f41820
Merge pull request #26 from flatcar-linux/dongsu/merge-upstream-2019-10-17
...
Merge upstream 2019-10-17
2019-10-21 14:38:15 +02:00
Dongsu Park
fa8163acf2
Merge remote-tracking branch 'origin/master' into dongsu/merge-upstream-2019-10-17
2019-10-18 10:00:17 +02:00
Benjamin Gilbert
913140d5d1
Merge pull request #883 from bgilbert/glsa
...
test_image_content: whitelist Perl and dbus GLSAs
2019-09-16 15:26:20 -04:00
Benjamin Gilbert
bd79eaf9d1
test_image_content: whitelist Perl and dbus GLSAs
...
Backported the dbus GLSA. Ignoring the Perl one.
2019-09-10 21:47:55 -04:00
Dongsu Park
8a7020eb12
Merge pull request #20 from flatcar-linux/dongsu/merge-upstream-2019-08-30
...
Merge upstream 2019-08-30
2019-09-04 08:27:12 +02:00
Dongsu Park
ceb23ff197
Merge remote-tracking branch 'origin/master' into dongsu/merge-upstream-2019-08-30
2019-08-30 11:44:11 +02:00
Benjamin Gilbert
ffbd3e267f
Merge pull request #882 from bgilbert/glsa
...
test_image_content: whitelist polkit GLSA
2019-08-25 16:00:25 -04:00
Benjamin Gilbert
97e61a164b
test_image_content: whitelist polkit GLSA
...
Both CVE fixes were backported.
2019-08-24 01:28:29 -04:00
Andrew Jeddeloh
e9d949a8f0
Merge pull request #880 from ajeddeloh/binutils
...
Revert "setup_board: add workaround for binutils issue"
2019-08-23 18:14:52 -07:00
Andrew Jeddeloh
02ac9cb5b8
Revert "setup_board: add workaround for binutils issue"
...
This reverts commit 3d60305f24aac79dade4e7c20a3a8d395621422a.
2019-08-24 00:48:45 +00:00
Andrew Jeddeloh
cebe2d12da
Merge pull request #876 from ajeddeloh/binutils
...
setup_board: add workaround for binutils issue
2019-08-23 14:54:48 -07:00
Andrew Jeddeloh
3d60305f24
setup_board: add workaround for binutils issue
...
Add a workaround to be sure we're using the correct binutils when SDK
sharing.
2019-08-23 21:52:30 +00:00
Dongsu Park
957f0ed02b
Merge pull request #18 from flatcar-linux/dongsu/fix-qemu-keyname
...
build_library: fix qemu key name to org/flatcar-linux
2019-08-14 11:33:07 +02:00
Dongsu Park
3e6c45945b
build_library: fix qemu key name to org/flatcar-linux
...
To fix a wrong key name when running a qemu VM with ignition, we need to
replace `opt/com.coreos` with `opt/org.flatcar-linux`.
See also https://github.com/flatcar-linux/ignition/issues/2
2019-08-13 13:36:47 +02:00
David Michael
471dd4c196
Merge pull request #875 from dm0-/glsa
...
Revert "build_library: Add temporary workaround for binutils update"
2019-08-08 16:09:40 -04:00
David Michael
9b863fa7ae
Revert "build_library: Add temporary workaround for binutils update"
...
This reverts commit faf07f1b8f24c5ec82305579337e074af3a9b818.
2019-08-08 15:53:06 +00:00
Dongsu Park
fe7a24fab6
Merge pull request #16 from flatcar-linux/dongsu/fix-torcx-selinux
...
build_torcx_store: get selinux context included in torcx tarballs
2019-08-08 17:20:33 +02:00
David Michael
da9301e545
Merge pull request #874 from dm0-/jenkins
...
jenkins: Stop trying to install catalyst
2019-08-06 15:34:27 -04:00
David Michael
0148b0df16
jenkins: Stop trying to install catalyst
...
It's already built into the SDK.
2019-08-05 10:53:27 -04:00
David Michael
e49a215ece
Merge pull request #873 from coreos/glsa
...
build_library: Add temporary workaround for binutils update
2019-08-04 00:17:38 -04:00
David Michael
faf07f1b8f
build_library: Add temporary workaround for binutils update
...
Revert this after the new binutils is built into the SDK.
2019-08-03 16:24:27 +00:00
David Michael
40517864cb
Merge pull request #870 from dm0-/jenkins
...
jenkins: Free more disk space on successful job completion
2019-08-02 16:04:51 -04:00
Dongsu Park
f13f4526fa
build_torcx_store: get selinux context included in torcx tarballs
...
So far build_torcx_store has not included any selinux context
in the tarball, because it ran without `--selinux` option.
Let's add the option to fix that.
2019-07-31 16:42:20 +02:00
David Michael
e45c7f1ec1
jenkins: Make the package build ccache more visible
2019-07-30 17:29:52 +00:00
David Michael
0bcf0e9fcf
jenkins: Move workspace cleanup to the pipeline
...
More space can be saved by removing things that get overwritten on
the next job run, but they are used after this script runs (e.g.
for fingerprinting). Drop the cleanup from these scripts and move
it all to the post-build pipeline stage.
2019-07-30 17:29:52 +00:00
Dongsu Park
ab637f03cf
Revert "build_library: retry losetup up to 10 seconds"
...
This reverts commit ffeca193c0f2936e064b503e85449669ee6b89e2,
a8cafdb3, 518f1298, 5bc76098, 06027d67
2019-06-29 23:04:40 +02:00
Dongsu Park
06027d670f
build_library: detach only if loop_dev exists
2019-06-29 16:23:09 +02:00
Dongsu Park
5bc76098a5
build_library: break the attempt loop when losetup succeeds
...
We need to break the attempt loop when losetup succeeds.
Also we should not use finally, which is called also for success.
2019-06-29 10:01:29 +02:00
Dongsu Park
518f12983f
build_library: detach after every losetup succeeded
...
To avoid issues with losetup not being cleaned up, we need to call
losetup --detach inside the retry loop.
2019-06-29 09:19:51 +02:00
Dongsu Park
a8cafdb31c
build_library: make a loop only for losetup in PartitionLoop
...
Fix a bug in PartitionLoop that ends up returning a false string,
which results in FormatPartition failing.
2019-06-28 17:06:57 +02:00
Dongsu Park
074a4a4498
Merge pull request #13 from flatcar-linux/dongsu/retry-losetup
...
build_library: retry losetup up to 10 seconds
2019-06-28 10:18:34 +02:00
Dongsu Park
ffeca193c0
build_library: retry losetup up to 10 seconds
...
Sometimes we see such failures during Jenkins runs.
```
losetup: /mnt/host/source/tmp/...../disk_image.bin: failed to set up loop device: Resource temporarily unavailable
```
It's really hard to know which race condition it is.
To workaround it, in case that losetup fails, make it retry up to 10
seconds, once in every second. That could reduce the number of the
loopback device errors in the build chain.
Inspired by https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/264063/
2019-06-27 16:13:16 +02:00
Andrew Jeddeloh
5d0af879ae
Merge pull request #871 from ajeddeloh/bump-size
...
disk_layout: bump dev container from 3 to 4GB
2019-06-11 16:00:56 -07:00
Andrew Jeddeloh
006fe8765d
disk_layout: bump dev container from 3 to 4GB
...
Builds are beginning to run out of space with 3GB. Bump to 4GB.
2019-06-11 21:39:02 +00:00
David Michael
3c7e94864c
Merge pull request #869 from dm0-/revert
...
Revert "catalyst: Temporarily disable update_seed again"
2019-05-02 12:26:11 -04:00