23028 Commits

Author SHA1 Message Date
Krzesimir Nowak
fb18341312 eclass/autotools: Sync with gentoo
It's from gentoo commit 74fe7755f50b6968c35c3a5dc247be66e27cbe11.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
ff5f9e015e eclass/git-r3: Support EAPI 4 2022-01-07 08:51:34 +01:00
Krzesimir Nowak
6493b12aee eclass/git-r3: Sync with gentoo
It's from gentoo commit 306f1d3694c25f6802985e288ef08c3d9fefcab7.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
8ea3271af0 eclass/flag-o-matic: Support EAPI 0 and 4 2022-01-07 08:51:34 +01:00
Krzesimir Nowak
7514aa2a2a eclass/flag-o-matic: Sync with gentoo
It's from gentoo commit 76a84c525c56fb6ed3fe108d8105f617771bd88f.
2022-01-07 08:51:34 +01:00
Kai Lueke
98b46e042a build_sdk_container_image: force removal of running container
At least with Podman it's not possible to call "container rm" on a
running container without the force flag.
Add the force flag which is also used elsewhere already.
2022-01-06 21:28:30 +01:00
Thilo Fromm
e6a4349355 sdk_lib/Dockerfile.sdk-import: use root user by default
sdk_entry.sh is expected to be called by the root user, so we set USER
root:root. Also we add a "root" entry to passwd and group since it does
not exist in the SDK tarball.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-01-06 20:17:19 +01:00
Kai Lüke
1928852af0
Merge pull request #203 from flatcar-linux/kai/sdk-entry
sdk_lib/sdk_entry: handle permission error for target version file
2022-01-06 19:01:20 +01:00
Kai Lueke
38729ac1dc sdk_lib/sdk_entry: handle permission error for target version file
The creation of the target version file failed:
/home/sdk/sdk_entry.sh: line 32: /build/amd64-usr/etc/target-version.txt: Permission denied
Use root permissions to create the file.
2022-01-06 18:52:40 +01:00
Kai Lüke
5c170c54c3
Merge pull request #199 from flatcar-linux/kai/sdk-podman-support
run/build_sdk_container: support Podman
2022-01-06 18:51:43 +01:00
Kai Lueke
bce3bd9031 run/build_sdk_container: support Podman
When the docker wrapper script for Podman is used, we need to
explicitly create a root user container with "sudo podman".
Podman also has its own bridge for root user containers which we need
to detect, and it requires to explicitly say to use the Docker Hub
Caddy image.
Add a "$docker" variable that uses sudo podman as needed, and also
check which bridge interface to use. The filter had to be changed
because it didn't work with Podman. Use the Docker Hub Caddy image
explicitly.
2022-01-06 18:05:24 +01:00
Krzesimir Nowak
f267889748 Merge pull request #1413 from flatcar-linux/krnowak/eapi-update-2
profiles: Changes related to package updates in portage-stable (getting rid of EAPI 4)
2022-01-06 14:13:18 +01:00
Krzesimir Nowak
5b54b4df2b Merge pull request #246 from flatcar-linux/krnowak/eapi-update-2
Update packages to get rid of EAPI 4
2022-01-06 14:13:16 +01:00
Thilo Fromm
b9d555fdd4
Merge pull request #201 from flatcar-linux/t-lo/sdk-container-ensure-correct-bincache-url
sdk_entry.sh: ensure currect binpkg host
2022-01-06 13:59:54 +01:00
Krzesimir Nowak
c196ea27cd Merge pull request #1547 from flatcar-linux/linux-5.15.13-main
Upgrade Linux Kernel in main from 5.15.12 to 5.15.13
2022-01-06 13:07:24 +01:00
Flatcar Buildbot
6a0bc7b1d0 sys-kernel: Upgrade Kernel 5.15.12 to 5.15.13 2022-01-06 07:23:45 +00:00
Thilo Fromm
8fd5fc8a65 sdk_entry.sh: ensure currect binpkg host
This change ensures the binpkg host is updated if the board (OS) version
differs from the SDK version.

