Commit Graph

15669 Commits

Author SHA1 Message Date
Thilo Fromm
17512925e7 SDK prefix: implement suggestions from code review
- remove explicit "-multilib" from prefix keywordsas it is set in
  profile
- split heredoc for generating emerge wrapper so we don't need to
  escape
- add sys-apps/bubblewrap and virtual/tmpfiles to package update
  automation list
- use prefix build fix for libgpg-error from upstream

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-09-29 15:22:45 +02:00
Thilo Fromm
ba4342d2b7 Apply suggestions from code review
Thank you @krnowak! Great review and awesome feedback, as always.

Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2023-09-29 15:22:45 +02:00
Thilo Fromm
a4d4a94068 Flatcar SDK: add experimental prefix builds
This change adds experimental prefix builds to the Flatcar SDK.

Prefix builds use a custom sys prefix path and emerge all binaries and
runtime dependencies into that prefix.

This path can then e.g. be shipped as a portable sysext since it
includes all dependencies, and has libraries at a custom path so these
do not conflict with libraries on target systems.

Prefix uses a staging environment (path) featuring a full-blown
development environment, and a "final" environment for installing.
Staging and final need to be created using setup_prefix first,
which will also create an emerge wrapper to emerge ebuilds into staging
and subsequently final. The root fs in final may then e.g. be used to
create a distro independent, portable sysext.

Co-authored-by: James Le Cuirot <chewi@gentoo.org>
Co-authored-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Co-authored-by: Thilo Fromm <thilofromm@microsoft.com>
2023-09-29 15:22:45 +02:00
Flatcar Buildbot
71ab9b1064 overlay coreos/config: Start installing default openssh configs
The configs provided by the openssh and Gentoo projects usually keep
everything commented out, meaning that the default values will be
used. On top of that, they will also include snippets in the snippet
directory. As such, start installing the default configs. We only mask
a snippet that defines sftp subsystem, because we provide our own
config snippet from coreos-base/misc-files that defines it.
2023-09-29 13:47:34 +02:00
Flatcar Buildbot
88b653b1a5 overlay coreos-base/oem-gce: Update oslogin enablement
We will be installing an sshd config snippet instead of replacing the
whole sshd config. In order to pull this off, we need to make sure
that the snippets directory exists and the main sshd config file
actually includes the snippets in the directory.
2023-09-29 13:47:34 +02:00
Flatcar Buildbot
e983b8fb50 overlay app-emulation/wa-linux-agent: Update ssh config setup
This commit updates our Flatcar patch with a code that will install an
sshd config snippet instead of editing the main sshd config file if
snippets directory exists.
2023-09-29 13:47:34 +02:00
Flatcar Buildbot
8151bc3154 overlay sys-auth/google-oslogin: Add an sshd config snippet
The sshd config provided by this package is now marked as provided for
compatibility only - it will be there in case there is still a symlink
in /etc pointing to it. The new config snippet will be used by the
enable oslogin stuff in the updated coreos-base/oem-gce package in
following commits.
2023-09-29 13:47:34 +02:00
Flatcar Buildbot
d698526730 overlay coreos-base/coreos-init: Pull in ssh config removal
The configs were moved to coreos-base/misc-files. In the meantime,
update python compatibility and drop unused USE flag and an obsolete
README file.
2023-09-29 13:47:07 +02:00
Flatcar Buildbot
29c85a2781 overlay profiles: Enable openssh symlink installation on generic images 2023-09-29 07:42:48 +02:00
Flatcar Buildbot
af874a04e2 overlay coreos-base/misc-files: Import Flatcar modifications for openssh
- Import and update configs for ssh client and daemon from the
  flatcar/init repository. These configs have now became snippets that
  the main configuration file will include.

- Install a drop-in file for the ssh.socket unit disabling the rate
  limiting.

- Install compatibility symlinks in old ssh config locations that will
  point to respective files in /usr/share/flatcar/etc.

- Make all these actions optional - openssh USE flag needs to be
  enabled. That way, generic images can pull those changes, while SDK
  can avoid doing so.
