Dongsu Park
fc835de3aa
build_library: fix sync URI under Gentoo env for developer containers
...
When running `emerge-gitclone` in a developer container, it still
tries to fetch from coreos repos. We should make it fetch from
flatcar-linux repos.
2020-01-22 16:31:00 +01:00
Kai Lüke
88adcbd27c
Merge pull request #43 from flatcar-linux/master
...
Merge upstream
2020-01-15 15:23:01 +01:00
Andrew Jeddeloh
7bebaa7404
Merge pull request #888 from ajeddeloh/fix-losetup
...
disk_util: retry loopback mounts if they fail
2019-12-17 14:58:55 -08:00
Andrew Jeddeloh
c0ed59f902
disk_util: retry loopback mounts if they fail
...
This fails frequently but should succeed if retried. This should reduce
failed builds.
2019-12-17 17:17:21 +00:00
Andrew Jeddeloh
115790bc9c
Merge pull request #885 from ajeddeloh/workaround-losetup
...
build_library/disk_util: work around losetup bug
2019-12-13 11:34:34 -08:00
Dongsu Park
dfbee41ef6
Merge pull request #37 from flatcar-linux/dongsu/ami-format-list-arm64
...
jenkins: add ami_vmdk to format list for ARM
2019-12-13 16:25:16 +01:00
Andrew Jeddeloh
37da2494a2
build_library/disk_util: work around losetup bug
...
Retry losetup if it fails, up to 5 times with 5 seconds between retries.
2019-12-13 00:15:49 +00:00
Dongsu Park
eb1decdb9e
jenkins: add ami_vmdk to format list for ARM
...
The `image-matrix.groovy` script reads the list of image formats for ARM,
from `formats-arm64-usr.txt`
So we need to also add ami_vmdk to the list to publish AWS ARM images.
2019-12-12 14:12:55 +01:00
Dongsu Park
2e3641fc75
Merge pull request #33 from flatcar-linux/kai/cross-toolchain-rust
...
build_library/toolchain_util.sh: Install Rust from cross-compilation toolchain
2019-12-04 16:21:21 +01:00
Dongsu Park
55f436b4f1
Merge pull request #29 from flatcar-linux/dongsu/gpt-type-flatcar
...
build_library: replace coreos with flatcar in disk layout
2019-12-03 12:38:50 +01:00
Kai Lüke
3e979ed7f1
build_library/toolchain_util.sh: Install Rust from cross-compilation toolchain
2019-12-03 11:49:20 +01:00
Kai Lüke
53441dc9ae
Merge pull request #32 from flatcar-linux/dongsu/fix-toolchain-packages
...
build_library: make toolchain build rust for cross-builds
2019-12-02 17:01:08 +01:00
Dongsu Park
da050d7ed1
build_library: make toolchain build rust for cross-builds
...
To make packages-matrix build rust sources for arm64-usr,
we need to make toolchain include the rust target for arm.
Unfortunately, catalyst does not support the cross-build rust target
by default. We also cannot add `dev-lang/rust` to `$TOOLCHAIN_PKGS`,
because then catalyst would tries to build a `cross-*/rust` package,
which does not exist.
So we need to manually run emerge for rust, without `--newuse -u`
options. If the `--newuse -u` options are given, the rust will not
be installed at all.
2019-11-29 16:49:51 +01:00
Dongsu Park
682b04635d
Merge pull request #23 from flatcar-linux/dongsu/arm-port
...
Support for ARM architecture
2019-11-25 15:24:55 +01:00
Kai Lüke
1c3323507d
setup_board: Setup library path for qemu-aarch64
2019-11-22 15:10:17 +01:00
Kai Lüke
d17776916e
Merge pull request #30 from flatcar-linux/kai/document-ignition-usage
...
build_library: Document when Ignition needs flatcar.first_boot=1, and also document flatcar.autologin
2019-11-21 16:37:44 +01:00
Kai Lüke
b361b03cef
build_library: Document flatcar.autologin kernel cmdline option
2019-11-21 16:10:11 +01:00
Kai Lüke
6888b7fbc6
build_library: Document when Ignition needs flatcar.first_boot=1
2019-11-21 15:15:17 +01:00
Kai Lüke
e6c9122b0b
setup_board: Make amd64-usr the default board
2019-11-20 10:57:09 +01:00
Benjamin Gilbert
1383869445
Merge pull request #884 from bgilbert/glsa
...
test_image_content: whitelist OpenSSH GLSA
2019-11-19 12:22:00 -05: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
45bb2c039b
build_library: replace coreos-usr with flatcar-usr in disk_util
...
The disk_util also needs an update for the GPT type string.
2019-11-18 13:46:12 +01:00
Dongsu Park
0ac4e27840
build_library: replace coreos with flatcar in disk layout
...
To make GPT partition type strings include flatcar- strings
instead of coreos-, we need to change the disk layout file.
2019-11-15 13:47:12 +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
Benjamin Gilbert
19ae51910b
test_image_content: whitelist OpenSSH GLSA
...
It only affects a default-disabled USE flag, and our overlay ebuild is too
old to even support it.
2019-11-08 17:59:56 -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