This is to ensure /build/[arch] uses the correct binary package cache.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-01-05 21:03:42 +01:00
Kai Lüke
ee9cc95bac
Merge pull request #200 from flatcar-linux/kai/sdk-container-source-qemu-user
sdk_lib/sdk_entry.sh: use a login shell to source /etc/profile
2022-01-05 18:14:43 +01:00
flatcar-ci
459fcb89c6 sdk_lib/sdk_entry.sh: use a login shell to source /etc/profile
For execution of the compiled binaries in /build/arm64-usr we rely on
qemu-user binfmt emulation and have to tell it where the root is with
QEMU_LD_PREFIX because build systems don't chroot into /build/arm64-usr
themselves (which also works just by chance on amd64 because we have
similar glibc versions and so on). The env var setup was done in
/etc/profile.d/qemu-aarch64.sh but is now not read anymore since the
container runs the shell not as login shell.

Add the login options to the bash and su calls when starting the
container.
2022-01-05 18:06:37 +01:00
Krzesimir Nowak
434b1e9ad2 Merge pull request #263 from flatcar-linux/krnowak/drop-unused-packages
Drop a bunch of unused packages
2022-01-05 16:52:57 +01:00
Kai Lüke
41f6ea4020
Merge pull request #198 from flatcar-linux/kai/submodule-update-allow-push
ci-automation: allow to optionally push and sign the commit
2022-01-05 15:43:47 +01:00
Kai Lueke
e85a16fe1c ci-automation: allow to optionally push and sign the commit
For test builds the commit that updates the submodules can be free-
standing but for releases we need to push it to the branch and also
sign the tag.
Add optional arguments that are used by the tag-release script in
flatcar-build-scripts.
2022-01-05 15:25:31 +01:00
Thilo Fromm
4163920770
Merge pull request #196 from flatcar-linux/t-lo/sdk-container-fix-exact-match
run_sdk_container: use exact match for existing containers
2022-01-05 14:59:44 +01:00
Thilo Fromm
c0e95313ba
Merge pull request #197 from flatcar-linux/t-lo/build_packages-fix-default-torcx-output-root
build_packages: fix default torcx output root
2022-01-05 14:29:44 +01:00
Thilo Fromm
15778e54e9
build_packages: fix default torcx output root
In 9fba5789f95bf79a393c5e35cb2346d3900e29ba we introduced 
--torcx_output_root as an optional command line parameter
and had it default to "${DEFAULT_BUILD_ROOT}", inadvertently 
diverging from the previous default, which was
"${DEFAULT_BUILD_ROOT}/torcx".

This change sets the correct default root "${DEFAULT_BUILD_ROOT}/torcx" to bring
build_packages back into alignment with build_image.
2022-01-05 13:28:49 +01:00
Thilo Fromm
2c8d09192d run_sdk_container: use exact match for existing containers
run_sdk_container uses the sourcetree version to decide whether to
re-use existing containers or create new ones. However, containers were
not matched by exact name - instead, plain --filter name="..." was used,
leading to prefix matching. This change updates name="..." to use
regular expressions for exact matching.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-01-05 09:10:29 +01:00
Jeremi Piotrowski
18f907bbdd Merge pull request #1542 from flatcar-linux/jepio/arm64-ipxe-efi-initramfs-bugfix
sys-kernel/coreos-modules: explicitly enable EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
2022-01-04 17:11:15 +01:00
Jeremi Piotrowski
c5fdedab1f sys-kernel/coreos-modules: explicitly enable EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
We rely on this setting to make iPXE booting work on EFI platforms. In iPXE we
use 2 initramfs': the kernel builtin one and a pxe specific one that contains
the contents of the usr partition. This appears to rely on the EFI stub, which
unpacks the second one based on the passed commandline parameter (initrd=).