2023-09-29 07:42:48 +02:00
Krzesimir Nowak
50cb35e9b3 overlay profiles: Add accept keywords for net-misc/openssh 2023-09-29 07:42:48 +02:00
Krzesimir Nowak
51e1bd31b5 overlay net-misc/openssh: Apply Flatcar modifications
None of these modifications are Flatcar-specific. We are trying to
upstream them in https://github.com/gentoo/gentoo/pull/31615. When
they reach Gentoo, we can move net-misc/openssh to portage-stable.
2023-09-29 07:42:48 +02:00
Krzesimir Nowak
21c3c57ce9 net-misc/openssh: Sync with Gentoo
It's from Gentoo commit 5b974a3c903327b37f46a0212bf397ef634a67fd.
2023-09-29 07:42:48 +02:00
flatcar-ci
96088a2e14 New version: main-3741.0.0-nightly-20230928-2100 2023-09-28 21:00:25 +00:00
Krzesimir Nowak
bfea5ae064
Merge pull request #1177 from flatcar/buildbot/weekly-portage-stable-package-updates-2023-09-25
Weekly portage-stable package updates 2023-09-25
2023-09-28 16:10:46 +02:00
Kai Lüke
75c9eb47ef
Merge pull request #1198 from flatcar/kai/omaha-sha256
update_engine/init: Use Omaha hash_sha256 attribute for OEM packages
2023-09-28 16:07:05 +02:00
Kai Lueke
64b9f3df87 update_engine/init: Use Omaha hash_sha256 attribute for OEM packages
This pulls in
https://github.com/flatcar/update_engine/pull/26
and
https://github.com/flatcar/init/pull/108
to use the newer Omaha hash_sha256 attribute.
2023-09-28 15:22:52 +02:00
flatcar-ci
bc2e604b59 New version: main-3740.0.0-nightly-20230927-2100 2023-09-27 21:00:28 +00:00
Krzesimir Nowak
781e5c8712 overlay profiles: Add accept keywords for sys-devel/gcc 2023-09-27 17:04:19 +02:00
Krzesimir Nowak
72a4bf71e3 overlay profiles: Add accept keywords for sys-process/procps-4.0.4 2023-09-27 17:04:19 +02:00
Krzesimir Nowak
1ab03057be overlay profiles: Add accept keywords for app-crypt/mit-krb5 2023-09-27 17:04:19 +02:00
Krzesimir Nowak
52e0782e51 overlay profiles: Update accept keywords for net-misc/curl 2023-09-27 17:04:13 +02:00
Krzesimir Nowak
2ec2f288a4 overlay profiles: Add accept keywords for net-dns/bind-tools 2023-09-27 17:02:44 +02:00
Krzesimir Nowak
f496c943e3 overlay profiles: Updated accept keywords for dev-libs/libgcrypt 2023-09-27 17:02:44 +02:00
Flatcar Buildbot
98313b32fa virtual/editor: Sync with Gentoo
It's from Gentoo commit 2959c607d3cbb718dce385b55e2d0fb5ea016e6c.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
1ec15bf254 sys-libs/libnvme: Sync with Gentoo
It's from Gentoo commit d1288e2fe17adb3dacd2ab3f1b415c4ed45136d4.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
93dd0285c1 sys-fs/e2fsprogs: Sync with Gentoo
It's from Gentoo commit 4af7650ee0d53f3c8a6ff2a797b822c718de1af0.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
6817aa442b sys-devel/gettext: Sync with Gentoo
It's from Gentoo commit 7b59174ad2324f8d56bb3467c15954eab3961ea9.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
ebd08984af sys-devel/gcc-config: Sync with Gentoo
It's from Gentoo commit 2ec9739d7cca1a38bd9b3c058c99dd1b58bf09d3.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
236d97af2c sys-devel/gcc: Sync with Gentoo
It's from Gentoo commit 9ee25f02fcb2f92884a64becf5ba618da96d6402.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
9efdd81328 sys-devel/crossdev: Sync with Gentoo
It's from Gentoo commit 4b0f853b602306103adb7a6db9965502fc925f84.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
cd3d065c3b sys-devel/binutils-config: Sync with Gentoo
It's from Gentoo commit 994104f48c43fb8660b54875ac8709215f554eb3.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
2d94039c14 sys-block/thin-provisioning-tools: Sync with Gentoo
It's from Gentoo commit d4d007aac8769809cdf3396100ce5030f980bfa2.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
a2fddbb005 sys-apps/texinfo: Sync with Gentoo
It's from Gentoo commit 887288c471e98185a4d3a0780bdafbd8b86482ff.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
bff30c2ef6 sys-apps/man-db: Sync with Gentoo
It's from Gentoo commit 6e87ef01b974f2c9bb33c0d4dc1404789679a759.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
ad3979e27a sys-apps/kbd: Sync with Gentoo
It's from Gentoo commit 8f6f8dd02e2c34517718402ebdad08ecf63d5869.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
05177628d7 sys-apps/iproute2: Sync with Gentoo
It's from Gentoo commit 41395a1bb3198b2934b87b665eb217251f59aef2.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
429809f26f sys-apps/hwdata: Sync with Gentoo
It's from Gentoo commit a5f9b359fefdfbf7ad8a8de947b5f34a85fffee6.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
3c5ce08e17 sys-apps/ethtool: Sync with Gentoo
It's from Gentoo commit 6d6c8a73ce2d943680148529ecfe90fe24c074b3.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
6186705195 sys-apps/dtc: Sync with Gentoo
It's from Gentoo commit 0428966db63c13fc0142f0500e5c44895793eb37.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
f1f4dae538 profiles: Sync with Gentoo
It's from Gentoo commit b84f0b5353205a6ba121bf3d0ef64bff9e26e8c2.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
b6417c2c0b net-nds/openldap: Sync with Gentoo
It's from Gentoo commit 882f65b95b2861417792352abeeb6721402bfcfe.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
f27919abbe net-misc/iperf: Sync with Gentoo
It's from Gentoo commit 49cb7d909e0d07c95e79a4d3bd8eb61216fedf22.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
825813ff27 net-misc/curl: Sync with Gentoo
It's from Gentoo commit b6ec58af73546948642a4239300bfe22b4953113.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
512f9d8efe net-firewall/ipset: Sync with Gentoo
It's from Gentoo commit 255821bba09149ea22088953073f77df7239b490.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
f0f6a23eaf net-dns/bind-tools: Sync with Gentoo
It's from Gentoo commit ad2513fdf1ab27f7a383bda2e8f488f35353511d.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
597ef8bb2e licenses: Sync with Gentoo
It's from Gentoo commit 72b32500018820bd7cd6125aea5a43efce56a39c.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
8072521322 eclass/verify-sig: Sync with Gentoo
It's from Gentoo commit 9e9067d309e8b9f8a73b2312d409883f348b0ea5.
2023-09-27 17:02:44 +02:00
Flatcar Buildbot
0a13033827 eclass/toolchain: Sync with Gentoo
It's from Gentoo commit 6302dd47e23ee32cfcb446355704ba8bc61b668e.
2023-09-27 17:02:43 +02:00
Flatcar Buildbot
218d629e4a eclass/python-utils-r1: Sync with Gentoo
It's from Gentoo commit 93a87f4f59eb62356f2d2cc45c6cb252cf865e11.
2023-09-27 17:02:43 +02:00