Commit Graph

6422 Commits

Author SHA1 Message Date
Krzesimir Nowak
2900eb190e Merge pull request #537 from flatcar-linux/krnowak/audit
Update audit to 2.8.5
2020-10-01 17:28:32 +02:00
Dongsu Park
e93023be99 Merge pull request #611 from flatcar-linux/dongsu/tcl-sdk
coreos-base/hard-host-depends: add dev-lang/tcl
2020-09-30 18:59:10 +02:00
Krzesimir Nowak
17daba0bd7 sys-process/audit: Add README.md
Try to list the reasons behind this for of the gentoo package.
2020-09-29 20:27:39 +02:00
Krzesimir Nowak
22ba3fdb41 sys-process/audit: Install Flatcar rules
For some reason, locking down is disabled in the same commit, but no
clear explanation exist.
2020-09-29 20:27:22 +02:00
Krzesimir Nowak
a1940254ee sys-process/audit: Add "daemon" use flag
The use flag enables building audisp, auditd, aureport, ausearch and
probably some other tools. Not sure what's the reason for adding such
a use flag other than disabling the build of the binaries. The daemon
use flag is nowhere set, so these things are not built by default.
2020-09-29 20:14:50 +02:00
Krzesimir Nowak
bfc27b3710 sys-process/audit: Fix some build system hacks
There actually is a --without-golang flag, so use it instead of
hacking stuff in Makefile.am with sed.

