22893 Commits

Author SHA1 Message Date
Sayan Chowdhury
54b014bbf4 sys-apps/systemd: Bump to v247.3
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-02-26 12:50:33 +00:00
Sayan Chowdhury
6be3b53918 sys-firmware/intel-microcode: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-02-26 11:10:31 +00:00
Sayan Chowdhury
529e6a625c sys-firmware/intel-microcode: Sync with Gentoo upstream
Gentoo ref: c2804beb21d8dca394fa2b54cb387f4a55ffa491

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2021-02-26 11:09:36 +00:00
Dongsu Park
0f6b8f8760 profiles: disable regedit for Samba
Disable unnecessary regedit in samba to minimize the package size.
2021-02-26 11:14:49 +01:00
Dongsu Park
151de3edfa net-fs/samba: set bundled_libs=ldb
To minimize the size of bundled libraries of Samba, we should install
only the "ldb" backend by default.
2021-02-26 11:14:49 +01:00
Dongsu Park
fa1c85c224 net-fs/samba: pulls in icu only if spotlight
dev-libs/icu is needed only if spotlight is enabled.
If not enabled, we should not pull in icu.
2021-02-26 11:14:49 +01:00
Dongsu Park
eec42d4c3f net-fs/samba: new USE flags spotlight, regedit, glusterfs, ntvfs
Introduce a USE flag spotlight, to be able to disable the spotlight
backend by default, as it is not needed by Linux.

Introduce a USE flag rededit, to be able to disable the rededit
tool if needed.

Introduce a USE flag glusterfs, to be able to disable the glusterfs
by default.

Introduce a USE flag ntvfs, to be able to disable the ntvfs-fileserver
by default.

Since the docbook-xsl-stylesheets and libxslt are needed only
at build time, we should move those deps to BDEPEND.
2021-02-26 11:14:49 +01:00
Dongsu Park
61eb799b82 net-fs/samba: use EAPI=7
Now that portage was updated to the latest version, we should update
EAPI to 7. It is mainly to allow ebuilds to make BDEPEND contain real
build-time dependencies, not runtime ones.
2021-02-26 11:14:46 +01:00
Dongsu Park
d3715c1ad2 dev-libs/icu: delete
Now that net-fs/samba runs without spotlight backend, it is not needed
to pull in unnecessary deps like dev-libs/icu. Simply delete it.
2021-02-25 16:39:59 +01:00
Dongsu Park
819912c974 eclass: update waf-utils.eclass
To be able to use EAPI=7 in net-fs/samba, we need to sync waf-utils
with upstream Gentoo.
2021-02-25 16:39:28 +01:00
Krzesimir Nowak
7dafcfc329 Merge pull request #862 from kinvolk/linux-5.10.18-main
Upgrade Linux Kernel in main from 5.10.17 to 5.10.18
2021-02-24 14:44:45 +01:00
Flatcar Buildbot
d27a540639 sys-kernel: Upgrade Kernel 5.10.17 to 5.10.18 2021-02-24 07:30:22 +00:00
Dongsu Park
194ad24a04 Merge pull request #149 from kinvolk/dongsu/delete-ctstress-dhcpcd
net-misc/dhcpcd: delete dhcpcd
2021-02-22 16:53:35 +01:00
Dongsu Park
2b9585a5b0 Merge pull request #858 from kinvolk/dongsu/delete-ctstress-dhcpcd
delete dhcpcd, containerd-stress
2021-02-22 16:53:25 +01:00
Dongsu Park
5ad450acf1 app-emulation/containerd: delete containerd-stress
Each Flatcar production image includes a binary `containerd-stress`,
as a part of torcx tarballs.

However it does not seem to be used anywhere.
It looks like a stress testing tool for containerd, so I don't see a
good reason to keep it.
The binary was there since the beginning, via commit
[fdd926949a10](fdd926949a),
but there is no comment or messages why it was needed.
We can simply remove `containerd-stress`.
2021-02-22 15:03:17 +01:00
Dongsu Park
6a307e5ae3 coreos-base: delete dhcpcd
Now that dhcpcd was removed from portage-stable, we can simply delete
dependency on dhcpcd.
2021-02-22 15:02:36 +01:00
Dongsu Park
476abc5e03 net-misc/dhcpcd: delete dhcpcd
As Flatcar relies on systemd-networkd for network configurations,
it is not needed to keep dhcpcd in production images at all.

