Commit Graph

17217 Commits

Author SHA1 Message Date
Mathieu Tortuyaux
71b4b084e9
Merge pull request #1728 from flatcar/tormath1/ignition
sys-apps/ignition: bump to v2.18.0
2024-03-05 13:48:46 +01:00
flatcar-ci
b1f47cfd1b New version: main-3899.0.0-nightly-20240304-2100 2024-03-04 21:00:24 +00:00
Mathieu Tortuyaux
9ab3018394
sys-apps/ignition: bump to 2.18.0
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-03-04 17:34:53 +01:00
Dongsu Park
a842366ed9
Merge pull request #1669 from flatcar/linux-6.6.17-main
Upgrade Linux Kernel for main from 6.6.16 to 6.6.17
2024-03-04 15:08:23 +01:00
Krzesimir Nowak
81684a1453 sys-process/audit: Sync with Gentoo
It's from Gentoo commit b3421946f41290093bd4bfe67fee6ecccab31bcb.
2024-03-01 16:02:19 +01:00
Krzesimir Nowak
7d8e713009 overlay sys-process/audit: Move to portage-stable 2024-03-01 16:02:19 +01:00
Krzesimir Nowak
bad8cffcd9 overlay coreos/config: Mask some files from sys-process/audit
We will move sys-process/audit to portage-stable. In order to do that,
we need to move the customizations out of its ebuild.
2024-03-01 16:02:19 +01:00
Krzesimir Nowak
382ada2475 overlay profiles: Enable audit files from coreos-base/misc-files 2024-03-01 16:02:19 +01:00
Krzesimir Nowak
5cb7639e7c overlay coreos-base/misc-files: Install audit files
We will move sys-process/audit to portage-stable. In order to do that,
we need to move the customizations out of its ebuild.
2024-03-01 16:02:13 +01:00
Krzesimir Nowak
39bf99b420 overlay coreos-base/misc-files: Reorganize the files a bit
The files directory of the package was getting crowded and the names
of the files weren't really saying much.
2024-03-01 16:02:09 +01:00
Krzesimir Nowak
66811126d1 dev-lang/swig: Sync with Gentoo
It's from Gentoo commit 8a1e6e5446c2729e93f1ad51a409862538ea34e9.
2024-03-01 16:02:09 +01:00
Krzesimir Nowak
1017fd45e5 overlay profiles: Disable python in SELinux tools
We never needed the python tools in Flatcar.
2024-03-01 16:02:09 +01:00
Krzesimir Nowak
fbdf2bf74a overlay profiles: Enable policycoreutils USE flag for coreos-base/misc-files 2024-03-01 16:02:09 +01:00
Krzesimir Nowak
f5ce98288b overlay profiles: Set up SELinux policy directory 2024-03-01 16:02:09 +01:00
Krzesimir Nowak
49fb14d782 overlay coreos-base/misc-files: Recreate a symlink on filesystem wipe
The path where the SELinux policy modules are built is normally
/var/lib/selinux. In our case we want to have those policies to be
installed somewhere under /usr. So we have a setup where
/var/lib/selinux is a symlink to /usr/lib/selinux/policy. The
/var/lib/selinux directory is normally created by
sys-apps/policycoreutils directory and we don't want to change it in
order to pursue the goal of putting the package back to
portage-stable.

On the other hand, the override of modules directory location can't
happen in the coreos-base/misc-files package, because
sys-apps/policycoreutils needs that directory to be already set up in
the package post installation time.

The override of the SELinux policy modules directory needs to be done
in the bashrc hook unfortunately. This will come in the follow-up
commit.

So the only thing left is to set up tmpfiles configuration file to
recreate the /var/lib/selinux symlink, since it can be removed when
wiping the filesystem.
2024-03-01 16:02:09 +01:00
Mathieu Tortuyaux
d7c32b1cb0 sys-apps/policycoreutils: Apply Flatcar modifications
Prepare the changes for upstreaming:

- Hide python dependencies behind the python USE flag.

- Allow using original sources, without Gentoo modifications with the
  vanilla USE flag.

  - This also hides app-admin/setools dependency behind this USE
    flag. I'm not sure if anything in policycoreutils requires
    anything from that package - I assumed that Gentoo-provided rlpkg
    maybe does.

- Keep using /var/lib/selinux as a SELinux policy directory. We will
  use INSTALL_MASK to skip installation of the directory and will add
  a tmpfiles config file to coreos-base/misc-files instead.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2024-03-01 15:35:50 +01:00
Krzesimir Nowak
a620286334 sys-apps/policycoreutils: Sync with Gentoo
It's from Gentoo commit c4719a957590a9b209422d93c8136075c2781af7.
2024-03-01 15:35:50 +01:00
Krzesimir Nowak
6c5ad82927 overlay coreos/user-patches: Add a patch for sys-libs/libsemanage
The added patch turns on the module compression.
2024-03-01 15:35:50 +01:00
Mathieu Tortuyaux
59b431f9d0 sys-libs/libsemanage: Apply flatcar patches
Prepare the ebuild to be in an upstreamable state:

- hide python dependencies behind the IUSE flag

