Commit Graph

5265 Commits

Author SHA1 Message Date
Kai Lüke
934e4e28b9
Merge pull request #110 from kinvolk/kai/find-license
Fall back to source repository license files if not in portage
2021-01-20 18:26:16 +01:00
Kai Lüke
bd34d059f3 Fall back to source repository license files if not in portage
When a license file is newly added, portage may not yet have it in the
shared folder and the license inclusion step fails.
Fall back to the source repositories and look for the license file
there, too. Print a warning if not found instead of failing to build.
2021-01-20 17:03:05 +01:00
Krzesimir Nowak
dac588de9e
Merge pull request #109 from kinvolk/krnowak/fix-urls
build_library: Fix git URLs
2021-01-19 17:56:49 +01:00
Krzesimir Nowak
45d3a0d9a9 build_library: Fix git URLs
The repos were moved to kinvolk. Redirects still work, but it's better
not to rely on them.
2021-01-19 17:31:17 +01:00
Marga Manterola
df660df80e
Merge pull request #108 from kinvolk/marga-kinvolk/gce-pro
Add GCE Pro OEM type
2021-01-04 11:59:44 +01:00
Margarita Manterola
cf7f4bd4a4 Add GCE Pro OEM type 2020-12-22 13:52:52 +01:00
Vincent Batts
d46b95ba29
Merge pull request #91 from kinvolk/vbatts/arm
qemu_template: use more cpus for ARM if available
2020-12-15 08:29:10 -05:00
Kai Lüke
ef631cd7af
Merge pull request #106 from kinvolk/kai/aws-pro
Add AWS Pro OEM type
2020-12-15 11:14:25 +01:00
Sayan Chowdhury
3ac8f6a5da
Merge pull request #107 from kinvolk/sayan/fix-dev-container-path
dev_container_util.sh: Use the shflags group instead of the default flag
2020-12-14 21:10:16 +05:30
Sayan Chowdhury
95f05a9ad6
dev_container_util.sh: Use the shflags group instead of the default flag
The build_image script invokes the create_dev_container function, and
passes the `FLAGS_group` as param. Use the param, to generate the
binhost URL instead of using the DEFAULT_GROUP which stays as developer
always.

Fixes: kinvolk/Flatcar#298
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-12-14 19:30:08 +05:30
Kai Lüke
f84ca169e5 Add AWS Pro OEM type
This is the initial creation of an AWS Pro image coming with support,
and features added on top of it.
2020-12-09 16:38:28 +01:00
Sayan Chowdhury
bed73e2b2c
Merge pull request #103 from kinvolk/sayan/add-azure-gpu-support-on-main
Update the azure pro package reference to the oem-azure-pro
2020-11-25 19:39:28 +05:30
Sayan Chowdhury
9e2098bfff
Update the azure pro package reference to the oem-azure-pro
This commit also fixes the BINHOST URL for the for the developer
container portage

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-11-25 14:42:56 +05:30
Thilo Fromm
81d4ed8940
Merge pull request #102 from kinvolk/t-lo/build_packages-fix-symlink-run-gcc-config
build_packages, build_image_util.sh: fix up liblto symlink
2020-11-18 14:42:21 +01:00
Dongsu Park
d4be1e865e
Merge pull request #101 from kinvolk/dongsu/fix-kernel-symlink-memcpy
build_library: Ignore broken symlink in Kernel source tree
2020-11-17 13:28:08 +01:00
Thilo Fromm
22b08b0ae4 build_packages, build_image_util.sh: fix up liblto symlink
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-16 19:06:59 +01:00
Dongsu Park
6eae505f16 build_library: Ignore broken symlink in Kernel source tree
Kernel source tree started to have a broken link
`tools/testing/selftests/powerpc/copyloops/memcpy_mcsafe_64.S`.
Especially in case of Kernel 5.8.18, like:

```
broken link: /usr/src/linux-5.8.18-coreos/tools/testing/selftests/powerpc/copyloops/memcpy_mcsafe_64.S
ERROR   build_packages: test_image_content: Failed symlink check
```

