Commit Graph

7882 Commits

Author SHA1 Message Date
Krzesimir Nowak
7ae17b938f Merge pull request #1525 from flatcar-linux/krnowak/no-eapi-update
Get rid of EAPI 0
2022-01-20 08:17:35 +01:00
Flatcar Buildbot
cf042a7e72 app-emulation: Upgrade Runc 1.0.3 to 1.1.0 2022-01-19 11:14:29 +00:00
Mathieu Tortuyaux
746b47fc24 Merge pull request #1572 from flatcar-linux/tormath1/openssl
dev-libs/openssl: sync with the upstream
2022-01-18 18:05:49 +01:00
Mathieu Tortuyaux
9bb21c4ce1 profiles/keywords: remove openssl
openssl is marked as stable directly into the Flatcar modifications
commit.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-01-18 17:03:58 +01:00
Mathieu Tortuyaux
6b16187adc profiles/coreos: unmask openssl-3
upstream has masked openssl-3 for tracking build failures. Since we are
not impacted by this failures, we can safely unmask openssl-3.

See: https://github.com/flatcar-linux/Flatcar/issues/418 for Flatcar's
dependencies.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-01-18 16:59:40 +01:00
Mathieu Tortuyaux
b172cf5e6a changelog: add entries
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-01-18 16:59:40 +01:00
Mathieu Tortuyaux
1a76d69d8d dev-libs/openssl: Apply Flatcar modifications
- drop `pkg_postint`
- create `/etc/ssl` with tmpfiles
- remove unecessary files
- mark openssl as stable for arm64 and amd64

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-01-18 16:59:40 +01:00
Krzesimir Nowak
b1018c0c3d Merge pull request #1573 from flatcar-linux/krnowak/eapi-update
Changes related to app-arch updates
2022-01-18 16:02:16 +01:00
Flatcar Buildbot
5a4e61fcd0 sys-kernel: Upgrade Kernel 5.15.14 to 5.15.15 2022-01-17 19:15:49 +01:00
Krzesimir Nowak
d4af97831d profiles: Drop keywords for app-arch/pigz
The updated version is stable for both amd64 and arm64.
2022-01-17 18:41:32 +01:00
Krzesimir Nowak
65d14d65d4 profiles: Drop keywords for app-arch/pbzip2
The updated version is stable for both amd64 and arm64.
2022-01-17 18:40:12 +01:00
Mathieu Tortuyaux
42aec3a36b dev-libs/openssl: sync with the upstream
Commit-Ref: b258e2593e406538c8ca5029d027f315edc44843

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-01-17 17:00:31 +01:00
Krzesimir Nowak
275990beb0 app-arch/bzip2: Move back to portage-stable
We used to keep the package in overlay, because we dropped one Gentoo
patch to avoid some failures when applying updates when updating
payloads. This issue was fixed in bzip2 in a smarter way - we know
this, because we used 1.0.8 version with the fix and we didn't have
any problems so far. No point in keeping the package in overlay then.
2022-01-14 20:09:41 +01:00
Krzesimir Nowak
da18e43918 sys-libs/berkdb: Drop unused package 2022-01-14 15:08:46 +01:00
Krzesimir Nowak
9fb7e90be0 profiles: Drop virtual/cdrtools keywords
The virtual/cdrtools package is being dropped in portage-stable.
2022-01-14 15:08:46 +01:00
Krzesimir Nowak
fd3e1e3f27 coreos-base/hard-host-depends: Replace virtual/cdrtools with app-cdr/cdrtools
The virtual/cdrtools package is being dropped in portage-stable.
2022-01-14 15:08:46 +01:00
Krzesimir Nowak
d98a0ac0ca Merge pull request #1548 from flatcar-linux/krnowak/update-profiles
Drop obsolete stuff after updating profiles
2022-01-14 14:38:23 +01:00
Jeremi Piotrowski
bdb48fd89a Merge pull request #1564 from flatcar-linux/jepio/fix-mirror-calico
.github: find latest calico tag when mirroring
2022-01-14 11:05:47 +01:00
Mathieu Tortuyaux
23df672492 Merge pull request #1565 from flatcar-linux/tormath1/selinux
sys-apps/policycoreutils: fix policy root path
2022-01-14 10:18:24 +01:00
Mathieu Tortuyaux
0659f6295f Merge pull request #1563 from flatcar-linux/tormath1/mantle
coreos-devel/mantle: bump with 0.18.0
2022-01-14 10:17:22 +01:00
Mathieu Tortuyaux
832bdb51fc sys-apps/policycoreutils: fix policy root path
root needs to be specified with -p instead of -S.
The policy dir (-S) defaults to (-p) + /var/lib/selinux/ + (-s).

