22070 Commits

Author SHA1 Message Date
Krzesimir Nowak
1a5ddb2ca4 *: Drop mentions of elibc_uclibc 2022-01-11 14:17:03 +01:00
Krzesimir Nowak
2290c6922b virtual/libcrypt: Sync with gentoo
It's from gentoo commit 2072f28ad572b68556decb7e8a4ffc0a48a8a274.
2022-01-11 14:16:03 +01:00
Krzesimir Nowak
e7cc54cfff profiles: Sync with gentoo
It's from gentoo commit 8adc2a498fec7ddcdcbbacb7a8172d4ed6d82b94.
2022-01-11 14:16:03 +01:00
Krzesimir Nowak
db5f1c7e72 *: Drop mentions of elibc_FreeBSD 2022-01-11 14:15:15 +01:00
Krzesimir Nowak
09465e5a67 sys-apps/systemd: Sync hwdb bits with Gentoo
Gentoo deprecated sys-apps/hwids and is going to drop it soon.
2022-01-11 14:15:15 +01:00
Krzesimir Nowak
1a35d9b996 profiles: Drop sys-apps/hwids from accept_keywords
We are replacing this package with sys-apps/hwdata. Also, no point in
using unstable versions - they are stabilized quickly enough.
2022-01-11 14:15:15 +01:00
Krzesimir Nowak
752f695663 sys-apps/portage: Drop support for uclibc
It was removed from Gentoo and with updated profiles, the build
started to fail with:

