Deepin DE has a dependancy on Linux kernal when Im using Linux-zen
I have a basic Arch install with xorg and deepin packages running Linux-zen Kernel.
Deepin works fine and starts fine via startx. Great.
My question is WHY does deepin package have a depandancy on the Linux kernel? it downloads it but I dont actually want it. I have Linux-zen working with nvidia-dkms. No issues.
How can I install Deepin group WITHOUT it downloading the Linux kernal? It is possible? Or is it an option during the install of deepin packages that I just chose the default options?
Any help would be great, its just bugging me thats all. I feel my Arch system is not clean having a Linux kernel installed that I dont use. OCD ;)
About this post
- Posted
- Archived
- Score
- 16 · 80% up
- Kind
- Text
- ID
- ifonzc
13 comments
Install the
deepin-anything-dkmspackage, then you should be able to removedeepin-anything-archand the stock kernel package.This worked a treat. Legend. Many thanks.
Out of curiosity, why does a DE need a file search tool kernel module? Or is it also for power management and things like that?
I was curious about that too, so I did some research and found this giant "design considerations" document (entirely in Chinese, threw it on Google Translate). From what I understand, the developer wanted a search tool that was as fast as Everything, and they decided that using a kernel module to monitor the file system for changes was the best-performing option.
I had a feeling it was this. thank you, i will try it later and update you folks :)
man 5 PKGBUILD
Modify that of Deepin accordingly, build the packages, boom. Done. Have fun.
ooooo ok... ill have a look into that. cheers.
Shouldn't the pkgbuild of Linux zen provide the Linux kernel? Maybe modifiy the pkgbuild of Linux zen would make more sense?
That could help, but Deepin should probably not depend on the kernel anyway. And maybe "provides Linux" has implications that we don't know about (maybe zen is some versions behind, and will break a package that expects a certain ABI ?...).
It shouldn't because some kernel modules are built against and depend on a specific version of the linux kernel. So the linux-zen kernel cannot be used as a drop-in replacement for the linux kernel in all cases.