22893 Commits

Author SHA1 Message Date
Krzesimir Nowak
b1d75df15c eclass/desktop: Sync with gentoo
It's from gentoo commit f6212ee060d6a2962ac27cf57ffd721d14b64215.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
d532eb6390 eclass/eutils: Support EAPI 0 and 4 2022-01-07 08:51:34 +01:00
Krzesimir Nowak
cf383e6edf eclass/eutils: Sync with gentoo
It's from gentoo commit 48651ecc0d4444536ed15b06736e331238b6f92b.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
734cccb114 eclass/eapi7-ver: Sync with gentoo
It's from gentoo commit 18a01a9ed1bf8132464a0104344b976804912e4d.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
122700c07a eclass/cmake-utils: Sync with gentoo
It's from gentoo commit 23dd6ff48a93ecd3c1e02fe61f18bd5288207d9c.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
84dd601560 eclass/cmake: Sync with gentoo
It's from gentoo commit 3a93d23f14886170b0c33a416aaad7bb70f15256.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
6d921008d6 eclass/multilib-minimal: Support EAPI 4 2022-01-07 08:51:34 +01:00
Krzesimir Nowak
57ca064a75 eclass/multilib-minimal: Sync with gentoo
It's from gentoo commit 4f7f10044d8f647292fd88b16f18012bc987c4b8.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
c3cbaf1fb2 eclass/toolchain-funcs: Support EAPI 4 2022-01-07 08:51:34 +01:00
Krzesimir Nowak
aa96af3048 eclass/toolchain-funcs: Sync with gentoo
It's from gentoo commit 1010cde56c21432c19c2dd5fa2a901e6fe82329d.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
a58b103f26 eclass/multiprocessing: Support EAPI 0 and 4 2022-01-07 08:51:34 +01:00
Krzesimir Nowak
ab2a0d9f2a eclass/multiprocessing: Sync with gentoo
It's from gentoo commit dbc4faf304995e2f20c4d98f714bb8cfde76a329.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
6229813ce8 eclass/cmake-multilib: Support EAPI 6 2022-01-07 08:51:34 +01:00
Krzesimir Nowak
9142c184e9 eclass/cmake-multilib: Sync with gentoo
It's from gentoo commit e97c8246b1b81c5e79480af3e152fab5df4ff3d2.
2022-01-07 08:51:34 +01:00
Krzesimir Nowak
907b109ff9 eclass/autotools: Support EAPI 0 and 4 2022-01-07 08:51:34 +01:00
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