USE flag 'elibc_uclibc' referenced in conditional 'elibc_uclibc?' is
not in IUSE
2022-01-11 14:15:15 +01:00
Krzesimir Nowak
158eb34f72 profiles: Keep using crypt functionality from glibc 2022-01-11 14:15:15 +01:00
Krzesimir Nowak
caf56d5b8b Merge pull request #1519 from flatcar-linux/krnowak/eclass-update
eclass: Some updates for newer EAPI versions
2022-01-11 13:25:42 +01:00
Krzesimir Nowak
d133e03f4a Merge pull request #262 from flatcar-linux/krnowak/eclass-update
eclass: Sync some with gentoo to support EAPI 8, but keep supporting EAPI 4 too
2022-01-11 13:25:30 +01:00
Thilo Fromm
e84e90e625
Merge pull request #213 from flatcar-linux/t-lo/ci-fix-nightly-binpkg-url
settings / ci-automation: remove "binpkg" prefix
2022-01-11 11:25:53 +01:00
Jeremi Piotrowski
43687783af
Merge pull request #214 from flatcar-linux/jepio/ignore-egg-info-symlink
build_library/check_root: ignore dangling '*egg-info' symlink
2022-01-11 11:25:21 +01:00
Jeremi Piotrowski
7caafa6cd6 build_library/check_root: ignore dangling '*egg-info' symlink
Since the update of dev-python/certifi, running the command
`./image_to_vm.sh --format gce --board=amd64-usr` fails due to a
dangling symlink. This symlink is located in
/usr/lib64/python3.9/site-packages and is not supposed to be installed
in the first place because of this INSTALL_MASK entry in
coreos-overlay/profiles/coreos/targets/generic/oem-aci/make.defaults:

  INSTALL_MASK="${INSTALL_MASK}
    /usr/*/python3*
  "

There is an open upstream bug that INSTALL_MASK doesn't work correctly on
symlinks (https://bugs.gentoo.org/678462).
The best we can do at this time is to ignore the dangling symlink.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-01-11 10:02:53 +00:00
flatcar-ci
0bbae51a5e settings / ci-automation: remove "binpkg" prefix
The original intention of the "binpkg" prefix in the CI binary package
cache URL was to separate packages from other build artifacts like
containers, images, and SDK tarballs. Motivation was to separate
developer content (binary packages) from CI automation artifacts
(everything else); since binary packages are not used by the CI.

This broke assumptions in scripts which use the binary host URL for
other things than packages - e.g. SDK tarballs or images. These
scripts would get a bincache URL with "binpkg/" prepended, while CI
automation would *not* use that prefix.

This change removes the use of "binpkg/" altogether since it would not
work as intended without more significant changes to build scripts.
2022-01-11 09:56:21 +01:00
Krzesimir Nowak
d3247a54a2 Merge pull request #1554 from flatcar-linux/cacerts-3.74-main
Upgrade ca-certificates in main from 3.73 to 3.74
2022-01-10 19:19:59 +01:00
Krzesimir Nowak
b8b5c72796 Merge pull request #1555 from flatcar-linux/go-1.17.6-main
Upgrade Go in main from 1.17.5 to 1.17.6
2022-01-10 18:53:32 +01:00
Thilo Fromm
bf053ed800
Merge pull request #211 from flatcar-linux/t-lo/checkout-imgrove-tag-handling
checkout: omit checking for tags in submodules
2022-01-10 15:46:53 +01:00
flatcar-ci
fa090f839e checkout: omit checking for tags in submodules
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2022-01-10 15:23:25 +01:00
Thilo Fromm
a2ae11cb3d
Merge pull request #210 from flatcar-linux/t-lo/garbage_collect-fix-binpkg-url
ci-automation/garbage_collect: fix binpkg url
2022-01-10 14:44:10 +01:00
Thilo Fromm
e076931c7d ci-automation/garbage_collect: fix binpkg url
garbage_collect.sh was using 'docker_vernum' where it should have been
using 'vernum' (as push_pkgs.sh does).

Also, make sure release directories are removed, not just packages.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-01-10 14:07:33 +01:00
Thilo Fromm
567a526a5d
Merge pull request #209 from flatcar-linux/t-lo/container-ci-builds-publish-nightly-packages
ci-automation + setup_board: publish and use binpkgs
2022-01-10 12:09:21 +01:00
Thilo Fromm
a6ddcda88e ci-automation: Apply suggestions from PR review
Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2022-01-10 11:41:03 +01:00
Flatcar Buildbot
24276fa7d2 dev-lang: Upgrade Go 1.17.5 to 1.17.6 2022-01-10 07:32:58 +00:00
Flatcar Buildbot
49d87d54af app-misc: Upgrade ca-certificates 3.73 to 3.74 2022-01-10 07:25:19 +00:00
Thilo Fromm
0ecd0be77a ci-automation/README.md: pkg publish, bin cache added
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-01-07 17:47:50 +01:00
flatcar-ci
7d76cfedf7 ci-automation + setup_board: publish and use binpkgs
This change adds a job for publishing binary packages to the build cache
server to the ci automation.

Also, setup_board is updated to use the buildcache package cache if a
nightly build version is detected.

Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2022-01-07 17:16:44 +01:00
Krzesimir Nowak
83fe5bffd4 sys-boot/grub: Try to force using a newer gettext infra 2022-01-07 16:11:46 +01:00
Krzesimir Nowak
1a1efdfe3b sys-boot/grub: Fix build with new eclasses 2022-01-07 16:11:46 +01:00
Krzesimir Nowak
b7e15db73c profiles: Drop sys-block/parted from accept_keywords
The updated package is declared as stable on arm64.
2022-01-07 16:11:46 +01:00
Krzesimir Nowak
3e92c82483 eclass/git: Drop unused eclass 2022-01-07 16:11:46 +01:00
Krzesimir Nowak
78e097ecaf eclass: Update to support newer EAPI versions 2022-01-07 16:11:46 +01:00
Krzesimir Nowak
6c824c916f changelog: Add an update entry 2022-01-07 16:10:49 +01:00
Thilo Fromm
13a6f6e0eb
Merge pull request #202 from flatcar-linux/t-lo/add-checkout-helper
checkout: helper script for checking out branches and tags
2022-01-07 16:08:04 +01:00
Krzesimir Nowak
a760bf297f eclass: Drop another unused eclasses 2022-01-07 16:00:49 +01:00
Krzesimir Nowak
223c1090e5 eclass/virtualx: Support EAPI 4 2022-01-07 15:57:02 +01:00
Jeremi Piotrowski
4135a11e67 Merge pull request #1549 from flatcar-linux/containerd-1.5.9-main
Upgrade Containerd in main from 1.5.8 to 1.5.9
2022-01-07 15:52:22 +01:00
Krzesimir Nowak
eef0962cf6 eclass/virtualx: Sync with gentoo
It's from gentoo commit 3a34d9930357ff882123aa4004ac7f568d2269fd.
2022-01-07 15:48:36 +01:00
Jeremi Piotrowski
a3ac30292a
Merge pull request #208 from flatcar-linux/jepio/azure-gallery
jenkins/kola/azure: make use of --azure-use-gallery parameter
2022-01-07 15:43:16 +01:00
Jeremi Piotrowski
893b59234c changelog/security: add entry for CVE-2021-43816
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-01-07 15:42:06 +01:00
Thilo Fromm
e9299efb36
checkout: fix typo in update strategy detection
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2022-01-07 15:26:17 +01:00
Jeremi Piotrowski
7cafff85f4 jenkins/kola/azure: make use of --azure-use-gallery parameter
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-01-07 13:56:32 +01:00
Thilo Fromm
301e80e7f5 checkout: helper script for checking out branches and tags
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-01-07 13:54:10 +01:00
Thilo Fromm
ee43062399
Merge pull request #205 from flatcar-linux/t-lo/fix-sdk_entry-setup_board-fallout
fix sdk_entry.sh setup_board fallout
2022-01-07 13:26:38 +01:00
Thilo Fromm
593d95a845
Merge pull request #207 from flatcar-linux/t-lo/improve-podman-docker-detection
sdk_container: better docker / podman detection
2022-01-07 12:11:45 +01:00
Kai Lüke
ff0dbfb3c9
Merge pull request #206 from flatcar-linux/kai/sdk-container-build-rm
build_sdk_container_image: force removal of running container
2022-01-07 11:49:02 +01:00
Thilo Fromm
43e8730ffe sdk_container: better docker / podman detection
In bce3bd9031fa78c79173f29bcac5bc49c81a03b4, we added support for podman
for building and running the SDK container. The presence of podman is
auto-detected in sdk_container_common.sh. However, podman is preverred
over docker, requiring users to use *sudo* (which podman requires and
docker does not).

This change uses docker when present, podman otherwise. It also improves
podman detection - 'podman' uses argv[0] in its version string, so if
'docker' is a symlink to 'podman', 'podman --version' output uses
'docker'. This broke the SDK container on hosts which have a 'docker'
symlink to 'podman' since 'podman' is then run w/o 'sudo'.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-01-07 11:06:30 +01:00
Thilo Fromm
4273b51cd6 sdk_lib/sdk_entry.sh: only call setup_board if /build/... exists
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-01-07 09:58:34 +01:00
Flatcar Buildbot
7cb3795b44 app-emulation: Upgrade Containerd 1.5.8 to 1.5.9 2022-01-07 08:24:14 +00:00
Krzesimir Nowak
77d8fbde2d sys-block/parted: Sync with gentoo
Apparently the old parted has some problems with updated eclasses.

It's from gentoo commit e8750eda30030e3f13ceaf0fc3c03a0e604ca649.
2022-01-07 08:51:36 +01:00
Krzesimir Nowak
f000cc73a3 sys-devel/gettext: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
2022-01-07 08:51:36 +01:00