Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Drop obsolete stuff after updating profiles #1548

Merged
merged 5 commits into from
Jan 14, 2022
Merged

Conversation

krnowak
Copy link
Contributor

@krnowak krnowak commented Jan 7, 2022

A bunch of things has changed recently:

  • Crypt functionality in glibc was deprecated in favor of using libxcrypt. For now I'm reverting the deprecation, so we still keep using crypt from glibc, as the migration has some blockers for us (see Migrate to libxcrypt #1543).
  • uclibc was removed, so we need to drop all mentions of elibc_uclibc.
  • Same with mintlib, so we need to drop all mentions of elibc_mintlib.
  • sys-apps/hwids was deprecated in favor of sys-apps/hwdata, so we migrate to it
    • systemd needed some small sync with gentoo in this regard

Needs to be merged together with flatcar-archive/portage-stable#268.

CI: http://localhost:9091/job/os/job/manifest/4566/cldsv/

@krnowak krnowak marked this pull request as ready for review January 7, 2022 15:14
@krnowak krnowak requested a review from a team January 7, 2022 15:14
@krnowak
Copy link
Contributor Author

krnowak commented Jan 7, 2022

CI passed.

It was removed from Gentoo and with updated profiles, the build
started to fail with:

USE flag 'elibc_uclibc' referenced in conditional 'elibc_uclibc?' is
not in IUSE
We are replacing this package with sys-apps/hwdata. Also, no point in
using unstable versions - they are stabilized quickly enough.
Gentoo deprecated sys-apps/hwids and is going to drop it soon.
@krnowak krnowak force-pushed the krnowak/update-profiles branch from 0375581 to 1be6fb7 Compare January 11, 2022 13:18
@krnowak krnowak mentioned this pull request Jan 13, 2022
1 task
Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was a bit lost with hwids removal from systemd - but I understand that is now bundled to systemd directly ?

profiles/coreos/base/package.unmask Show resolved Hide resolved
@krnowak
Copy link
Contributor Author

krnowak commented Jan 14, 2022

was a bit lost with hwids removal from systemd - but I understand that is now bundled to systemd directly ?

Yeah, me too initially. So no, it's not bundled, but basically hwdb option in meson defaults to true, if not specified explicitly. So you could say that there is no USE flag to disable it now.

Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good - hopefully we will soon get #1543 merged :D

@krnowak
Copy link
Contributor Author

krnowak commented Jan 14, 2022

That looks good - hopefully we will soon get #1543 merged :D

Thanks for the review. The migration is on my TODO list.

@krnowak krnowak merged commit 803f710 into main Jan 14, 2022
@krnowak krnowak deleted the krnowak/update-profiles branch January 14, 2022 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants