Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271939 - sys-fs/e2fsprogs installs files in / that could go in /usr
Summary: sys-fs/e2fsprogs installs files in / that could go in /usr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-31 04:35 UTC by Jonathan Callen (RETIRED)
Modified: 2009-07-03 19:27 UTC (History)
0 users

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


Attachments
patch for ebuild (e2fsprogs-1.41.5.ebuild.diff,1.31 KB, patch)
2009-05-31 04:36 UTC, Jonathan Callen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen (RETIRED) gentoo-dev 2009-05-31 04:35:57 UTC
In upstream e2fsprogs, the default configure options place certain files in /{,s}bin and others in /usr/{,s}bin.  Gentoo currently overrides that using options predating the default placement of those files outside of /usr/local/{,s}bin, by placing them all in /{,s}bin (except mklost+found which is placed in /usr/sbin).  The following files are placed in positions outside upstream's defaults, and could probably be moved into /usr/{,s}bin:

    /bin/chattr
    /bin/lsattr
    /bin/uuidgen
    /sbin/filefrag
    /sbin/uuidd

Note that the simplest way to use upstream's defaults is to remove the "--bindir=/bin --sbindir=/sbin" arguments to econf, and pass "--root-prefix=" to econf.  Attached is a patch for the ebuild to do so.
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2009-05-31 04:36:36 UTC
Created attachment 193034 [details, diff]
patch for ebuild
Comment 2 SpanKY gentoo-dev 2009-05-31 07:22:50 UTC
looks fine.  i'll include the change in the next bump.
Comment 3 SpanKY gentoo-dev 2009-07-03 19:27:23 UTC
and i did add this to 1.41.7