Picked from upstream: 54a8322d18

Closes: https://github.com/flatcar-linux/Flatcar/issues/596
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-01-14 09:57:39 +01:00
Jeremi Piotrowski
886b11bf1d .github: find latest calico tag from tigera operator
The mirror-calico workflow has been failing because it currently determines
version=v3.22.0-0.dev-typha, which is not the tag used by the individual
container images. Rewrite the version logic to determine the version based on
what is in the tigera operator manifest. This is the same manifest that we use
to deploy calico in mantle.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-01-13 14:44:04 +01:00
Krzesimir Nowak
1cca5f4eeb Merge pull request #1556 from flatcar-linux/krnowak/iputils-update
Changes for net-misc/iputils update
2022-01-13 11:46:47 +01:00
Krzesimir Nowak
a2ff448eb2 Merge pull request #1560 from flatcar-linux/linux-5.15.14-main
Upgrade Linux Kernel in main from 5.15.13 to 5.15.14
2022-01-13 11:40:44 +01:00
Krzesimir Nowak
2d5ef69eed sec-policy/selinux-base-policy: Add a patch for ping
This is to allow users to run ping -I with some IP address or network
interface.

Patch based on:

https://github.com/fedora-selinux/selinux-policy/pull/403
2022-01-12 18:09:50 +01:00
Krzesimir Nowak
6f3975b9b1 sec-policy/selinux-base: Add patch for ping
The patch adds stuff that another patch in
sec-policy/selinux-base-policy will use to allow user to call "ping -I
<IPADDRESS>".

Patch based on:

https://github.com/fedora-selinux/selinux-policy/pull/403
2022-01-12 18:08:58 +01:00
Mathieu Tortuyaux
96bac22bc0 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-01-12 17:14:33 +01:00
Mathieu Tortuyaux
e155b78955 coreos-devel/mantle: sync with upstream release
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-01-12 17:11:30 +01:00
Kai Lueke
59ad0cd262 changelog/security: use right format for release notes 2022-01-12 17:00:26 +01:00
Kai Lueke
a7da13d660 changelog/README.md: specify current security fix section format
The entries added in changelog/security/ do not follow our existing
security section in the release notes:
  https://www.flatcar.org/releases/#release-3033.2.0

Document the structure and an example to use the right format that we
need for release note generation.
2022-01-12 16:53:59 +01:00
Kai Lueke
fe514f5b25 sys-kernel/bootengine: Fixed dracut emergency log printing script error
This pulls in
https://github.com/flatcar-linux/bootengine/pull/33
to fix the cat command invocation.
2022-01-12 16:07:58 +01:00
Krzesimir Nowak
42451654bf profiles: Update use flags for net-misc/iputils
The net-misc/iputils package never provided the traceroute binary,
only traceroute6, which is probably why the use flag got renamed to
traceroute6 too.
2022-01-12 15:45:26 +01:00
Flatcar Buildbot
3d01e98cdb sys-kernel: Upgrade Kernel 5.15.13 to 5.15.14 2022-01-12 07:24:30 +00: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
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
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
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
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
Flatcar Buildbot
7cb3795b44 app-emulation: Upgrade Containerd 1.5.8 to 1.5.9 2022-01-07 08:24:14 +00: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
Flatcar Buildbot
6a0bc7b1d0 sys-kernel: Upgrade Kernel 5.15.12 to 5.15.13 2022-01-06 07:23:45 +00: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
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 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
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
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
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
8e14045ef6 changelog: Add changes entry 2021-12-22 17:31:40 +01:00
Krzesimir Nowak
de51ac927d sys-kernel/kernel-modules: Add some configs
`net-libs/libnetfilter_cthelper` needs CONFIG_NF_CT_NETLINK_HELPER.
CONFIG_NET_VRF was requested by a user. CONFIG_KEY_DH_OPERATIONS is
useful for `sys-apps/keyutils`. Rest of the added configs are
dependencies.
2021-12-22 17:31:40 +01:00
Mathieu Tortuyaux
7bfcb5bd97 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-12-21 17:34:26 +01:00
Mathieu Tortuyaux
0ccac06e44 profiles/coreos/base: backport iproute2 ELF support
enables ELF support to e.g. allow tc to handle BPF filters.

