Ticket #750 (closed enhancement: wontfix)
Equivalent to FEATURES=installsources
| Reported by: | rkjnsn | Owned by: | |
|---|---|---|---|
| Priority: | Sometime | Milestone: | |
| Component: | clients/paludis | Version: | 0.36.0 |
| Keywords: | Cc: | mpartap@… | |
| Blocked By: | Blocking: | ||
| Distribution: | Gentoo |
Description
In addition to splitdebug, I am also using installsources on my testing system to allow easy debugging of installed applications. It appears that there is no such functionality in Paludis, which is keeping me with portage for the time being. Am I missing this somewhere, and if not, are there any plans to implement it?
Attachments
Change History
comment:1 Changed 4 years ago by ciaranm
- Status changed from new to closed
- Resolution set to wontfix
comment:2 Changed 4 years ago by pioto
As a sidenote, you can get similar functionality by doing:
paludis --skip-phase tidyup --install some/package
Changed 4 years ago by rkjnsn
-
attachment
installsources.bash
added
Script to copy sources to the destination directory, updating the binaries accordingly.
comment:3 Changed 4 years ago by rkjnsn
In case anyone else wants to do this, I added a hook based on how portage does it, which seems to work for me so far. I originally tried to put it in ebuild_strip_pre, but it wasn't getting called, so I moved it to ebuild_install_post, which seems to work. I've only tried it on a couple of packages so far, so it may be broken in some way. Any feedback would be appreciated.
comment:4 Changed 4 years ago by empee584
- Cc mpartap@… added
THX rkjnsn your script works very nice, symlinked it to /usr/share/paludis/hooks/ebuild_install_post/ and boom i had sources for the only package i needed this for to debug. Now it definitly needs a sane way to enable this on a per-package basis, because there is no way i am installing all the sources for all the packages on the next update. For now, the job's done and i'm chmodding the script -x again.

There are no plans to implement it until ebuilds provide a reliable way of indicating what their 'sources' are.