Also, build on arm64 and amd64 by default.
2020-09-29 20:14:50 +02:00
Krzesimir Nowak
47acf5d00b sys-process/audit: Drop unnecessary files 2020-09-29 20:14:25 +02:00
Krzesimir Nowak
a54ea6b4c9 sys-process/audit: Import audit from gentoo 2020-09-29 20:08:15 +02:00
Krzesimir Nowak
aa6c8d5a0d sys-process/audit: Drop old 2020-09-29 19:41:21 +02:00
Krzesimir Nowak
efbb8218c7 sys-process/tini: Drop old ebuild 2020-09-29 19:19:01 +02:00
Krzesimir Nowak
dd3b7ec351 app-emulation/docker: Bump tini dependency to 0.18.0 2020-09-29 19:19:01 +02:00
Krzesimir Nowak
c1fec89441 app-torcx/docker: Bump tini dependency to 0.18.0
I haven't found any incompatible changes on the quick scan of tini's
commits log from 0.13.2 to 0.18. So the bump should work just fine.
2020-09-29 19:19:01 +02:00
Krzesimir Nowak
b4f310ee79 sys-process/tini: Apply our modifications 2020-09-29 19:19:01 +02:00
Krzesimir Nowak
1fc645bdd7 sys-process/tini: Add 0.18.0 from gentoo 2020-09-29 19:19:01 +02:00
Sayan Chowdhury
53427053e1 Adjust the srctree based on the presence of KBUILD_OUTPUT
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-09-28 20:47:46 +05:30
Kai Lüke
a6672ad0e3 Merge pull request #613 from flatcar-linux/kai/firmware-no-savedconfig
sys-kernel/coreos-firmware: Disable savedconfig flag and file creation
2020-09-28 12:05:29 +02:00
Kai Lüke
c8d526dd01 sys-kernel/coreos-firmware: Disable savedconfig flag and file creation
The savedconfig feature reads and, if not set, generates a file under
/etc/portage/savedconfig/ to source a build configuration. We probably
don't want this and specially not on the final image, therefore,
disable reading and also don't write the file to the final image.
2020-09-28 11:24:46 +02:00
Krzesimir Nowak
d2e2187bde Merge pull request #612 from flatcar-linux/krnowak/fix-remote-fs
Enable remote-fs
2020-09-26 16:06:06 +02:00
Krzesimir Nowak
498ad0ba08 sys-apps/systemd: Enable more services
These normally would be pulled by systemdctl enable when enabling
systemd-networkd.service, because they are used in Also= options. In
such case, we need to pull them ourselves, so they can be enabled in
/usr, not in /etc.
2020-09-26 14:21:47 +02:00
Marga Manterola
40e58334af Merge pull request #614 from flatcar-linux/sayan/fix-the-srctree-patch
Update srctree path to correctly populate Makefile
2020-09-25 21:08:18 +02:00
Krzesimir Nowak
9512007c74 sys-apps/systemd: Make a comment more clear 2020-09-25 20:39:19 +02:00
Krzesimir Nowak
a65e2ade5b sys-apps/systemd: Drop the handling of ENABLED_UNITS
We are installing systemd from scratch in the image, so there are no
previously enabled units to enable or reenable after
installation. Also, this code would enable the services in /etc, which
we don't want, because /etc is not autoupdated, so the enabled
services could end up still being disabled after the update.
2020-09-25 20:39:19 +02:00
Krzesimir Nowak
393a645c38 sys-apps/systemd: Enable more services from upstream's preset
This more or less mimics systemctl preset-all, but with enabling the
services in /usr, not in /etc, as /etc is not autoupdated.
2020-09-25 20:39:19 +02:00
Krzesimir Nowak
8a64463b04 sys-apps/systemd: Try harder at not enabling services through /etc
At installation time, we usually want to enable services through
/lib. This change will stop making the installation to put symlinks
for getty in /etc, since we already do it in /lib.
2020-09-25 20:39:19 +02:00
Krzesimir Nowak
5e98f2cb98 sys-apps/systemd: Enable remote-fs.target too.
Since v242, this unit is not enabled by default. Currently the
recommended way of initial enablement of the important units is
through `systemctl preset-all` with the preset file from systemd. We
don't want to do it, because this action creates symlinks in /etc, so
we enable those services ourselves by putting the symlinks in /lib.
2020-09-25 20:39:19 +02:00
Marga Manterola
2ac602d5ea Merge pull request #597 from flatcar-linux/containerd-1.4.1-main
Upgrade Containerd in main from 1.3.7 to 1.4.1
2020-09-25 18:40:44 +02:00
Dongsu Park
247ad0bb03 coreos-base/hard-host-depends: add dev-lang/tcl
Since sqlite 3.32 or newer requires dev-lang/tcl to be available in
the Flatcar SDK by default, we should add dev-lang/tcl in the dependency
list of SDK.
2020-09-25 17:29:42 +02:00
Sayan Chowdhury
022a63a9d1 Update srctree path to correctly populate Makefile
Update srctree path to correctly populate the Makefile for sandbox
environments. The patch is to adjusted for 5.x kernels

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-09-25 20:47:28 +05:30
Dongsu Park
76f9afce09 Merge pull request #598 from flatcar-linux/dongsu/cleanup-packages-202009
profiles: adjust to clean up serf, apr-util
2020-09-25 15:14:02 +02:00
Marga Manterola
4ff7200b93 Merge branch 'main' into containerd-1.4.1-main 2020-09-25 14:53:41 +02:00
Marga Manterola
9c27350a99 Merge pull request #602 from flatcar-linux/docker-19.03.13-main
Upgrade Docker in main from 19.03.12 to 19.03.13
2020-09-25 14:48:21 +02:00
Marga Manterola
746961a611 Merge pull request #607 from flatcar-linux/linux-5.8.11-main
Upgrade Linux Kernel in main from 5.8.10 to 5.8.11
2020-09-25 14:48:12 +02:00
Dongsu Park
7363a3935b profiles: remove dev-libs/apr-util
Now that net-libs/apr-util is gone, we should remove it from profiles.
2020-09-25 10:37:22 +02:00
Dongsu Park
850055eab2 profiles: remove net-libs/serf
Now that net-libs/serf is gone, we should remove it from profiles.
2020-09-25 10:37:22 +02:00
Kai Lüke
d589594c83 app-arch/torcx: Point to latest flatcar-master
This pulls in
https://github.com/flatcar-linux/torcx/pull/4
to set a fixed tmpfs size.
2020-09-24 17:01:13 +02:00
Kai Lüke
604a06746b coreos-base/coreos: Build and install oslogin for amd64 only
The build for arm64 currently fails because it tries to build the
oslogin package but the package is marked as amd64-only.
Exclude the oslogin package from arm64 images.
2020-09-24 12:02:57 +02:00
Flatcar Buildbot
58ef9fa84f sys-kernel: Upgrade coreos-kernel 5.8.10 to 5.8.11 2020-09-24 07:23:35 +00:00
Thilo Fromm
589299edd4 app-admin/adcli: update to 0.9.0
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-09-23 16:10:25 +02:00
Marga Manterola
76812e292f Merge pull request #603 from flatcar-linux/marga-kinvolk/change-mirrors
Switch to our new mirrors
2020-09-23 15:24:29 +02:00
Margarita Manterola
7f151f73a1 Switch to our new mirrors 2020-09-23 15:22:09 +02:00
Dongsu Park
4cf90db4bf Merge pull request #600 from flatcar-linux/dongsu/sqlite-3.32.3
dev-db/sqlite: update to 3.32.3 to keep non-full archive
2020-09-23 14:39:56 +02:00
Flatcar Buildbot
c197a0fdab app-emulation: Upgrade Docker 19.03.12 to 19.03.13 2020-09-23 07:44:01 +00:00
Kai Lüke
9c118932e0 Merge pull request #601 from flatcar-linux/kai/bump-init
coreos-base/coreos-init: Point to latest flatcar-master
2020-09-22 14:49:27 +02:00
Marga Manterola
084608643c Merge pull request #592 from flatcar-linux/marga-kinvolk/gce-image
Improve Flatcar behavior on GCE when using oslogin
2020-09-22 14:41:51 +02:00
Kai Lüke
da030f0543 coreos-base/coreos-init: Point to latest flatcar-master
This pulls in
https://github.com/flatcar-linux/init/pull/27
2020-09-22 14:28:30 +02:00
Dongsu Park
aa72d9e918 dev-db/sqlite: add README.md
Try to elaborate reasons why we need this fork of Gentoo ebuilds.
2020-09-22 09:54:25 +02:00
Dongsu Park
902d322ed8 dev-db/sqlite: Bring back builds for non-full archive
Since sqlite 3.32.0, Gentoo ebuild does not deal with non-full archive,
but fetches only full archive. On top of that, the upstream sqlite's
full archive requires `tclsh` to be installed on the host system. Since
Flatcar SDK does not include `dev-lang/tcl`, it is not possible to build
sqlite from the full-archive. It means that we need to either make the
Flatcar SDK include `dev-lang/tcl`, (which takes time) or bring back the
non-full archive mechanism just like ebuilds from sqlite 3.31.x.

So adapt the full-archive patches on top of the non-full archive.
Make the ebuild fetch the non-full archive.
2020-09-21 14:02:34 +02:00
Margarita Manterola
38935a5e75 coreos-base/oem-gce: add Python aliases
GCE recommends images to ship Python in them.  Instead of shipping the
binaries inside our vendor partition, install an alias that will
download the latest official container, for both python2 and python3.
2020-09-18 18:29:17 +02:00
Dongsu Park
2f87fbff5d dev-db/sqlite: sync with Gentoo upstream
Simply sync dev-db/sqlite with Gentoo upstream.

Mainly to update to 3.32.3-r1, to address CVE-2020-11656.
2020-09-18 17:49:43 +02:00
Margarita Manterola
11d56330bd sys-kernel/coreos-modules: remove deprecated config
We were setting `CONFIG_VGACON_SOFT_SCROLLBACK=y`, but this config
option was deleted with 20782abbbdfe922496a28f9cc0c3c0030f7dfb8f, due to
security issues.

Remove the config to let the kernel image build again.
2020-09-18 14:07:19 +02:00