Ignore the symlink when checking broken symlinks.
2020-11-13 17:27:49 +01:00
Dongsu Park
5201aee4a3
Merge pull request #100 from flatcar-linux/dongsu/cleanup-ccache
jenkins: do not configure ccache variables
2020-10-26 23:30:44 +01:00
Dongsu Park
829cec45e8 jenkins: do not configure ccache variables
Setting the invalid CCACHE_ variables resulted in strange failure
in projects depending on meson, newer version like 0.55.3. For example
systemd build fails like the following errors:

```
 * ACCESS DENIED:  utimes:       /mnt/host/source/ccache
 * ACCESS DENIED:  utimes:       /mnt/host/source/ccache

F: utimes
S: deny
P: /mnt/host/source/ccache
A: /mnt/host/source/ccache
R: /mnt/host/source/ccache
C: ccache cc /build/amd64-usr/var/tmp/portage/sys-apps/systemd-246/work/systemd-246-abi_x86_64.amd64/meson-private/sanitycheckc.c -o /build/amd64-usr/var/tmp/portage/sys-apps/systemd-246/work/systemd-246-abi_x86_64.amd64/meson-private/sanitycheckc.exe -O1 -pipe -pipe -D_FILE_OFFSET_BITS=64
```

We should not set up ccache at all, as it has been already disabled in
coreos-overlay repo.
2020-10-26 15:38:57 +01:00
Sayan Chowdhury
4ae32d068e
Merge pull request #99 from flatcar-linux/sayan/add-qemu-oem
Add OEM package for QEMU
2020-10-09 13:15:01 +05:30
Sayan Chowdhury
8799028007
Add OEM package for QEMU
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-10-08 11:51:24 +05:30
Sayan Chowdhury
86800378db
Merge pull request #96 from flatcar-linux/sayan/add-azure-pro
Add Azure Pro to the list of amd64 format list
2020-09-29 00:20:53 +05:30
Sayan Chowdhury
23c72c0a5c
Add Azure Pro to the list of amd64 format list
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-09-28 23:09:36 +05:30
Sayan Chowdhury
f521ca99bb
Merge pull request #94 from flatcar-linux/sayan/rename-to-pro
build_library: Rename the images to use pro instead of premium
2020-09-21 21:23:58 +05:30
Sayan Chowdhury
9953cc8c8f
build_library: Rename the images to use pro instead of premium
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-09-21 20:31:41 +05:30
Sayan Chowdhury
e66c89ef31
Merge pull request #93 from flatcar-linux/sayan/azure-seperate-build
Add Azure OEM and selective private upload
2020-09-21 19:55:23 +05:30
Sayan Chowdhury
cc147a1255
Add the new OEM type, and selective upload azure as private
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-09-19 18:58:12 +05:30
Vincent Batts
eb5affd424
Merge pull request #92 from flatcar-linux/vbatts/qemu-lint
qemu_template: shell lint and update
2020-09-16 10:47:08 -04:00
Vincent Batts
ed7de96c1f
qemu_template: shell lint and update
Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-09-16 10:30:07 -04:00
Vincent Batts
a97df50696
qemu_template: use more cpus for ARM if available
But don't hog all `VM_NCPUS`, as we are still emulating them

Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-09-15 17:39:35 -04:00
Vincent Batts
a22f316c23
Merge pull request #89 from flatcar-linux/vbatts/build-host
build_packages: export build host information
2020-09-03 08:36:52 -04:00
Vincent Batts
a77e218d4d
Merge pull request #90 from flatcar-linux/vbatts/update-contrib
contrib: allow newer ssh keys, and user-provided template
2020-09-02 08:11:43 -04:00
Vincent Batts
acac817ea1
contrib: shellcheck lint
Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-09-02 08:10:50 -04:00
Vincent Batts
b8360e2c20
contrib: allow newer ssh keys
Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-09-02 08:10:47 -04:00
Vincent Batts
a43fcbb534
contrib: allow user to provide cloud-config template
Respecting that substitutions will still be made, the user may want to
also install their own unit files or similar

Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-09-02 08:10:33 -04:00
Vincent Batts
f104a53aeb
build_packages: export build host information
Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-08-28 13:51:22 -04:00
Kai Lüke
bc11ee282d
Merge pull request #86 from flatcar-linux/kai/nightly-sdk
set_version: Support resolving nightly SDKs
2020-08-05 22:06:19 +02:00
Kai Lüke
2a5d54b54c
set_version: Support resolving nightly SDKs
The nightly SDK builds can be used as source for binary packages for
the SDK chroot which helps to reduce local build times.
Add support for resolving the latest nightly SDK in the set_version
script the same way as resolving board nightly builds.
2020-08-05 17:14:09 +02:00
Marga Manterola
34f7e426f4
Merge pull request #82 from flatcar-linux/marga-kinvolk/uuid-disk
Stop probing for UUID 00000000-0000-0000-0000-000000000001 in GRUB
2020-08-04 11:46:10 +02:00
Marga Manterola
c832af024e grub.cfg: Stop probing for UUID 0x01 2020-08-04 11:45:29 +02:00
Kai Lüke
08ce8054ca
Merge pull request #85 from flatcar-linux/kai/no-rust-recompilation
build_library/toolchain_util.sh: Remove old download code for Rust
2020-08-03 11:28:30 +02:00
Kai Lüke
cfdb7b0ab7
build_library/toolchain_util.sh: Remove old download code for Rust
The SDK now includes a Rust version with the aarch64 cross-compilation
libraries and the toolchain job doesn't build it anymore. Yet it was
still recompiled because the path had changed.
Remove the adjustment of the download URL and any automatic building
of Rust. Just issue a warning so that any problem can be spotted easily.
This change does not affect the SDK bootstrapping (full or just stage4)
but affects ./build_packages and the toolchains job. For the toolchains
job the crossdev setup is missing anyway and rebuilding wouldn't help
but only downloading, yet since in stage4 there are no binary package
URLs at all, it's best to remove this step and if it is needed later,
the warning will help.
2020-07-31 22:54:53 +02:00
Kai Lüke
d8519f4b5c
Merge pull request #84 from flatcar-linux/kai/no-metadata-md5-cache
update_ebuilds: Do not generate metadata/md5-cache files
2020-07-30 12:13:54 +02:00
Kai Lüke
254db834fd
update_ebuilds: Do not generate metadata/md5-cache files
The metadata/md5-cache is not required and we stop using it because
this machine-generated content is a common cause for merge conflicts
and has no benefits.
2020-07-28 15:18:16 +02:00
Kai Lüke
52aaa06c79
Merge pull request #83 from flatcar-linux/kai/stage1-gcc-rebuild
build_library/catalyst.sh: Specify which gcc package to rebuild
2020-07-28 14:08:35 +02:00
Kai Lüke
c016b581b4
build_library/catalyst.sh: Specify which gcc package to rebuild
The default update seed command does only specify gcc which leads to
an error because »The short ebuild name "gcc" is ambiguous«.
Choose the standard package name instead of the cross compiler packages
which are only known to emerge because we build them as part of an SDK
release now.
2020-07-27 20:31:17 +02:00
Kai Lüke
d23182c3b4
Merge pull request #81 from flatcar-linux/kai/set-version-maintenance
set_version: Document new naming scheme for nightly builds
2020-07-24 10:41:47 +02:00
Kai Lüke
b2401fbc69
set_version: Document new naming scheme for nightly builds 2020-07-21 21:41:08 +02:00
Kai Lüke
99887bd9ef
Merge pull request #80 from flatcar-linux/kai/fix-set_version
set_version: Set SDK URL to allow a release SDK with a dev board
2020-07-17 12:24:27 +02:00
Kai Lüke
363239ff2d
set_version: Set SDK URL to allow a release SDK with a dev board
The SDK package URL is constructed from FLATCAR_DEV_BUILDS in
build_library/toolchain_util.sh which caused the --dev-board flag
also to imply --dev-sdk. Using --no-dev-sdk didn't help.
Document this and work around it by setting the SDK URL explicitly
with --no-dev-sdk.
2020-07-16 17:04:51 +02:00