Projects
Eulaceura:Factory
penglai-enclave-driver
_service:obs_scm:penglai-enclave-driver.spec
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:penglai-enclave-driver.spec of Package penglai-enclave-driver
Name: penglai-enclave-driver Version: 1.0 Release: 1 Summary: Penglai Enclave is an open-sourced, secure and scalable TEE system for RISC-V. License: MulanPSL-2.0 URL: https://github.com/Penglai-Enclave/Penglai-Enclave-sPMP Source0: https://github.com/Penglai-Enclave/Penglai-Enclave-sPMP/releases/download/v%{version}/%{name}.tar.gz Source1: dkms.conf ExclusiveArch: riscv64 BuildRequires: gcc, make, kernel-devel, dkms Requires: dkms %define debug_package %{nil} %define kmod_name penglai %description Penglai is a RISC-V TEE system, which is designed to be secure, high-performant, and scalable. %prep %autosetup -n %{name} %build # The actual build of the module is handled by dkms %install mkdir -p %{buildroot}/usr/src/%{kmod_name}-%{version} cp -a * %{buildroot}/usr/src/%{kmod_name}-%{version} install -D -m 0644 %{SOURCE1} %{buildroot}/usr/src/%{kmod_name}-%{version}/dkms.conf rm -rf %{buildroot}/usr/src/%{kmod_name}-%{version}/patches sed -i '1iKVERSION := $(shell uname -r)' %{buildroot}/usr/src/%{kmod_name}-%{version}/Makefile sed -i 's|../openeuler-kernel/|/lib/modules/$(KVERSION)/build|g' %{buildroot}/usr/src/%{kmod_name}-%{version}/Makefile %post dkms add -m %{kmod_name} -v %{version} /usr/src/%{kmod_name}-%{version} dkms build -m %{kmod_name} -v %{version} dkms install -m %{kmod_name} -v %{version} modprobe %{kmod_name} %postun dkms remove -m %{kmod_name} -v %{version} --all %files /usr/src/%{kmod_name}-%{version}/Makefile /usr/src/%{kmod_name}-%{version}/dkms.conf /usr/src/%{kmod_name}-%{version}/penglai-enclave-driver.c /usr/src/%{kmod_name}-%{version}/penglai-enclave-driver.h /usr/src/%{kmod_name}-%{version}/penglai-enclave-elfloader.c /usr/src/%{kmod_name}-%{version}/penglai-enclave-elfloader.h /usr/src/%{kmod_name}-%{version}/penglai-enclave-ioctl.c /usr/src/%{kmod_name}-%{version}/penglai-enclave-ioctl.h /usr/src/%{kmod_name}-%{version}/penglai-enclave-page.c /usr/src/%{kmod_name}-%{version}/penglai-enclave-page.h /usr/src/%{kmod_name}-%{version}/penglai-enclave.c /usr/src/%{kmod_name}-%{version}/penglai-enclave.h /usr/src/%{kmod_name}-%{version}/riscv64.h /usr/src/%{kmod_name}-%{version}/syscall.h %changelog * Mon Mar 18 2024 Jingwiw <wangjingwei@iscas.ac.cn> - 1.0-1 - Added DKMS support for the Penglai Enclave driver. - Initial release of the Penglai TEE driver for RISC-V with DKMS support.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2