It has been dropped in this commit: 406576c5e5

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-12-21 17:30:44 +01:00
Flatcar Buildbot
fdd76cdd38 sys-kernel: Upgrade Kernel 5.15.7 to 5.15.10 2021-12-21 10:35:25 +00:00
Krzesimir Nowak
4b6212d6be Merge pull request #1516 from flatcar-linux/cacerts-3.73.1-main
Upgrade ca-certificates in main from 3.73 to 3.73.1
2021-12-21 11:32:49 +01:00
Krzesimir Nowak
fe7aa35735 Merge pull request #1518 from flatcar-linux/krnowak/kernel-versions-in-changelog
.github: Reflect more kernel versions in the changelog
2021-12-21 11:27:35 +01:00
Krzesimir Nowak
5d3ffc9a27 .github: Reflect more kernel versions in the changelog
It happens that kernel update PRs are created faster than we merge
them. In such case we create version gaps in the changelog. Remedy
that by adding links to all the released kernel versions between the
current one and the just released one.
2021-12-20 17:57:39 +01:00
Kai Lueke
c50ac09c8d coreos-base/coreos-init: exclude bridge ifaces from the DHCP config
This pulls in https://github.com/flatcar-linux/init/pull/56
to find a generic way of preventing conflicts with CNI interfaces that
shouldn't use DHCP and were matched by name to be set Unmanaged.
2021-12-20 17:52:50 +01:00
Flatcar Buildbot
53f4211383 app-misc: Upgrade ca-certificates 3.73 to 3.73.1 2021-12-20 07:25:04 +00:00
Dongsu Park
108d8055d8 Merge pull request #1501 from flatcar-linux/docker-20.10.12-main
Upgrade Docker in main from 20.10.11 to 20.10.12
2021-12-17 18:19:44 +01:00
Kai Lüke
8de62b022b Merge pull request #1504 from flatcar-linux/kai/xtables-lock
coreos-base/coreos-init: ensure /run/xtables.lock exists
2021-12-17 15:33:04 +01:00
Kai Lueke
144babe05e coreos-base/coreos-init: ensure /run/xtables.lock exists
This pulls in https://github.com/flatcar-linux/init/pull/57
to make sure the /run/xtables.lock file exists for coordination of
xtables modifications.
2021-12-17 14:15:24 +01:00
Flatcar Buildbot
55ef6c2129 app-emulation: Upgrade Docker 20.10.11 to 20.10.12 2021-12-17 14:04:35 +01:00
Dongsu Park
2c29204ba2 Merge pull request #1254 from flatcar-linux/dongsu/portage-3.0.20
sys-apps/portage: update to 3.0.28-r1 for EAPI 8
2021-12-17 14:00:16 +01:00
Dongsu Park
2193cf8fce profiles: enable USE flag xml for portage to avoid build failures
Add xml USE flag for dev-lang/python to avoid build failures during SDK
stage2. We need to add that to BOOTSTRAP_USE, not ordinary USE flags:

