22070 Commits

Author SHA1 Message Date
Kai Lüke
0c96831fee Merge pull request #2419 from flatcar/kai/dont-create-in-dir
coreos-base/coreos-init: Don't create a nested symlink when it exists
2023-02-01 16:09:04 +01:00
Krzesimir Nowak
edc90b4e59 build_library: Add generation of disk space usage
This could replace an ad-hoc calculations we do in package-diff.
2023-02-01 14:43:24 +01:00
Krzesimir Nowak
1c1c0099c7 build_library: Generate content files for initrd too 2023-02-01 14:43:24 +01:00
Krzesimir Nowak
f4829fd860 build_library: Add generation of image contents with different details
Timestamp and user/group information are out, in are device ID and
inode number. That way, the file can be used for accounting size
differences of files/image.
2023-02-01 14:43:24 +01:00
Dongsu Park
52831e27f7 Merge pull request #411 from flatcar/buildbot/monthly-glsa-metadata-updates-2023-02-01
Monthly GLSA metadata 2023-02-01
2023-02-01 14:26:11 +01:00
Kai Lueke
e31762ceec coreos-base/coreos-init: Don't create a nested symlink when it exists
This pulls in the motdgen change
https://github.com/flatcar/init/pull/88
to not create a broken symlink in the symlinked /run/flatcar/ directory
if the directory symlink /run/coreos already exists.
2023-02-01 14:06:47 +01:00
Flatcar Buildbot
f7c8e0a6ce metadata: Monthly GLSA metadata updates 2023-02-01 07:06:42 +00:00
flatcar-ci
7b772f596e New version: main-3501.0.0-nightly-20230131-2100 2023-01-31 21:00:27 +00:00
Dongsu Park
d953100387 Revert ".github: update PV in ebuilds of dev-lang/rust"
This reverts commit 285f0646e6dfb3381d2ac5555e991cc482a4d91c.

Now that the ebuild dev-lang/rust does not have a manual check for
versions, it is possible to clean up the sed commands in Github
Actions.
2023-01-31 15:45:54 +01:00
Dongsu Park
26510029ea dev-lang/rust: fix build issues with rust 1.67.0
Configure with --without=rust-docs-json-preview to avoid failures.
Remove unnecessary checks for package versions like upstream.
Clean up unnecessary patch, add new patch for 1.67.0.
2023-01-31 15:45:54 +01:00
Flatcar Buildbot
012215aeae dev-lang: Upgrade dev-lang/rust 1.66.1 to 1.67.0 2023-01-31 15:45:54 +01:00
Krzesimir Nowak
9aeab641fd
Merge pull request #633 from flatcar/krnowak/user-patches-setup-fix
*: Fix user-patches setup
2023-01-31 15:41:15 +01:00
Kai Lüke
4468c92b44 Merge pull request #2417 from flatcar/kai/skip-if-no-ignition
coreos-base/coreos-init: Skip first boot helper if Ignition did not run
2023-01-31 13:19:14 +01:00
Kai Lueke
6596b68177 coreos-base/coreos-init: Skip first boot helper if Ignition did not run
This pulls in
https://github.com/flatcar/init/pull/87
to give a nicer skip message in the log and also make clear that this
is not a bug.
2023-01-31 13:05:19 +01:00
Krzesimir Nowak
fbbec12cc1
Merge pull request #632 from flatcar/krnowak/weekly
build_library/toolchain_util: Set up symlink for user patches
2023-01-31 12:20:20 +01:00
Krzesimir Nowak
57f849239f build_library/toolchain_util: Set up symlink for user patches
This was a place I missed where /etc/portage is set up. Because of it,
user patches for sys-devel/gcc were not picked up.

Also stop using deprecated PORTDIR and PORTDIR_OVERLAY getters. We
still set those variables, but we will drop them eventually.
2023-01-31 12:19:50 +01:00
Krzesimir Nowak
409b47a932 *: Fix user-patches setup
Normally `ln -sf path/to/target at/name` will create a symlink at
`at/name` that points to `path/to/target`. But if `at/name` already
exists and is a directory or a symlink to some other directory, then
this command will create a symlink at `at/name/target` pointing to
`path/to/target`. There is an ambiguity between 1st and 3rd form of
`ln` (please refer to `man ln` for the available invocation forms). It
can be disambiguated by using the `-T` flag to force the 1st form.