This affects arm64 kernels after v5.11 because of this commit:
6edcf9dc2e

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-01-04 13:50:36 +01:00
Krzesimir Nowak
27dbbf6219 Merge pull request #1540 from flatcar-linux/linux-5.15.12-main
Upgrade Linux Kernel in main from 5.15.10 to 5.15.12
2022-01-03 20:04:34 +01:00
Flatcar Buildbot
a22d28e821 sys-kernel: Upgrade Kernel 5.15.10 to 5.15.12 2022-01-03 18:56:49 +00:00
Kai Lüke
5ecd16634c Merge pull request #1536 from flatcar-linux/kai/gh-a-kernel-changelog
.github: Use different kernel changelog file name per version
2022-01-03 16:05:46 +01:00
Kai Lüke
536acc3dab
Merge pull request #195 from flatcar-linux/kai/changelog-format
changelog/README.md: describe purpose of the changelog entries
2022-01-03 16:05:14 +01:00
Kai Lüke
bd3413bed9 Merge pull request #266 from flatcar-linux/kai/changelog-format
changelog/README.md: describe purpose of the changelog entries
2022-01-03 16:05:07 +01:00
Kai Lüke
86d4eab14a Merge pull request #1537 from flatcar-linux/kai/rewrite-bugfix-changelog
changelog: rewrite entry for PR 1502
2022-01-03 16:04:52 +01:00
Jeremi Piotrowski
ff0447d788 Merge pull request #265 from flatcar-linux/jepio/stable-python-certifi
dev-python/certifi: Sync with Gentoo
2022-01-03 15:46:35 +01:00
Kai Lueke
6e97559667 changelog/README.md: describe purpose of the changelog entries
The changelog entries should be directly used for the release notes,
thus they need to be short and hold only information relevant to the
end user, and should be in the markdown bullet point format.
2022-01-03 15:46:22 +01:00
Kai Lueke
88b2789fa3 changelog/README.md: describe purpose of the changelog entries
The changelog entries should be directly used for the release notes,
thus they need to be short and hold only information relevant to the
end user, and should be in the markdown bullet point format.
2022-01-03 15:45:57 +01:00
Kai Lueke
7e9fc87f34 changelog/README.md: describe purpose of the changelog entries
The changelog entries should be directly used for the release notes,
thus they need to be short and hold only information relevant to the
end user, and should be in the markdown bullet point format.
2022-01-03 15:45:00 +01:00
Kai Lueke
fe73ac3844 Revert "changelog/README.md: describe purpose of the changelog entries"
This reverts commit 3a4bb3345e1d70dfe44b4d213088e05a99a23e67.
2022-01-03 15:08:57 +01:00
Kai Lueke
cf7833860e changelog/README.md: describe purpose of the changelog entries 2022-01-03 15:08:25 +01:00
Kai Lueke
75100727e7 changelog: rewrite entry for PR 1502
The used changelog entry format in
https://github.com/flatcar-linux/coreos-overlay/pull/1502 is not really
useful for the release notes. This paragraph is good for the PR
description or a commit message, but here should be a bullet point for
the release notes.
Replace the paragraph by a release notes bullet point.
2022-01-03 14:56:21 +01:00
Kai Lueke
bfca4c3092 .github: Use different kernel changelog file name per version
All runs of the GitHub Action to update the kernel used the same
changelog name, which is a bit confusing when comparing the releases.
Append the version to the filename to avoid using the same name for the
maintenance updates of a channel releases and for the introduction of a
kernel update in main.
2022-01-03 13:58:22 +01:00
Jeremi Piotrowski
69c01e6644 dev-python/certifi: Sync with Gentoo
certifi-2999 distfiles have been removed from mirrors, certifi-3021 is
now marked stable.

Upstream commit 200891884c96538c5c9ebb361c715739a346e2d4.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-01-03 08:58:27 +00:00
Dongsu Park
5273644d27 Merge pull request #1527 from flatcar-linux/firmware-20211216-main
Upgrade Linux Firmware in main from 20211027 to 20211216
2021-12-23 12:30:31 +01:00
Dongsu Park
7bda938f35 Merge pull request #1517 from flatcar-linux/dongsu/add-loop-driver
sys-kernel/bootengine: make dracut install loop driver
2021-12-23 12:26:14 +01:00
Dongsu Park
5cf32ef0a8 sys-kernel/bootengine: make dracut install loop driver
Unlike with Kernel 5.10, dracut does not automatically install `loop.ko`
with Kernel 5.15.
Explicitly install the loop module from the dracut command line.

Pulls in https://github.com/flatcar-linux/bootengine/pull/32
2021-12-23 12:20:13 +01:00
Dongsu Park
30aa7f9ca9 sys-kernel/coreos-firmware: fix cxgb4 version to 1.26.4.0
Fix firmware version of cxgb4 to 1.26.4.0 for linux-firmware 20211216.
2021-12-23 08:45:48 +01:00
Flatcar Buildbot
4f4751ed33 sys-kernel: Upgrade Linux Firmware 20211027 to 20211216 2021-12-23 07:11:59 +00:00
Krzesimir Nowak
edcc436445
Merge pull request #194 from flatcar-linux/krnowak/replace-kinvolk
*: Replace kinvolk github org with flatcar-linux
2021-12-22 17:35:33 +01:00
Krzesimir Nowak
129b0b062c Merge pull request #1524 from flatcar-linux/krnowak/kernel-config
sys-kernel/kernel-modules: Add some configs
2021-12-22 17:34:38 +01:00