23004 Commits

Author SHA1 Message Date
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
Krzesimir Nowak
1a8c2a0c2d app-portage/repoman: Drop it, it is moved to overlay 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
8b07946f63 app-portage/gentoolkit-dev: Drop the deprecated package 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
38f201e4f0 app-portage/gentoolkit: Drop it, it is moved to overlay 2021-02-15 12:45:20 +01:00
Krzesimir Nowak
32812d8a91 coreos-base/gmerge: Pull in a python3 version of emerge-gitclone 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
ba52f359ef profiles: Unmask dev-libs/ustr
It is masked in portage-stable, unmask it here since we still
need it.
2021-02-15 12:44:33 +01:00
Krzesimir Nowak
3ff25e6508 dev-util/catalyst: Apply Flatcar modifications 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
86a5038964 dev-util/catalyst: Drop unnecessary file 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
e948849fb8 dev-util/catalyst: Copy from Gentoo 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
2e469153a2 profiles: Enable python 3 support in SDK too 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
ac884f82dc profiles: Block targeting python 3.7
After updating profiles in portage-stable these USE flags became
unmasked. We mask them ourselves until we package some newer python.
2021-02-15 12:44:33 +01:00
Krzesimir Nowak
c070586b1f profiles: Drop some enabled-by-default USE flags for portage-utils
The updated portage-utils bring in two more tools, qmanifest and
qtegrity. They are pulling in some new dependencies. Since we didn't
have those tools before, we can live without them for a little while
longer.
2021-02-15 12:44:33 +01:00
Krzesimir Nowak
e8e36d6ebf dev-python/setuptools: Apply Flatcar modifications 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
3b95068e05 dev-python/setuptools: Drop unused ebuild
Dropping the new one, since the older one has still some support for
python2.
2021-02-15 12:44:33 +01:00
Krzesimir Nowak
e697a7491d dev-python/setuptools: Copy from Gentoo 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
46702e3ec2 profiles: Use python3 for portage
Drop lines for gentoolkit-dev, pyblake2 and uritemplate - they are not
packaged by us anymore.
2021-02-15 12:44:33 +01:00
Krzesimir Nowak
25cc462741 app-portage/repoman: Apply Flatcar modifications 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
8be1d99ca6 app-portage/repoman: Drop unused files 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
638953c50d app-portage/repoman: Copy from Gentoo 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
e6e06eded6 app-portage/gentoolkit: Apply Flatcar modifications 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
9976250ab3 app-portage/gentoolkit: Drop unused files 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
d65a6b620c app-portage/gentoolkit: Copy from Gentoo 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
ba5929ebbc sys-apps/portage: Apply Flatcar modifications and document them 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
6314d75a5f sys-apps/portage: Drop unused ebuilds 2021-02-15 12:44:33 +01:00
Krzesimir Nowak
aa975db8a4 sys-apps/portage: Copy from Gentoo 2021-02-15 12:44:33 +01:00