Draft: Create real debug package
Previously, using debug option for a linux kernel package resulted in the creation of empty debug packages. This was because in PKGBUILD we do strip manually, without using the corresponding makepkg option. I assume this was done before because makepkg was doing strip wrongly for the vmlinux file, since it erroneously did strip for shared binaries for all statically linked files. To solve this problem, I proposed a fix in pacman that hit in the 7.0.0 release (pacman/pacman!200 (merged)) (maybe we should wait a while for the release to settle down?), which should solve the strip vmlinux problems as well, thus:
-
We don't need to do manual strip anymore and we can put this job on makepkg, as it should be.
-
Point 1 ensures that debug packages are no longer empty and makepkg will handle them properly for the kernel.
Creating debug packages for kernel can be extremely useful for unrolling kernel dumps obtained after a kernel panic using kdump. These packages are already provided in distributions like Debian/Ubuntu/Fedora, so I think it would be a good idea for Arch to join the list :)
Fixes: #2
P.S. I haven't bumped pkgrel because as I noticed the maintainers prefer to do it themselves, but if I need to do it, let me know.
Merge request reports
Activity
added priority3-normal statusunconfirmed labels
added 4 commits
-
47ca774c...60511d90 - 3 commits from branch
archlinux/packaging/packages:main
- 3e78b866 - Make creating real debug packages for Linux kernel
-
47ca774c...60511d90 - 3 commits from branch
added 3 commits
-
3e78b866...c46c57d6 - 2 commits from branch
archlinux/packaging/packages:main
- f482ae16 - Make creating real debug packages for Linux kernel
-
3e78b866...c46c57d6 - 2 commits from branch
added 3 commits
-
e678adcc...9f4aff50 - 2 commits from branch
archlinux/packaging/packages:main
- d1788272 - Make creating real debug packages for Linux kernel
-
e678adcc...9f4aff50 - 2 commits from branch
mentioned in issue #2
added 3 commits
-
0cce7eeb...88ea405f - 2 commits from branch
archlinux/packaging/packages:main
- 2811360d - Make creating real debug packages for Linux kernel
-
0cce7eeb...88ea405f - 2 commits from branch
added 4 commits
-
afd8e9e9...5c454c4f - 3 commits from branch
archlinux/packaging/packages:main
- 1a6fe950 - Make creating real debug packages for Linux kernel
-
afd8e9e9...5c454c4f - 3 commits from branch
added 1 commit
- 1bd7cfba - Make creating real debug packages for Linux kernel
- Resolved by Vasiliy Stelmachenok
@heftig I'm sorry for the last force-push, I didn't see that you had added some changes on top of my branch
Edited by Vasiliy Stelmachenok