In our case, if `/etc/portage/patches` symlink already existed and was
pointing to `<coreos-overlay>/coreos/user-patches`, we ended up with a
useless symlink at `<coreos-overlay>/coreos/user-patches/user-patches`
pointing to `<coreos-overlay>/coreos/user-patches`.
2023-01-31 12:00:22 +01:00
flatcar-ci
e5b8570062 New version: main-3500.0.0-nightly-20230130-2100 2023-01-30 21:00:28 +00:00
Krzesimir Nowak
b9305f6622 Merge pull request #2413 from flatcar/krnowak/fix-bootstrap
profiles: Pick defaults for app-alternatives during bootstrap
2023-01-27 17:13:54 +01:00
Dongsu Park
975a947ba6 Merge pull request #2415 from flatcar/dongsu/cri-tools-1.24
app-emulation/cri-tools: update to 1.24.2
2023-01-27 13:13:26 +01:00
Krzesimir Nowak
c12850f476 profiles: Pick defaults for app-alternatives during bootstrap. 2023-01-27 09:07:03 +01:00
Dongsu Park
464bc43cc5 Merge pull request #2412 from flatcar/docker-20.10.23-main
Upgrade Docker in main from 20.10.22 to 20.10.23
2023-01-27 08:51:29 +01:00
Dongsu Park
ff9143a7f6 changelog: add changelog for cri-tools 1.24.2 2023-01-26 18:16:01 +01:00
Dongsu Park
40532081c3 app-emulation/cri-tools: apply Flatcar patches
Make use of the existing helpers provided by `coreos-go.eclass`.
To optimize the binary size of crictl, add "-X" to GO_LDFLAGS,
like "-X $(PROJECT)/pkg/version.Version=$(VERSION)" in the original
Makefile of cri-tools. We cannot follow way of Gentoo ebuilds like
`emake`, because Makefile of cri-tools does not allow users to pass in
${GOARCH}.

Add `arm64` to ACCEPTED_KEYWORDS.

Remove unnecessary files from installation, as well as the shell
completion eclass.
2023-01-26 18:13:41 +01:00
flatcar-ci
ffa5527012 New version: main-3495.0.0-nightly-20230125-2100 2023-01-25 21:00:27 +00:00
Kai Lüke
8fd199414a Merge pull request #2403 from flatcar/kai/initrd-rework
Rework initrd usr mount to start Ignition/Afterburn from there
2023-01-25 17:02:55 +01:00
Kai Lueke
5eedc5fa29 Rework initrd usr mount to start Ignition/Afterburn from there
This pulls in
https://github.com/flatcar/bootengine/pull/52
to reduce the size of the unified kernel image by starting Ignition/
Afterburn from the /usr partition.
This also requires to install the Ignition binary to /usr.
2023-01-25 17:02:27 +01:00
Dongsu Park
c4cea36448 app-emulation/cri-tools: sync with Gentoo
Update to 1.24.2.

