Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions packages/ublue-os-ucore-addons/ublue-os-ucore-addons.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Name: ublue-os-ucore-addons
Version: 0.2
Comment thread
bsherman marked this conversation as resolved.
Release: 1%{?dist}
Summary: Signing key for ucore kmods

License: MIT
URL: https://github.com/ublue-os/packages

BuildArch: noarch
Supplements: mokutil policycoreutils

# renovate: datasource=github-tags depName=ublue-os/akmods
%global commit_hash 4388220452a1b71892472bf23e4082bfd477c106
Source0: https://github.com/ublue-os/akmods/raw/%{commit_hash}/certs/public_key.der

%description
Adds the signing key for importing with mokutil to enable secure boot for kernel modules.

%prep
%setup -q -c -T


%build
# Have different name for *.der in case kmodgenca is needed for creating more keys
install -Dm0644 %{SOURCE0} %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/pki/akmods/certs/akmods-ublue.der

install -Dm0644 %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/pki/akmods/certs/akmods-ublue.der %{buildroot}%{_sysconfdir}/pki/akmods/certs/akmods-ublue.der

Comment thread
bsherman marked this conversation as resolved.
Comment thread
bsherman marked this conversation as resolved.
%files
%attr(0644,root,root) %{_datadir}/ublue-os/%{_sysconfdir}/pki/akmods/certs/akmods-ublue.der
Comment thread
bsherman marked this conversation as resolved.
%attr(0644,root,root) %{_sysconfdir}/pki/akmods/certs/akmods-ublue.der

%changelog
* Mon Nov 17 2025 Benjamin Sherman <benjamin@holyarmy.org> - 0.2
Comment thread
bsherman marked this conversation as resolved.
Comment thread
bsherman marked this conversation as resolved.
- Update package source and URL; move to COPR build
* Sat Dec 30 2023 Benjamin Sherman <benjamin@holyarmy.org> - 0.1
- Add key for enrolling ucore kernel modules for secure boot
Loading