SPECS/linux*: RPM Macros for all linux packages#953
Open
SalimTerryLi wants to merge 4 commits into
Open
Conversation
SalimTerryLi
force-pushed
the
kernel-macro
branch
from
July 17, 2026 07:20
bdd9542 to
3e774a2
Compare
Z572
requested changes
Jul 17, 2026
| %%files core | ||
| %%dir %%{_kernel_modpath} | ||
| %%{_kernel_modpath}/vmlinuz | ||
| %%{_kernel_modpath}/config.zst |
| Version: 20260713 | ||
| Release: %autorelease | ||
| Summary: Dependencies for building linux kernel on openRuyi | ||
| License: GPL-2.0-or-later |
| This package contains the RPM macros for building the openRuyi Linux kernel. | ||
|
|
||
| %prep | ||
| %setup -c -T |
|
|
||
| %buildsystem_linux_conf() %{expand:\ | ||
| echo "-%%{_kernel_local_version}" > localversion | ||
| cp "%1" .config |
Contributor
There was a problem hiding this comment.
maybe report error when not provide %1
SalimTerryLi
force-pushed
the
kernel-macro
branch
2 times, most recently
from
July 17, 2026 08:05
c34d79f to
9af2364
Compare
This package ships the receipe for any Linux kernel intented to carry openRuyi userspace. It defines generic building procedure and installing behavior, to integrate into openRuyi.
SalimTerryLi
force-pushed
the
kernel-macro
branch
from
July 17, 2026 08:06
9af2364 to
605da76
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make linux* package on openRuyi built and packaged in the same way.
Test repo: https://build.openruyi.cn/project/show/home:SalimTerryLi:pr:kernel-macro
Related Issue
Checklist
Assisted-by: