Repository navigation
package: Add Makefile and CMake rules for RPM/DEB packages and validation test - #2
Merged
Merged
Conversation
lgirdwood
marked this pull request as ready for review
November 8, 2026 17:18
lgirdwood
force-pushed
the
packaging-rpm-deb
branch
from
November 8, 2026 17:23
ca416aa to
6a30571
Compare
…tion test
Add top-level Makefile and CMake/CPack targets (rpm, deb, tgz, packages)
to build pre-compiled topology .rpm, .deb, and .tar.gz packages with
standardized 0644/0755 permissions and relative symlinks.
Also fix topology1's top-level copy rule so it only copies .tplg outputs
without overwriting the root cmake_install.cmake script.
Add tools/validate-package.py (wired into CTest as validate_packages and
Make as validate-packages) to verify:
- Package metadata and version fields (Name, Version, Arch, License, ABI)
- Installed file paths (/lib/firmware/intel/{sof-tplg,sof-ipc4-tplg})
and 100% match against built production topologies
- Directory (0755), file (0644), and symlink (0777) permissions and
root:root ownership
- Relative symlinks (sof-ace-tplg -> sof-ipc4-tplg and intra-directory
.tplg links) with no broken or host-absolute links
- Embedded ALSA CoSA block headers (ABI 5) and SOF ABI manifest versions
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
lgirdwood
force-pushed
the
packaging-rpm-deb
branch
from
November 8, 2026 17:26
6a30571 to
62e3879
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.
Adds Make and CMake/CPack rules (
make rpm,make deb,make packages,make validate-packages) to build.rpm,.deb, and.tar.gzpackages containing pre-compiled IPC3 and IPC4 SOF topologies, along withtools/validate-package.py(integrated intoctestand CI) to validate file paths, permissions, version metadata, binary ABI manifests, and symbolic links.