```
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
 # required by dev-python/setuptools-57.5.0::portage-stable[python_targets_python3_9]
 # required by dev-python/pyparsing-2.4.7-r1::portage-stable
 # required by dev-python/packaging-21.0::portage-stable
 # required by dev-python/setuptools_scm-6.3.2::portage-stable
 >=dev-lang/python-3.9.8 xml
```
2021-12-17 10:10:57 +01:00
Krzesimir Nowak
2dcb135d6b sys-apps/portage: Apply Flatcar modifications and document them
Adjust the Flatcar patch on top of sys-apps/portage 3.0.28-r1.

Based on commit 2ec22d99b039d4ae8a2cfdefee580709fb1d3915.
2021-12-17 10:10:53 +01:00
Krzesimir Nowak
52c0685d0f sys-process/audit: Apply Flatcar modifications 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
25b036f454 sys-process/audit: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
f00411020d sys-libs/libsemanage: Apply Flatcar modifications 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
c73223ae75 sys-libs/libsemanage: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
f20b390fca sys-libs/glibc: Apply Flatcar modifications
- unmask amd64 and arm64
  - take care of nscd.conf via tmpfiles, add files/nscd-conf.tmpfiles.
  - don't run sanity checks in pkg_pretend to prevent gcc checks when
    only the binary package is installed.
  - comment out 'dostrip -x' to force the OS image binaries to be stripped
  - remove everything glibc wants to put under /etc since we use
    baselayout to provide that
2021-12-16 19:51:47 +01:00
Krzesimir Nowak
c434f9b25f sys-libs/glibc: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
ac02d91d1f sys-libs/glibc: Port to tmpfiles eclass 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
c82e4e92f9 sys-block/open-iscsi: Apply Flatcar modifications 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
926b66861c sys-block/open-iscsi: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
d21dfd4f93 sys-auth/sssd: Apply Flatcar modifications
- Make BDEPEND independent from DEPEND (The `BDEPEND` is a
    build-time requirement, so it should not be included in the whole
    `DEPEND` list. If it does, an installation of `sys-auth/sssd`
    causes other dependencies to be installed not only in the
    `/build`, but also under the SDK. That's not what we want, so we
    need to exclude `BDEPEND` from the list.)

  - Move runstatedir option from configure to make (Now that the
    upstream sssd 2.3.1 does not support `--runstatedir` option from
    its configure script, we need to remove the option, to unblock the
    configure issue like `unrecognized option --runstatedir`.  Instead
    we need to pass `runstatedir=` to emake commands.)

  - Disable realm check for nsupdate (At the moment bind-tools does
    not enable `gssapi`, so its `nsupdate` tool is also not able to
    run `realm` command. As a result, configure script of `sssd` fails
    when running `echo realm | nsupdate`, like `syntax error`.

    To avoid such issues, we need to disable the nsupdate check for
    now.  After we could enable `gssapi` for the SDK correctly, we can
    bring back the nsupdate check in the future.)

  - Add patch for CVE-2021-3621

  - Set the conf dir path explicitly (Without passing the
    --with-systemdconfdir flag, the configure script will query
    pkg-config for the directory itself. In the cross-compilation
    setup that we have, this will result in a path sysroot prepended
    to the path twice. systemd.eclass has a workaround for this issue,
    but it does not provide an elegant getter of the system
    configuration directory, thus we call `_systemd_get_dir`
    ourselves.)

  - Make it compatible with newer python versions.
