-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[app-crypt/clevis] Add preliminary support for clevis #909
Conversation
The branch needs a rebase on |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/5596835179 |
Rebased this PR on main, pushed to https://github.com/flatcar/scripts/tree/krishjainx/add-clevis-krish. Running Jenkins CI http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/2064/cldsv/. |
CI failed when building cryptsetup.
You would probably want to regenerate |
Even after regenerating Manifest of cryptsetup, it does not build, because cryptsetup 2.6 started to require asciidoctor in the SDK for generating man pages. |
20f0f6e
to
46de11d
Compare
I have updated this PR, tested it with a local build, and rebased it on main (no merge conflicts). The updated Gentoo ebuild also enables cryptsetup 2.6 to work without asciidoctor in the SDK container. It seems to be functioning properly now. Thank you, @dongsupark |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the PR.
Why does this PR have the last commit Merge branch 'flatcar:main' into add-clevis-krish
?
Could you please rebase or clean up commits to avoid having the merge commit?
See below:
sdk_container/src/third_party/coreos-overlay/app-crypt/clevis/clevis-19-r1.ebuild
Outdated
Show resolved
Hide resolved
Ah, I see. My bad. I was using the GitHub UI instead of the commandline git
client. GitHub merged main into PR branch by default. Will fix it
…On Mon, Jul 17, 2023, 13:47 Dongsu Park ***@***.***> wrote:
***@***.**** commented on this pull request.
Thanks for updating the PR.
Why does this PR have the last commit Merge branch 'flatcar:main' into
add-clevis-krish?
Could you please rebase or clean up commits to avoid having the merge
commit?
See below:
------------------------------
In
sdk_container/src/third_party/coreos-overlay/app-crypt/clevis/clevis-19-r1.ebuild
<#909 (comment)>:
> @@ -0,0 +1,35 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Automated Encryption Framework"
+HOMEPAGE="https://github.com/latchset/clevis"
+SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
This KEYWORS prevents the builds from starting.
!!! All ebuilds that could satisfy "clevis" for /build/amd64-usr/ have been masked.
!!! One of the following masked packages is required to complete your request:
- app-crypt/clevis-19-r1::coreos (masked by: ~amd64 keyword)
You would probably want to add =app-crypt/clevis-19-r1 ~amd64 in
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords,
or replace the KEYWORDS above with KEYWORDS="amd64".
—
Reply to this email directly, view it on GitHub
<#909 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR4RDLKGJQMO7544EWUDOSDXQTYJ5ANCNFSM6AAAAAAZFBCEHQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
It's from Gentoo commit abbb7f41bc9912de890db2cfc8eff0f41ded3850.
da789af
to
4fc497d
Compare
sdk_container/src/third_party/coreos-overlay/dev-libs/luksmeta/luksmeta-9.ebuild
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/dev-libs/jose/jose-11-r1.ebuild
Outdated
Show resolved
Hide resolved
Running Jenkins CI again. http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/932/cldsv/ |
Good news: amd64 build passed, and managed to run CI tests. However, there are 2 issues. Second, almost all amd64 tests failed with the following messages.
|
Note: Our CI tests are run by kola tests of https://github.com/flatcar/mantle/tree/flatcar-master/kola, and their clusters are configured in https://github.com/flatcar/mantle/blob/flatcar-master/platform/machine/qemu/cluster.go. So in theory it is possible to add new options for tpm2 there, looking into this now! |
#1560 was merged and replaces this PR. Good work everyone! |
[app-crypt/clevis] Add preliminary support for clevis
I've added preliminary support for clevis and included all of its dependencies. On the suggestion of @pothos I am submitting this PR in order to get the image built through GitHub actions so that it can be downloaded later. (currently the bootengine ebuild here is also using the latest commit in krishjainx/bootengine).
Most of the work is already done. Just need to iron out a couple of ends and we should be able to include clevis support!
Testing done
Tested that the required wrappers and binaries are installed and accessible in the initramfs by building and using parameters for instance
rd.shell rd.break=pre-pivot
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/2188/cldsv/