Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145287 - move /lib/udev-state from baselayout to udev
Summary: move /lib/udev-state from baselayout to udev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: udev-meta 144786
  Show dependency tree
 
Reported: 2006-08-27 13:51 UTC by SpanKY
Modified: 2007-01-27 12:11 UTC (History)
2 users (show)

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


Attachments
udev-state.patch (udev-state.patch,2.67 KB, text/plain)
2006-08-27 13:59 UTC, SpanKY
Details
Use /lib instead of /$(get_libdir) for udev state (udev.patch,1.26 KB, patch)
2006-09-15 08:12 UTC, Joel Martin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2006-08-27 13:51:37 UTC
since we moved all the rest of udev out of baselayout, might as well move this too

it also moves /lib/udev-state/ to /lib/udev/state/
Comment 1 SpanKY gentoo-dev 2006-08-27 13:59:08 UTC
Created attachment 95232 [details]
udev-state.patch
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-08-28 23:47:07 UTC
good idea, will do this for next release.
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-08-30 21:28:18 UTC
Will be fixed in the 098 release.
Comment 4 Joel Martin (RETIRED) gentoo-dev 2006-08-31 05:10:02 UTC
The patch doesn't look right to me.

I asked on gentoo-mips and mips-linux and the consensus was that non-binary files stored under lib directories should really go in /lib not /$(get_libdir).

But regardless of that, the patch is inconsistent: the first lines of the patch assume /$(get_libdir)/udev, but later in the patch to udev-start-096.sh assumes /lib/udev. This same problem in baselayout was the reason I filed bug 144786 in the first place.
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-09-09 17:23:24 UTC
Care to provide a patch for the 100 release that meets your needs?
Comment 6 Joel Martin (RETIRED) gentoo-dev 2006-09-15 08:12:43 UTC
Created attachment 97054 [details, diff]
Use /lib instead of /$(get_libdir) for udev state
Comment 7 Joel Martin (RETIRED) gentoo-dev 2006-09-15 08:16:21 UTC
In addition to that, the udev should probably depend on a baselayout that no longer has udev state processing (all of them still have this at the moment I believe).
Comment 8 Joel Martin (RETIRED) gentoo-dev 2006-12-21 06:46:45 UTC
These patches have been applied and are in 100-r2 and 103.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-01-27 12:11:07 UTC
Fixed in >=100-r2; closing as such.