Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677880 - app-shells/zsh-5.7: need prefixification of profile
Summary: app-shells/zsh-5.7: need prefixification of profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 16:46 UTC by Madhu
Modified: 2019-02-14 08:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
suggested fix (file_677880.txt,557 bytes, patch)
2019-02-13 16:46 UTC, Madhu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Madhu 2019-02-13 16:46:23 UTC
Created attachment 565052 [details, diff]
suggested fix

"SHELL=zsh startprefix" does not source etc/profile.env and the  PATH in the resulting shell does not include $EPREFIX/bin
Comment 1 Fabian Groffen gentoo-dev 2019-02-13 17:12:21 UTC
    newins "$(prefixify_ro "${FILESDIR}"/zprofile-4)" zprofile

should've done the trick, this needs investigation as to why
Comment 2 Fabian Groffen gentoo-dev 2019-02-14 08:36:28 UTC
Ah, I see.  That file needs a lot more changes.
Comment 3 Larry the Git Cow gentoo-dev 2019-02-14 08:38:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57668f2a996a42dae2455fd56acfd8ae75dc1fae

commit 57668f2a996a42dae2455fd56acfd8ae75dc1fae
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2019-02-14 08:37:30 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2019-02-14 08:37:59 +0000

    app-shells/zsh: fix zprofile for Prefix
    
    Closes: https://bugs.gentoo.org/677880
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-shells/zsh/files/zprofile-4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)