Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[RFE] Move out customizations out from portage-stable #646

Closed
8 of 9 tasks
krnowak opened this issue Mar 1, 2022 · 0 comments · Fixed by flatcar/scripts#2373
Closed
8 of 9 tasks

[RFE] Move out customizations out from portage-stable #646

krnowak opened this issue Mar 1, 2022 · 0 comments · Fixed by flatcar/scripts#2373
Assignees
Labels
kind/debt Technological debt.

Comments

@krnowak
Copy link
Member

krnowak commented Mar 1, 2022

We want portage-stable to contain almost zero modifications, so we need to handle the following things:

  • GLSA files
    • These files reside in the metadata/glsa directory.
    • They need to be moved elsewhere, but still at a place where glsa-check can find them.
    • I think we can keep them in portage-stable - metadata/glsa is a canonical location for GLSA stuff and the rsynced Gentoo repo has them there.
  • bootstrap script
  • overridden usr-ldscript eclass
    • It's eclass/usr-ldscript.eclass.
    • Currently an empty file.
    • See if it can be either moved to coreos-overlay or vanilla version could be used, but some flag set to disable whatever it was doing.
    • Add eclass/usr-ldscript.eclass to package automation scripts#2373
    • We can sync it with Gentoo once we get rid of the split-usr USE flag in Flatcar.
  • patched selinux-policy-2 eclass
    • Either drop the patch or upstream it.
    • Maybe the patch won't be necessary if we update our SELinux packages.
    • Done, whatever changes were needed, they got upstreamed.
  • patched bash-completion-r1 eclass
    • The patch needs to be upstreamed to fix cross-compilation issues (putting completion files in wrong place).
    • The issue was fixed in Gentoo
  • modified sys-apps/semodule-utils package
    • This adds a weak blocker on another package.
    • Most likely not needed any more.
  • modified dev-util/perf package
    • The patch added support for python3.6.
    • Not needed, will go away when syncing with Gentoo.
  • other eclasses (git grep -nie flatcar)
    • Most of the modifications add support for older EAPIs.
    • They are not necessary any more, and will go away when syncing with Gentoo.
  • modified virtual/rust package (Move virtual/rust to coreos-overlay and drop the rust workflow flatcar-archive/portage-stable#313)
    • Updates are handled by automation, so needs to be moved to overlay.

The only change that we would have in portage-stable are:

  • our repository configuration stored in metadata/layout.conf,
  • our changelogs in the changelog directory,
  • our name in profiles/repo_name,
  • our markdown files (readme, maintainers, etc).

It's a part of #96.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/debt Technological debt.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant