Skip to content
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

fix: add polkit rules for yubikey #231

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rothgar
Copy link

@rothgar rothgar commented Mar 11, 2024

I know there's something I'm missing because I haven't tested this and it's been a long time since I've built RPMs. I copied the examples from the udev spec.

I think I'll need to update the Containerfile too but would be happy to get some guidance so I can also verify it builds. I also need to add a post install restart for pcscd service

Referencing ublue-os/main#500
Should also fix #180

@KyleGospo KyleGospo enabled auto-merge May 2, 2024 23:36
@storopoli
Copy link

@rothgar we are getting some CI failures.

%setup -q -c -T

%install
tar xf %{SOURCE0} -C %{buildroot}%{_datadir}/%{VENDOR} --strip-components=1
Copy link
Author

Choose a reason for hiding this comment

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

I think this may be causing the CI problems. From the logs

tar xf /tmp/ublue-os/rpmbuild/SOURCES/ublue-os-polkit-rules.tar.gz -C /tmp/ublue-os/rpmbuild/BUILDROOT/ublue-os-polkit-rules-0.1-1.fc39.x86_64/usr/share/ublue-os --strip-components=1
tar: /tmp/ublue-os/rpmbuild/SOURCES/ublue-os-polkit-rules.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Copy link
Author

Choose a reason for hiding this comment

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

It's been a long time since I packaged anything in RPM. @storopoli Do you know why it may not be creating the tar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to use Yubikey without additional pcsc rules
3 participants