Gentoo ref: 77516cb738fbcde38de8c8ebb20318a8a65df3f3
2023-01-25 16:41:18 +01:00
Krzesimir Nowak
e1e9975f53
Merge pull request #608 from flatcar/krnowak/bincache-for-dev-builds
common: Split binpkg and SDK tarball URLs
2023-01-25 16:12:29 +01:00
Dongsu Park
1c9bb64e35 app-emulation/docker: update ppc64 buildmode patch for docker 20.10.23
Docker 20.10.23 has changes around hack/make/.binary, so it is necessary
to adapt the ppc64 buildmode patch to make the build pass again.
2023-01-25 12:52:41 +01:00
Flatcar Buildbot
f675fe298d app-emulation: Upgrade Docker 20.10.22 to 20.10.23 2023-01-25 07:48:14 +00:00
flatcar-ci
1200f55550 New version: main-3493.0.0-nightly-20230123-2100 2023-01-23 21:00:25 +00:00
flatcar-ci
8a939513ff New version: main-3490.0.0-nightly-20230120-2100 2023-01-20 21:00:33 +00:00
Dongsu Park
98f0a8d6e1 Merge pull request #2389 from flatcar/dongsu/github-actions-fix-rust
.github: update PV in ebuilds of dev-lang/rust
2023-01-20 13:00:49 +01:00
Dongsu Park
3a8030047b Merge pull request #2400 from flatcar/linux-5.15.89-main
Upgrade Linux Kernel for main from 5.15.88 to 5.15.89
2023-01-20 12:56:09 +01:00
Krzesimir Nowak
532ea2755e Merge pull request #401 from flatcar/buildbot/weekly-package-updates-2023-01-02
Weekly package updates 2023-01-02
2023-01-20 12:52:44 +01:00
Krzesimir Nowak
7792f22b08 Merge pull request #2362 from flatcar/krnowak/weekly
Profile and app/shells/bash updates for the weekly update
2023-01-20 12:52:40 +01:00
Krzesimir Nowak
4b37814d5f changelog: Add entries 2023-01-20 12:10:24 +01:00
Kai Lüke
829965f384 Merge pull request #2390 from flatcar/kai/populate-always
sys-apps/baselayout: Always copy missing entries over to the database
2023-01-20 11:56:49 +01:00
Kai Lueke
363ac15ddb sys-apps/baselayout: Always copy missing entries over to the database
This pulls in
https://github.com/flatcar/baselayout/pull/26
to fix the regression in Alpha/Beta (itself a fix for another
regression) where systemd-tmpfiles bailed if /etc/passwd|group didn't
have the core user, now solved by always copying missing entries over
to the databases, not only if the files didn't exist.
2023-01-20 11:23:25 +01:00
Dongsu Park
c4df65e497 Merge pull request #2394 from flatcar/firmware-20230117-main
Upgrade Linux Firmware in main from 20221214 to 20230117
2023-01-20 09:52:31 +01:00
Krzesimir Nowak
6cd03f5370 coreos: Add user-patch for app-arch/ncompress
This should fix having a dangling symlink at /usr/bin/uncompress.
2023-01-20 07:29:59 +01:00
Krzesimir Nowak
5ae5149cbe sys-apps/policycoreutils: Drop unnecessary modification
The split-usr flag is disabled for all packages in generic images, so
commenting out the symlink creation for split-usr images is not needed
any more.
2023-01-20 07:29:59 +01:00
Krzesimir Nowak
e48a011b84 profiles: Disable split-usr for generic images completely
We do specify -split-usr in make.defaults for the USE variable but
it's not enough - the base profile in portage-stable forces this flag
and this overrides our defaults. As a workaround, we were using
package.use.force to force-disable split-usr for selected
packages. Now, with addition of more split-usr-using packages in
app-alternatives the list in package.use.force would grow. Instead of
listing all the packages having split-usr in their IUSE, use the
use.force and use.mask file to unforce and mask split-usr for all
packages in generic images.

As a bonus, this also allows us to drop a customization we did in
sys-apps/policycoreutils package.
2023-01-20 07:29:59 +01:00
Krzesimir Nowak
9da62c4776 profiles: Drop accept keywords for perl-core/File-Path
It's an obsolete entry - we don't have such a package.
2023-01-20 07:29:59 +01:00
Sayan Chowdhury
55a14648c5 app-shells/bash: Apply Flatcar modifications
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2023-01-20 07:29:59 +01:00
Krzesimir Nowak
fa616acb18 app-shells/bash: Sync with Gentoo
It's from Gentoo commit 1323a3d70d1ead5379b997bd2ef048c898dd6712.
2023-01-20 07:29:59 +01:00
Krzesimir Nowak
7ed1bf4c14 coreos-base/coreos: Pull in app-arch/ncompress
app-arch/gzip does not install uncompress any more, so pulling in
app-arch/ncompress instead to fill in the gap.
2023-01-20 07:29:59 +01:00
Krzesimir Nowak
a43f393643 profiles: Add bison to bootstrap use flags
This is to fix the following error during stage2 SDK build:

  [[ (3/3) Emerging packages ]]

!!! The ebuild selected to satisfy "app-alternatives/yacc" has unmet requirements.
- app-alternatives/yacc-1-r2::portage-stable USE="-bison -byacc -reference"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( bison byacc reference )

(dependency required by "sys-devel/binutils-2.39-r4::portage-stable" [ebuild])
(dependency required by "sys-devel/gcc-11.3.1_p20221209::portage-stable" [ebuild])
(dependency required by "sys-libs/glibc-2.36-r5::coreos" [ebuild])
(dependency required by "sys-libs/glibc:2.2" [argument])
2023-01-20 07:29:59 +01:00
Krzesimir Nowak
aa53bc2044 profiles: Bump net-misc/rsync version in accept keywords
The version we used so far was dropped, so pull something that's
newer.
2023-01-20 07:29:59 +01:00