Commit Graph

5075 Commits

Author SHA1 Message Date
Dongsu Park
bb158261f5
Merge pull request #116 from kinvolk/dongsu/delete-docker-1.12
torcx: delete docker 1.12
2021-02-04 17:57:52 +01:00
Krzesimir Nowak
ea797c8df8
Merge pull request #115 from kinvolk/krnowak/move-root-overlay-var
bootstrap_sdk, build_toolchains: Move the ROOT_OVERLAY variable
2021-02-04 17:55:05 +01:00
Krzesimir Nowak
0c00fc99b7
Merge pull request #113 from kinvolk/krnowak/fix-catalyst-repo-paths
build_library/catalyst.sh: Fix paths to ebuild repos
2021-02-04 17:52:02 +01:00
Krzesimir Nowak
17c5038be1
Merge pull request #114 from kinvolk/krnowak/fix-setup-board
setup_board: Copy repos.conf earlier
2021-02-04 17:51:26 +01:00
Dongsu Park
ead20665b8 torcx: delete docker 1.12
Now that Docker 1.12 is gone, we need to also exclude docker 1.12
from the list of torcx stores.
2021-02-04 16:57:17 +01:00
Krzesimir Nowak
aab2cb5c77 bootstrap_sdk, build_toolchains: Move the ROOT_OVERLAY variable
ROOT_OVERLAY variable is defined in terms of TEMPDIR. The TEMPDIR
variable is set to an empty value by catalyst.sh, which the two
scripts import. So ROOT_OVERLAY always ended up being located in
toplevel directory (i.e. `/`). But the TEMPDIR variable gets a
meaningful value after calling the catalyst_init function, so define
the ROOT_OVERLAY after the function is called.
2021-02-03 17:16:02 +01:00
Krzesimir Nowak
0e41ffc336 build_library/catalyst.sh: Fix paths to ebuild repos
I have no idea how this thing worked before - the repos never were in
/usr/portage nor in /usr/local/portage… But the newer version of
portage seems to be pretty picky about the validity of repos location,
so fix them.
2021-02-03 16:47:59 +01:00
Krzesimir Nowak
fe07e45b65 setup_board: Copy repos.conf earlier
eselect calls "portage get_repo_path /build/amd64-usr coreos" at some
point. Before updating portage, portageq seemed to take all the
information not from /build/amd64-usr (which at the time contained no
repo information at all), but rather from /. The newer version of
portageq seems to respect the passed root now, so it actually tries to
consult the nonexistent repos configuration in /build/amd64-usr and
fails. To avoid the failure, perform the copying of the configuration
files earlier.
2021-01-25 16:12:31 +01:00
Marga Manterola
215583ff4d
Merge pull request #111 from kinvolk/marga-kinvolk/aws-pro
vm_image_util: Use new aws_pro flag for ec2-compat
2021-01-22 18:30:23 +01:00
Margarita Manterola
ad8204af82 vm_image_util: Use new aws_pro flag for ec2-compat 2021-01-22 11:57:52 +01:00
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