According to the commit
https://github.com/kinvolk/coreos-overlay/commit/9be90f06e838 ,
it was added back in 2014 just because systemd-networkd was not mature
enough. That was already ~7 years ago, so we can safely assume that
the issue had been already gone, so we can simply use systemd-networkd.
2021-02-22 14:58:36 +01:00
Krzesimir Nowak
a03a06e059 Merge pull request #851 from kinvolk/krnowak/drop-kernel-mirror
sys-kernel/dracut: Drop the use of mirror://kernel
2021-02-19 18:12:59 +01:00
Krzesimir Nowak
0f3a150598 Merge pull request #148 from kinvolk/krnowak/drop-kernel-mirror
*: Drop the use of mirror://kernel
2021-02-19 18:12:41 +01:00
Krzesimir Nowak
ce69950563 Merge pull request #855 from kinvolk/linux-5.10.17-main
Upgrade Linux Kernel in main from 5.10.16 to 5.10.17
2021-02-19 18:12:25 +01:00
Krzesimir Nowak
04f8155756 Merge pull request #856 from kinvolk/krnowak/catalyst-python3
dev-util/catalyst: Use python3 in scripts explicitly
2021-02-19 18:08:40 +01:00
Kai Lüke
dd4a8e0335
Merge pull request #122 from kinvolk/kai/vm-matrix-reuse
jenkins/vm: expect a FORMATS parameter which has a list of formats
beta-2801.1.0 alpha-2801.0.1 alpha-2801.0.0
2021-02-19 15:14:24 +01:00
Krzesimir Nowak
e75fe0a01c dev-util/catalyst: Bump the version 2021-02-19 15:03:28 +01:00
Krzesimir Nowak
227ec22a01 dev-util/catalyst: Patch to use python3 explicitly 2021-02-19 15:03:28 +01:00
Flatcar Buildbot
65ee37b78b sys-kernel: Upgrade Kernel 5.10.16 to 5.10.17 2021-02-19 07:24:39 +00:00
Krzesimir Nowak
d904874d70 Merge pull request #853 from kinvolk/krnowak/workflow-fixes
.github: Minor fixes in kernel update workflow
2021-02-18 19:58:40 +01:00
Krzesimir Nowak
7d2428e83e .github: Use "Kernel" as a description for Linux kernel updates 2021-02-18 19:37:07 +01:00
Dongsu Park
f54ba66a5b Merge pull request #846 from kinvolk/mauricio/enable_config_bpf_lsm
sys-kernel: enable kernel config CONFIG_BPF_LSM
2021-02-18 18:19:13 +01:00
Krzesimir Nowak
e8e2a31ce5 .github: Fix invocation to generate_patches in kernel job
generate_patches takes three parameters - a category, a package name
and a description. Invoking the function like `generate_patches
sys-kernel coreos-{sources,modules,kernel} Linux` makes "sys-kernel"
to be a category, "coreos-sources" to be a package name and
"coreos-modules" to become a description, while "coreos-kernel" and
"Linux" are simply ignored.

It has worked so far only because coreos-sources was first in the list
and that's where the actual changes in Manifest file happened. Had the
order of the packages been different, the workflow would be
broken. Since only coreos-sources was modified and all worked fine,
simplify the call to generate-patches.
2021-02-18 16:57:14 +01:00
Krzesimir Nowak
7dd3c27d07 .github: Drop unnecessary semicolons and trailing backslashes
Looks like it was copied straight from the Makefile.
2021-02-18 16:34:19 +01:00
Thilo Fromm
6938c8511b coreos-base/coreos-init: SSHD: use secure crypto algos only
This change updates coreos-init to a version which includes
a new SSHD config to limit crypto to "known secure" algorithms only.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-02-18 16:21:28 +01:00
Kai Lüke
fcd60ae890 Merge pull request #848 from kinvolk/kai/aws-hostname
sys-kernel/bootengine: set hostname for EC2 and OpenStack from metadata
2021-02-18 15:26:00 +01:00
Kai Lüke
b33dcec46f sys-kernel/bootengine: set hostname for OpenStack and EC2 from metadata
This pulls in
https://github.com/kinvolk/bootengine/pull/21
2021-02-18 15:25:26 +01:00
Kai Lüke
8aab1d6d5a jenkins/vm: expect a FORMATS parameter which has a list of formats
One Jenkins jobs for each image format caused a large overhead.
Allow to build multiple image formats in one job.
2021-02-18 13:42:15 +01:00
Krzesimir Nowak
3f024c766b *: Drop the use of mirror://kernel
The kernel mirror was dropped from the thirdpartymirrors file in
profiles, so it's use needs to be replaced with an address to
kernel.org.
2021-02-18 10:45:40 +01:00
Krzesimir Nowak
77dac52cd5 sys-kernel/dracut: Drop the use of mirror://kernel
The kernel mirror was dropped from the thirdpartymirrors file in
profiles, so it's use needs to be replaced with an address to
kernel.org.
2021-02-18 10:44:58 +01:00
Krzesimir Nowak
a6a6e0be2c common: Make sure that NUM_JOBS is a positive integer 2021-02-18 08:25:21 +01:00
Dongsu Park
bf810e30eb Merge pull request #147 from kinvolk/rust-1.50.0-main
Upgrade virtual Rust in main from 1.49.0 to 1.50.0
2021-02-17 17:44:04 +01:00
Dongsu Park
2912b1798c Merge pull request #847 from kinvolk/rust-1.50.0-main
Upgrade dev-lang/rust in main from 1.49.0 to 1.50.0
2021-02-17 17:43:56 +01:00
Mauricio Vasquez
c18694fb9d sys-kernel: enable kernel config CONFIG_BPF_LSM
Enable this option to make it possible to use LSM hooks with BPF.

