-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Debian repository information to README #242
Conversation
This should close #167 |
Could someone take a look at this please? |
I have looked over it and I'm not quite confident in the packaging work to include it in the Just throwing the binary into There is an entire |
I am now using that, and all expected files are now included.
They are a way to make Debian packages. If by "proper way", you mean the way you would have to do it for the package to by accepted into the Debian repos, then this is not that way. However, creating such a Debian package is also requires packaging all dependencies. As this tool is written in go, which is a newer programming language and has less packages in Debian, that could be a long and complicated process, especially since each dependency of sbctl that is not packaged in Debian, could also have its own dependencies that also require packaging. This is something I would like to do at some point. But at the moment I don't have the time or the willingness to tackle that task. This package, that I have created, is exactly the same as how a "proper" Debian package would be, except for its creation method. Additionally, this is a more interesting improvement to me than the creation process of the package:
|
I don't intend for you to package all the dependencies. But having a |
There is no alternative. The only other way of building the package is the "proper" Debian way, which requires building all the dependencies. I'm not sure what it is that you do want, but if this package isn't to your liking, then you should close the PR. The fact is that the package does work exactly as a Debian package should.
|
I have created a Debian package for sbctl which is available in my Debian repository.
In the future, I may look into getting this tool into the official Debian repos, but that is not as easy as creating this package was.
I also spent a lot of time trying to create something similar to the pacman hook, for automatic resigning after a modification of Debian's EFI files, but I was unsuccessful.
I don't have time to further investigate that, but, if someone knows how to do this, within the framework of the package setup, then I will implement it.
In any case, hopefully this package will help users who want to use sbctl on Debian, but don't feel like compiling it. I can tell you sbctl works the same way on Debian as it does on Arch, despite it not being documented on the Debian wiki. Thanks to sbctl, I have working secure boot on Debian on my laptop (which didn't come with Microsoft's keys)!