- move the semanage.conf additions to a patch

  - that way, we can add a user patch that changes compression setting
    that was added by Gentoo

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2024-03-01 15:35:50 +01:00
Krzesimir Nowak
be13723090 sys-libs/libsemanage: Sync with Gentoo
It's from Gentoo commit e70aa9e9c0de8663fecbd59c4e26a0d17a41050d.
2024-03-01 15:35:50 +01:00
flatcar-ci
2187d66828 New version: main-3895.0.0-nightly-20240229-2100 2024-02-29 21:00:27 +00:00
Flatcar Buildbot
5dc24615f7 Update mantle container image to latest HEAD 2024-02-29 13:39:28 +00:00
Jeremi Piotrowski
fad49473a9
Merge pull request #1710 from flatcar/jepio/shim-fix
sys-boot/shim: Fix parallel build
2024-02-29 14:39:06 +01:00
Jeremi Piotrowski
26a4ed8229 sys-boot/shim: Fix parallel build
The bundled gnu-efi build is implemented in a buggy way that can break when
built in parallel. We've hit this in the nightly sdk build. Add a patch for it.

The patch has been posted upstream at https://github.com/rhboot/shim/pull/643.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-02-29 14:34:11 +01:00
Krzesimir Nowak
128037e808
Merge pull request #1708 from flatcar/krnowak/prune-obsolete-overrides
overlay coreos/config: Drop overrides for packages we do not have
2024-02-29 12:09:33 +01:00
Jeremi Piotrowski
e2162e2008 Revert "New version: main-3894.0.0-nightly-20240228-2100"
Last nightly SDK failed to build due to a shim error, go back to the previous
build.

This reverts commit 735b2698ba.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-02-29 11:05:37 +01:00
flatcar-ci
735b2698ba New version: main-3894.0.0-nightly-20240228-2100 2024-02-28 21:00:39 +00:00
Krzesimir Nowak
f2d7be8cd9
Merge pull request #1702 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-02-26
Weekly portage-stable package updates 2024-02-26
2024-02-28 14:51:01 +01:00
Krzesimir Nowak
a038fcf482 overlay coreos/config: Drop overrides for packages we do not have 2024-02-28 11:33:59 +01:00
flatcar-ci
f681d90689 New version: main-3893.0.0-nightly-20240227-2100 2024-02-27 21:00:24 +00:00
Krzesimir Nowak
8e21401fc2
Merge pull request #1704 from flatcar/krnowak/drop-docker-proxy
Drop app-containers/docker-proxy package
2024-02-27 07:49:50 +01:00
flatcar-ci
ddb384a1a8 New version: main-3892.0.0-nightly-20240226-2100 2024-02-26 21:00:35 +00:00
Krzesimir Nowak
74e06b1541 app-containers/docker-proxy: Drop unnecessary package
Nothing pulls it in now. Looks like it got merged into
app-containers/docker package.
2024-02-26 16:01:49 +01:00
Flatcar Buildbot
1c0d96b70d Update mantle container image to latest HEAD 2024-02-26 14:46:46 +00:00
Kai Lüke
d35414a2ba
Merge pull request #1589 from flatcar/sayan/secureboot-changes
Initial implementation for Secure boot support
2024-02-26 15:46:31 +01:00
Kai Lueke
7db81c27f9 sys-boot/shim: Update to 15.8 2024-02-26 15:46:13 +01:00
Dongsu Park
dbd40fbf90
Merge pull request #1686 from flatcar/firmware-20240220-main
Upgrade Linux Firmware in main from 20240115 to 20240220
2024-02-26 14:24:29 +01:00
Dongsu Park
c5aa253d10 overlay coreos-firmware: update ice ddp version to 1.3.36.0
Fix build issues of coreos-firmware, by bumping the ice firmware version
to 1.3.36.0.
2024-02-26 12:10:06 +01:00
Sayan Chowdhury
99bfcf5f32 shim, coreos-sb-keys, grub_install.sh: retab to spaces
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:10 +01:00
Sayan Chowdhury
4648be9dbb sys-boot/grub: Make sed silently fail when updating sbat
Co-authored-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-02-26 12:01:10 +01:00
Sayan Chowdhury
97ebc770ea sys-boot/shim: Move from cros_workon to upstream
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:10 +01:00
Sayan Chowdhury
fc28e72322 sys-boot/grub: install file with sbat contents, add --sbat to script
This is just the contents of the section, but the section
itself is written by grub-mkimage. sbat.csv needs to be passed
with --sbat.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:09 +01:00
Jeremi Piotrowski
64556256db grub_install: switch to BOARD_GRUB by default
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-02-26 12:01:09 +01:00
Sayan Chowdhury
b42e3ad58b sys-boot/shim: Update shim to include signing keys, and build mm.efi
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:09 +01:00
Sayan Chowdhury
348a26201a coreos-sb-keys: Add the shim keys
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:09 +01:00
Sayan Chowdhury
65fe1f4cdb sys-boot/shim: make the shim buildable
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:09 +01:00
Sayan Chowdhury
fc4acb6b40 sys-boot/shim: updates to 15.7
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:09 +01:00
Sayan Chowdhury
58806c5342 eclass/rpm: Add from Gentoo
It's from Gentoo commit 78e5f99cb41eaa50da930e7ab2dc7993fa243e1f.
2024-02-26 12:01:09 +01:00
Sayan Chowdhury
af68df3d43 coreos-devel/board-packages: remove edk2-ovmf from arm64 dependencies
This package is not used, we use edk2-aarch64 on arm64 but and it is
fetched during image_to_vm.sh because the ebuild simply wraps a binary
file.

Original Author: Jeremi Piotrowski <jpiotrowski@microsoft.com>

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:09 +01:00
Sayan Chowdhury
ceb1480e48 sys-firmware/edk2-aarch64: drop old package and replace with new
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 12:01:09 +01:00