Installed kernel leaves "build" directory inside /usr/lib/modules/<ver-pkgbase>/build
bug
### Same-issue check
Yes
### Linux Distribution
Archlinux
### Kernel version
7.0-rc5 (happened before as well)
### What happened?
Hi, I've noticed I always have a ~180mb build directory inside the /usr/lib/modules folder of the built kernel. The Kernel that Arch delivers has no such kernel.
I use modprobed, so without that directory, the kernel and modules has under 30mb, while the arch kernel has 170mb. Though the build directory makes my kernel ironically bigger than the Arch kernel.
```
--- /usr/lib/modules ---------------------------------------------------------------------------------------------------
210.9 MiB [#################] /7.0.0-rc5-273-tkg-linux-mainline-llvm-minimal
169.6 MiB [############# ] /6.19.9-arch1-1
```
```
--- /usr/lib/modules/7.0.0-rc5-273-tkg-linux-mainline-llvm-minimal -----------------------------------------------------
/..
181.3 MiB [#################] /build
15.2 MiB [# ] vmlinuz
13.4 MiB [# ] /kernel
184.0 KiB [ ] modules.symbols.bin
156.0 KiB [ ] modules.symbols
144.0 KiB [ ] modules.alias
144.0 KiB [ ] modules.alias.bin
140.0 KiB [ ] modules.builtin.modinfo
68.0 KiB [ ] modules.builtin.alias.bin
36.0 KiB [ ] modules.dep.bin
28.0 KiB [ ] modules.dep
12.0 KiB [ ] modules.builtin.bin
12.0 KiB [ ] modules.builtin
8.0 KiB [ ] modules.order
4.0 KiB [ ] modules.devname
4.0 KiB [ ] modules.softdep
4.0 KiB [ ] modules.weakdep
4.0 KiB [ ] pkgbase
```
I feel like the build directory has no business here. It's not a LOT of megabytes, so it's not an issue that is in any way critical, but it's still a little bit silly :)
### Relevant logs
[system-info.txt](https://github.com/user-attachments/files/26293793/system-info.txt)
[customization.cfg.txt](https://github.com/user-attachments/files/26293792/customization.cfg.txt)
[prepare.log.txt](https://github.com/user-attachments/files/26293794/prepare.log.txt)
[git_work.log.txt](https://github.com/user-attachments/files/26293795/git_work.log.txt)
### My Favorite type(s) of frog
Frog, Wood Frog (Lithobates sylvaticus)
0 条评论