2021-12-16 19:51:47 +01:00
Krzesimir Nowak
8701aa0a72 sys-auth/sssd: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
4901c02cd6 sys-auth/realmd: Port to tmpfiles eclass 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
32b5a0dee7 sys-auth/polkit: Apply Flatcar modifications
- apply duktape patchset from
    https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/35
    (this should be re-fetched from the above MR when forward-porting
    to updated polkit versions.)
  - fix config install paths, use systemd-tmpfiles (All configs should
    be installed to /usr and tmpfiles should be used to create and fix
    directory permissions instead of the ebuild's postinst.)
2021-12-16 19:51:47 +01:00
Krzesimir Nowak
f09c1fe20e sys-auth/polkit: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
0949fb6ee3 sys-apps/systemd: Port to tmpfiles eclass 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
0a907f6ffb sys-apps/shadow: Apply Flatcar modifications
- Carry over our custom tmpfiles and securetty files
  - Remove /etc files and install them to /usr, use tmpfiles
  - Switch /etc/login.defs edits to /usr/share/shadow/login.defs
  - Drop moving passwd out of /usr since we don't have split-usr
  - Drop pkg_postinst
2021-12-16 19:51:46 +01:00
Krzesimir Nowak
221b8f3455 sys-apps/shadow: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
c5e8ec0fc9 sys-apps/keyutils: Apply Flatcar modifications 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
f6a355da10 sys-apps/keyutils: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
03c56caf2e sys-apps/baselayout: Port to tmpfiles eclass 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
3227e5614c sec-policy/selinux-base: Apply Flatcar modifications
- run sshd (and child) as unconfined_t
  - add init.patch to allow execute_no_trans,map and exec from init to
    unconfined
  - add AVC patch for local login and journald
  - add python[lxml] to BDEPEND (not pulled through policycoreutils
    any more due to our changes there)
2021-12-16 19:51:46 +01:00
Krzesimir Nowak
3fe352040a sec-policy/selinux-base: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
076251ff56 net-misc/ntp: Apply Flatcar modifications
- Check out our previous ntp.conf and service units
  - Disable USE=threads
  - Add USE=perl, disabled to skip the scripts subdir
  - Do the /etc -> /usr/share + tmpfiles dance for ntp.conf
  - Drop unused init scripts and pkg_postinst
2021-12-16 19:51:46 +01:00
Krzesimir Nowak
e5a4653591 net-misc/ntp: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
6c8076e272 net-fs/samba: Apply Flatcar modifications
- Add a minimal USE flag for only installing libraries
  - Change the Perl and Python run-time deps to build-time only
  - Drop a bunch of dependencies with broken cross-compilation
  - Enable using bundled libraries in their place
  - Disable building libraries requiring Python
  - Use EAPI7
  - Move libsxlt and stylesheets to BDEPEND
  - Introduce some USE flags, so we don't install some tools we don't
    need
  - Limit the size of bundled libraries
  - Make it compatible with newer python versions
  - Bump to r2 because of updating EAPI to 7
2021-12-16 19:51:46 +01:00
Krzesimir Nowak
c5eb243890 net-fs/samba: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
e2c80f8dea net-fs/nfs-utils: Apply Flatcar modifications
- Add the tmpfiles configuration for populating /var
  - Add service compatibility symlinks (maybe time to drop them)
  - Drop moving a binary from /usr/sbin to /sbin
  - Drop populating /etc and /var
  - Drop pkg_postinst
2021-12-16 19:51:46 +01:00
Krzesimir Nowak
63490fac0c net-fs/nfs-utils: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
cc795e270a dev-libs/openssl: Apply Flatcar modifications
- drop `pkg_postint`
- create `/etc/ssl` with tmpfiles
2021-12-16 19:51:46 +01:00
Krzesimir Nowak
f6983eb7b2 dev-libs/openssl: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
e8c04ce6c4 dev-libs/cyrus-sasl: Apply Flatcar modifications 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
0366286350 dev-libs/cyrus-sasl: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
13bb7c3bf3 coreos-base/update_engine: Port to tmpfiles eclass 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
1e5df051b4 app-misc/ca-certificates: Port to tmpfiles eclass 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
d126cac468 app-crypt/trousers: Apply Flatcar modifications 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
b0603768b4 app-crypt/trousers: Clean slate to reapply our changes 2021-12-16 19:51:46 +01:00
Krzesimir Nowak
36f9f88e72 app-admin/etcd-wrapper: Port to tmpfiles eclass 2021-12-16 19:51:46 +01:00
Thilo Fromm
6038166dc1 policycoreutils semodule fix: add bugfix changelog
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-12-16 18:48:06 +01:00
Krzesimir Nowak
e90c32752e profiles: Drop keywords for sys-boot/gnu-efi
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
de8b243fa6 profiles: Update use flags for sys-apps/smartmontools
There is no minimal use flag any more, but it was more or less the
same as no daemon and no update drive database. We also disable
systemd integration, because it's only related to the daemon
functionality that we disabled.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
9121acd2d5 profiles: Drop keywords for sys-apps/smartmontools
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
d7cb798efe profiles: Drop keywords for sys-apps/pv
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
0629654e35 profiles: Drop keywords for sys-apps/lshw
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
05f4917972 profiles: Drop keywords for sys-apps/dtc
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
47d0b22c6c profiles: Drop keywords for sys-apps/debianutils
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
ae01f6c8cb profiles: Drop keywords for net-firewall/ipset
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
6f66a9ecd9 profiles: Drop keywords for net-dialup/minicom
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
6739933bcf profiles: Drop keywords for dev-cpp/glog
The updated package is stable for arm64 too now.
2021-12-16 14:03:08 +01:00
Krzesimir Nowak
94d80b99ae profiles: Drop app-misc/editor-wrapper keywords
The old version of the package didn't have a keyword for arm64. We
just updated it and it's stable for arm64 too, rendering the entry in
accept_keyword unnecessary.
2021-12-16 14:03:08 +01:00
Thilo Fromm
99ab4bc73c sys-apps/policycoreutils: guard against empty ${ROOT}
Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2021-12-16 13:56:51 +01:00
Thilo Fromm
58294f287f sys-apps/policycoreutils: update correct SELinux store
The policycoreutils ebuild calls `semodule` in postinst to update SELinux stores.
It does not, however, tells `semodule` the correct ROOT to use, so builds that go into `/build/[arch]-usr` end up updating the SDK's store.
Fixes 
   libsemanage.semanage_commit_sandbox: Error while renaming /var/lib/selinux/targeted/active to /var/lib/selinux/targeted/previous. (Invalid cross-device link)
observed when using the SDK Container to build the OS image.
It now also updates the correct store, which it previously did not.
2021-12-16 13:56:51 +01:00
Dongsu Park
c9017c62b8 sys-apps/portage: update to 3.0.28-r1 for EAPI 8
To be able to support EAPI 8 used by a few ebuilds nowadays, we need to
update sys-apps/portage to 3.0.28-r1. Simply sync with Gentoo.
2021-12-16 13:52:59 +01:00
Mathieu Tortuyaux
46f9a0bdda Merge pull request #1484 from flatcar-linux/tormath1/mirror
.github/wf: add mirror-calico action
2021-12-16 13:44:07 +01:00
Mathieu Tortuyaux
748baac625 app-emulation/containerd: update manifest
The length of the shorthand commit hash is not constant.
It varies depending on the number of commits in the repo and
it lengthens as necessary to avoid hash conflicts.

When you download GitHub achives, these values are filled.

See also:
* https://github.com/containerd/containerd/discussions/6382
* https://github.com/google/ko/issues/315#issuecomment-783718564

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-12-16 11:08:14 +01:00
Dongsu Park
4240f03432 Merge pull request #1495 from flatcar-linux/dongsu/gce-oslogin-sshd-config
sys-auth/google-oslogin: accept ssh-rsa in sshd_config for openssh 8.8
2021-12-13 19:09:25 +01:00
Dongsu Park
ac7e8b2232 sys-auth/google-oslogin: accept ssh-rsa in sshd_config for openssh 8.8
Temporarily accept ssh-rsa algorithm in sshd_config for openssh >= 8.8,
until most ssh clients could deprecate ssh-rsa.

It is the same fix as https://github.com/flatcar-linux/init/pull/54.
However, we should do that again for GCE, because the google-oslogin
ebuild overwrites the existing sshd_config.
2021-12-13 15:10:24 +01:00
Krzesimir Nowak
d61e4c0da5 changelog: Add entry for update of python 2021-12-10 17:31:12 +01:00
Krzesimir Nowak
659054b567 app-emulation/qemu: Move to portage-stable
The ebuild has no Flatcar modifications now.
2021-12-10 17:26:19 +01:00
Krzesimir Nowak
766b1a9d6b dev-python/boto: Apply Flatcar modifications 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
3598bbbe98 dev-python/boto: Import from portage-stable 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
03048d2445 dev-python/distro-oem: Depend on new version of python-oem 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
2bc34d1da7 app-emulation/wa-linux-agent: Depend on new version of python-oem 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
d19d339f88 coreos-devel/sdk-depends: Add app-eselect/eselect-python to deps
It used to be pulled in by dev-lang/python, but not any more. It is
needed for running fsscript during stage4 of SDK build to set up the
default python interpreter.
2021-12-10 17:26:19 +01:00
Krzesimir Nowak
4c4b6192f9 net-misc/google-cloud-sdk: Properly use the python single eclass
If python-single-r1.eclass is inherited, then PYTHON_USEDEP can't be
used directly inside dependency variable - either PYTHON_SINGLE_USEDEP
(for single-python-impl packages) should be used or the dependency
should be wrapped into python_gen_cond_dep function (for
multi-python-impl packages). crcmod is a multi-python-impl package, so
use the latter.

Also follow the practice of specifying the BDEPEND in terms of
RDEPEND. For this, we need to bump the EAPI to 7.
2021-12-10 17:26:19 +01:00
Krzesimir Nowak
54dbfd2cf4 sys-auth/sssd: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
08b4623745 sys-apps/systemd: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
9b5573feba net-firewall/nftables: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
7888ad939b sys-apps/dbus: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
735bb27c90 sys-libs/libsemanage: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:19 +01:00
Krzesimir Nowak
204a36b601 sys-libs/libselinux: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
3431da6375 sys-libs/ldb: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
0897fcb98f sys-libs/glibc: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
b2b15c3006 sys-devel/gdb: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
162d0d434e sys-boot/grub: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
46c9711979 sys-apps/portage: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
3b9e88d78a sys-apps/policycoreutils: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
930e8b1d3a net-misc/google-cloud-sdk: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
bea9ffd812 net-fs/samba: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
e39e8216bf dev-vcs/repo: Move it back to portage-stable
We are dropping python2, making python3 the default, so there is no
reason to keep this old version of repo in overlay any more.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
6dd1e7433d dev-util/catalyst: Drop the package
The reason for keeping it was that the package assumed that
unversioned python will point to python3 which wasn't the case in
Flatcar. Now that we updated python and made python3 the default, we
can move this package back to portage-stable and update it there.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
2303c61bd8 dev-lang/rust: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
0562a13b0e coreos-base/emerge-gitclone: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
a7abaa2ae1 coreos-base/coreos-init: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
2e2da29c85 app-misc/ca-certificates: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
30a1ecd137 app-emulation/xenstore: Make PYTHON_COMPAT a bit more future-proof 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
be8f416527 app-emulation/qemu: Revert the PYTHON_COMPAT changes
We are updating python, so this modification is not needed any
more. This also seems to be the only modification we have made in this
ebuild, so we will move it back to portage-stable shortly.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
34c4919983 app-crypt/mit-krb5: Revert the PYTHON_COMPAT changes
We are updating python, so this modification is not needed any more.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
f6c136bfa8 profiles: Update keywords for dev-util/pahole
The pahole package now has a keyword for arm64, but it's still
unstable. It's stable for amd64 so no keyword for it is needed.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
a896c6d603 coreos-devel/sdk-depends: Update a dependency on dev-util/dwarves
`dev-util/dwarves` got renamed to `dev-util/pahole`. Reflect that here
too.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
ba710e1c18 profiles: Switch to python 3.9 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
7879ac6535 dev-lang/python-oem: Apply Flatcar modifications 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
552455fb67 dev-lang/python-oem: Copy ebuild of python 3.9.8 from gentoo
This is the latest stable version at the moment.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
5197208ce6 profiles: Drop entry for dev-util/perf-next
There is no such package, even gentoo does not have it.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
0bd3e6595d app-emulation/google-compute-engine: Use python3 explicitly 2021-12-10 17:26:18 +01:00
Krzesimir Nowak
6c4dd2023c profiles: Drop sys-libs/libcap-ng from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
666d39d4e5 profiles: Drop sys-apps/i2c-tools from accept_keywords
The updated package is stable also for arm64 now.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
cbcb1c10a2 profiles: Update USE flags for net-analyzer/nmap
The USE flag to disable lua in nmap is now system-lua. We still are
not packaging lua, so keep it disabled.
2021-12-10 17:26:18 +01:00
Krzesimir Nowak
0194e32be5 profiles: Drop dev-util/ninja from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:37 +01:00
Krzesimir Nowak
6e870b5abb profiles: Drop dev-python/ctypesgen from accept_keywords
We probably don't need this package.
2021-12-10 17:23:37 +01:00
Krzesimir Nowak
4cb1a68177 coreos-base/hard-host-depends: Drop dev-python/ctypesgen
See if it is really needed for building cross-compiled packages.
2021-12-10 17:23:37 +01:00
Krzesimir Nowak
8b59174827 profiles: Drop dev-python/wrapt from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:37 +01:00
Krzesimir Nowak
6ebf34aa27 profiles: Drop dev-python/pyflakes from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
5bc8d6838f profiles: Drop dev-python/pep8 from accept_keywords
The package is dropped.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
0ccb19c5c7 profiles: Drop dev-python/mccabe from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
05d2da720b profiles: Drop dev-python/mako from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
29594a8544 profiles: Drop dev-python/lazy-object-proxy from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
a86c22adb4 profiles: Drop dev-python/flake8 from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
586e73a438 profiles: Drop dev-python/isort from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
53779e31b2 profiles: Drop dev-python/configparser from accept_keywords
The package is dropped.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
ee6d364084 profiles: Drop dev-python/boto from accept_keywords
The updated package is stable for both amd64 and arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
86eb65aecf profiles: Drop dev-python/backports-functools-lru-cache from accept_keywords
The package got dropped.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
2fe7a4eeb5 profiles: Drop dev-python/pylint from accept_keywords
The updated package is stable for arm64
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
ed3924c26b profiles: Drop dev-python/astroid from accept_keywords
Update version of the package is stable for arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
b5f7dac4c4 profiles: Drop dev-libs/libxml2 from accept_keywords
The updated version is stable on both amd64 and arm64.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
529b7e5018 profiles: Drop dev-libs/libnl from accept_keywords
The updated version is stable for arm64 too.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
afd7c488d6 profiles: Drop gobject-introspection from arm64 provides
The updated version of gobject-introspection has arm64 keyword.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
237d5492a1 profiles: Update mask for dev-lang/yasm
The updated version of yasm dropped python use flag and disabled
python support for good, since it was only supporting python 2.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
c3db5665e5 profiles: Drop accept_keywords for app-text/asciidoc
We are about to update it to 9.0.5-r1, which is stabilized for arm64
too.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
fda96c6b53 profiles: Drop superfluous python single target uses
We default now to python 3.6.
2021-12-10 17:23:36 +01:00
Krzesimir Nowak
27c1ae3441 profiles: Default to python 3 2021-12-10 17:23:36 +01:00
Krzesimir Nowak
d02ba21c42 coreos-base/hard-host-depends: Pull python3 instead of python2 2021-12-10 17:23:36 +01:00
Kai Lueke
8667d7f3fc coreos-base/coreos-init: prevent networkd interference with cbr0 iface
This pulls in https://github.com/flatcar-linux/init/pull/55 to set the
cbr0 interface to be excluded from networkd (unmanaged) because it is
set up manually by kubenet and not through DHCP.
2021-12-10 15:13:54 +01:00