Signed-off-by: Mauricio Vasquez <mauricio@kinvolk.io>
2021-02-17 13:35:19 +00:00
Krzesimir Nowak
6ed7cd66d5 *: Drop jobs parameter
The `--jobs` parameter that some scripts defined was not used anywhere
in jenkins or mantle. So the value of the parameter always ended up
being equal to `${NUM_JOBS}` set by `common.sh`. Also, even if the
`--jobs` parameter was used for some script, that script usually
didn't forward the jobs value to other scripts, so the other scripts
ended up using `${NUM_JOBS}` again. Also, the `${FLAGS_jobs}` variable
was used by some functions in the build library, and those functions
were sometimes invoked by scripts that didn't define the
`${FLAGS_jobs}` variable. It is tedious to track which script should
actually define the parameter, and where it should be forwarded.

Just get rid of this half-working pretense. If you want to affect how
many jobs `emerge` uses, export the `NUM_JOBS` environment variable
before calling any script.

For `EMERGE_FLAGS` and `REBUILD_FLAGS` we unconditionally specify the
`--jobs` flag's value to `${NUM_JOBS}` because they are passed to
`emerge`. On the other hand we drop the `--jobs` parameter from the
`UPDATE_ARGS` variable, because this variable passed to `setup_board`
or `update_chroot`, which don't have this flag any more.
2021-02-17 13:26:36 +01:00
Sayan Chowdhury
fcb58c6474
Merge pull request #120 from kinvolk/sayan/specify-num-jobs
image_to_vm.sh: Explicity mention the jobs param in image_to_vm step
2021-02-17 13:05:38 +05:30
Sayan Chowdhury
ee34c9d2e3
image_to_vm.sh: Explicity mention the jobs param in image_to_vm step
Now, in the oem aci creation step we make use of the jobs param.
Without this flag, an empty string is passed to to emerge which results
in failure.

Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
2021-02-17 12:04:47 +05:30
Dongsu Park
b649528d47 dev-lang/rust: fix build for Rust 1.50
The patch for 1.46 causes build errors for 1.50.
That's not needed at all, so simply delete it to fix build issues.

Also sync with upstream Gentoo.
2021-02-16 17:30:05 +01:00
Krzesimir Nowak
b1e730d0ed
Merge pull request #119 from kinvolk/krnowak/jobs-fix
Fix missing jobs parameter
2021-02-16 10:24:09 +01:00
Flatcar Buildbot
206473170d dev-lang: Upgrade dev-lang/rust 1.49.0 to 1.50.0 2021-02-16 07:41:12 +00:00
Flatcar Buildbot
1218053903 Upgrade virtual Rust in main from 1.49.0 to 1.50.0 2021-02-16 07:41:03 +00:00
Krzesimir Nowak
9cbf3049ea vm_image-util: Forward jobs parameter to build_oem_aci 2021-02-16 08:36:57 +01:00
Krzesimir Nowak
1084f961fd build_*_aci: Add missing jobs parameter
They end up using emerge_to_image which needs uses the `$FLAGS_jobs`
parameter. Seems like new portage does not like getting the parameter
like `--jobs=` (with an empty value).
2021-02-16 08:31:11 +01:00
Krzesimir Nowak
a475ef9091 Merge pull request #845 from kinvolk/linux-5.10.16-main
Upgrade Linux Kernel in main from 5.10.15 to 5.10.16
2021-02-15 13:33:52 +01:00