Dkms based packaging structure #2
Open
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
This pull request introduces the complete structure and files required to build and package Lunatik (version 3.6.2) using DKMS. It includes:
lunatik-3.6.2/
debian/control
,debian/rules
,dkms.conf
, etc.)The goal is to make the DKMS packaging process reproducible and aligned with Debian policy standards.
Steps to Build and Test the Package
To build and test the DKMS-based Lunatik package, follow these steps:
Inside the
lunatik-3.6.2/
directory, run:Once the build completes, move one directory up:
cd ..
Install the generated
.deb
packages:After installation, run the Lunatik CLI:
Current Issue
Upon launching
lunatik
, the kernel modules fail to load. Running:sudo dmesg | tail
reveals symbol-related errors, particularly conflicts between ZFS and Lunatik.
Debugging Efforts So Far
To resolve this, the following steps were attempted:
quilt
and included them in the packaging process.Despite this, the issue with symbol conflicts remains unresolved.
Proposed Next Steps
Two possible directions are under consideration:
Investigate and Patch
Analyze the exact cause of the naming or symbol conflict and attempt to resolve it by refining the existing patch.
Rework the Packaging Approach
Consider starting the packaging process from scratch, possibly using a non-DKMS-based build method
Please review the added structure and build steps. Feedback and suggestions for improving the namespace handling or alternative packaging strategies are welcome.