23028 Commits

Author SHA1 Message Date
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
Krzesimir Nowak
80ed87957e Merge pull request #840 from kinvolk/krnowak/portage-update
portage update: update portage and related packages to newer versions
2021-02-15 12:47:42 +01:00
Krzesimir Nowak
8d6d3158e8 Merge pull request #145 from kinvolk/krnowak/portage-update
portage update: update profiles and some eclasses, add new deps, move some packages to overlay
2021-02-15 12:47:33 +01:00
Krzesimir Nowak
91a85ddc86
Merge pull request #118 from kinvolk/krnowak/portage-update
portage update: port check_root to python3 and fix SDK bootstrap
2021-02-15 12:47:26 +01:00
Krzesimir Nowak
619480efc3 eclass: Drop obsolete arch from xorg-2 and xorg-3
Initially I moved the eclass to overlay and modified them there to
avoid making customizations in portage-stable, but for some reason
portage cannot locate these eclasses when building packages from
portage-stable.

This change is to avoid masked packages and resulting fromt that build
failures like:

!!! All ebuilds that could satisfy "x11-misc/makedepend" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-misc/makedepend-1.0.5::portage-stable (masked by: invalid: DEPEND: USE flag 'ppc-aix' referenced in conditional 'ppc-aix?' is not in IUSE)

Hopefully these customizations will go away once we update the
eclasses and packages that inherit these eclasses.
2021-02-15 12:45:20 +01:00
Krzesimir Nowak
623dfce31b dev-util/catalyst: Move to overlay 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
0436a06b74 eclass: Sync git-r3.eclass with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
d19c6bbfad metadata: Add repo-name to layout.conf
This makes it easier to sync the profiles directory with Gentoo.
2021-02-15 12:45:20 +01:00
Krzesimir Nowak
8d93f4f236 profiles, scripts, licenses: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
a61e4c5332 app-admin/eselect: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
d8aa399ca4 dev-python/setuptools: Drop it, it is moved to overlay 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
a9e845b6ee eclass: Update distutils eclass
The updated app-portage/gentoolkit is using some function from
distutils-r1 that was not here before.
2021-02-15 12:45:20 +01:00
Krzesimir Nowak
5e957f27d9 sys-apps/gentoo-functions: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
5e783bfda0 app-portage/portage-utils: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
382e82516f app-portage/eix: Sync with Gentoo 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
bcc6ba856d dev-python/pyyaml: Import from Gentoo
It's a dependency for repoman.
2021-02-15 12:45:20 +01:00