Re: [lfs-dev] udev-lfs-186

2012-07-18 Thread Matt Burgess
On Tue, 2012-07-17 at 15:57 -0500, Bruce Dubbs wrote: > Attached is the latest set of files for extracting udev from systemd. > It should work for LFS and BLFS. > > > Let me know if you spot any issues. Bruce, thanks very much for tackling this, and to Armin for his valuable input. I tested t

[lfs-dev] udev-lfs-186

2012-07-17 Thread Bruce Dubbs
Attached is the latest set of files for extracting udev from systemd. It should work for LFS and BLFS. tar -xf systemd-186.tar.xz cd systemd-186 tar -xf ../udev-lfs-186-3.tar.bz2 make -f udev-lfs-186/Makefile.lfs Targets are: For LFS udev (default) install clean (cleans everything) Fo

Re: [lfs-dev] udev-lfs-186

2012-07-15 Thread Bruce Dubbs
Bryan Kadzban wrote: > Bruce Dubbs wrote: >> LIBUDEV_MAJOR = .1 >> LIBUDEV_MINOR = .0 >> LIBUDEV_PATCH = .2 > > Note that (if upstream does this correctly) these will change with every > change to libudev. Not sure if there's some way to pull the values from > their Makefile.am (probabl

Re: [lfs-dev] udev-lfs-186

2012-07-15 Thread Bryan Kadzban
Bruce Dubbs wrote: > LIBUDEV_MAJOR = .1 > LIBUDEV_MINOR = .0 > LIBUDEV_PATCH = .2 Note that (if upstream does this correctly) these will change with every change to libudev. Not sure if there's some way to pull the values from their Makefile.am (probably not terribly easy), or otherwis

Re: [lfs-dev] udev-lfs-186

2012-07-15 Thread Bryan Kadzban
Ken Moffat wrote: > On Sat, Jul 14, 2012 at 01:37:30PM -0700, Bryan Kadzban wrote: >> We disable keymap in -182, and have for (IIRC) a long time. It's >> probably therefore better to keep the current state of things as >> they are, and continue to not enable it. >> > Looking at what was created,

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Armin K. wrote: Here are some corrections to your work. I've defined path to usb.ids and pci.ids, added common library to shared libudev because there are undefined references later when linking against that one. Also, I've modified installation to install gtk-doc htmldocs that are present there

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Ken Moffat wrote: > Using the CFLAGS can be instructive (as in adding to the user's > CFLAGS instead of totally overriding them, as a few packages still > do). It also appears to be obviously correct, and therefore > minimises future maintenance if the code in systemd is moved. > > If you want

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Ken Moffat wrote: > On Sat, Jul 14, 2012 at 04:53:35PM -0500, Bruce Dubbs wrote: >> Armin K. wrote: >>> On 07/14/2012 10:49 PM, Bruce Dubbs wrote: >>> >>> Here are some corrections to your work. I've defined path to usb.ids and >>> pci.ids, added common library to shared libudev because there are >

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Ken Moffat
On Sat, Jul 14, 2012 at 05:03:18PM -0500, Bruce Dubbs wrote: > Armin K. wrote: > > On 07/14/2012 11:35 PM, Bruce Dubbs wrote: > >> Armin K. wrote: > >>> On 07/14/2012 10:49 PM, Bruce Dubbs wrote: > > I'll take a look. Thanks for the suggestions. > >> > >>> Here are some corrections to yo

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Ken Moffat
On Sat, Jul 14, 2012 at 04:53:35PM -0500, Bruce Dubbs wrote: > Armin K. wrote: > > On 07/14/2012 10:49 PM, Bruce Dubbs wrote: > > > > Here are some corrections to your work. I've defined path to usb.ids and > > pci.ids, added common library to shared libudev because there are > > undefined referenc

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Ken Moffat
On Sat, Jul 14, 2012 at 01:37:30PM -0700, Bryan Kadzban wrote: > Haven't had a chance to try this yet, but: > > Armin K. wrote: > > I've taken some time and wrote rules to build udev's keymap feature. > > We disable keymap in -182, and have for (IIRC) a long time. It's > probably therefore bette

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Armin K. wrote: > If you try to link ANYTHING against libudev built your way, it will fail > with undefined references to mkdir_parrents and something else which are > defined in src/shared/*.c files. And if you look closely at systemd > build, you can notice that even systemd's Makefile links sha

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Armin K. wrote: > On 07/14/2012 11:35 PM, Bruce Dubbs wrote: >> Armin K. wrote: >>> On 07/14/2012 10:49 PM, Bruce Dubbs wrote: I'll take a look. Thanks for the suggestions. >> >>> Here are some corrections to your work. I've defined path to usb.ids and >>> pci.ids, added common library t

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Armin K.
On 07/14/2012 11:53 PM, Bruce Dubbs wrote: > Armin K. wrote: >> On 07/14/2012 10:49 PM, Bruce Dubbs wrote: >> >> Here are some corrections to your work. I've defined path to usb.ids and >> pci.ids, added common library to shared libudev because there are >> undefined references later when linking a

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Armin K. wrote: > On 07/14/2012 10:49 PM, Bruce Dubbs wrote: > > Here are some corrections to your work. I've defined path to usb.ids and > pci.ids, added common library to shared libudev because there are > undefined references later when linking against that one. Also, I've > modified installatio

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Armin K.
On 07/14/2012 11:35 PM, Bruce Dubbs wrote: > Armin K. wrote: >> On 07/14/2012 10:49 PM, Bruce Dubbs wrote: >>> >>> I'll take a look. Thanks for the suggestions. > >> Here are some corrections to your work. I've defined path to usb.ids and >> pci.ids, added common library to shared libudev because

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Armin K. wrote: > On 07/14/2012 10:49 PM, Bruce Dubbs wrote: >> >> I'll take a look. Thanks for the suggestions. > Here are some corrections to your work. I've defined path to usb.ids and > pci.ids, added common library to shared libudev because there are > undefined references later when linking

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Armin K.
On 07/14/2012 11:23 PM, Armin K. wrote: On 07/14/2012 11:20 PM, Armin K. wrote: On 07/14/2012 10:49 PM, Bruce Dubbs wrote: I'll take a look. Thanks for the suggestions. -- Bruce Here are some corrections to your work. I've defined path to usb.ids and pci.ids, added common library to s

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Armin K.
On 07/14/2012 11:20 PM, Armin K. wrote: On 07/14/2012 10:49 PM, Bruce Dubbs wrote: I'll take a look. Thanks for the suggestions. -- Bruce Here are some corrections to your work. I've defined path to usb.ids and pci.ids, added common library to shared libudev because there are undefined

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Armin K.
On 07/14/2012 10:49 PM, Bruce Dubbs wrote: I'll take a look. Thanks for the suggestions. -- Bruce Here are some corrections to your work. I've defined path to usb.ids and pci.ids, added common library to shared libudev because there are undefined references later when linking against

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Armin K. wrote: > On 07/14/2012 06:44 PM, Bruce Dubbs wrote: >>> I found the error. It's 32bit specific problem only. You need to add >>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS. See >>> http://comments.gmane.org/gmane.comp.sysutils.systemd.devel/4897 >> >> OK, does just adding those

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bryan Kadzban
Haven't had a chance to try this yet, but: Armin K. wrote: > I've taken some time and wrote rules to build udev's keymap feature. We disable keymap in -182, and have for (IIRC) a long time. It's probably therefore better to keep the current state of things as they are, and continue to not enable

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Armin K.
On 07/14/2012 06:44 PM, Bruce Dubbs wrote: Armin K. wrote: On 07/14/2012 10:51 AM, Armin K. wrote: On 07/14/2012 01:30 AM, Bruce Dubbs wrote: OK, here is my first trial build of udev from systemd. These are the instructions: wget http://www.freedesktop.org/software/systemd/systemd-186.tar.xz

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Bruce Dubbs
Armin K. wrote: > On 07/14/2012 10:51 AM, Armin K. wrote: >> On 07/14/2012 01:30 AM, Bruce Dubbs wrote: >>> OK, here is my first trial build of udev from systemd. >>> >>> These are the instructions: >>> >>> wget http://www.freedesktop.org/software/systemd/systemd-186.tar.xz >>> tar -xf systemd-186.

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Armin K.
On 07/14/2012 10:51 AM, Armin K. wrote: > On 07/14/2012 01:30 AM, Bruce Dubbs wrote: >> OK, here is my first trial build of udev from systemd. >> >> These are the instructions: >> >> wget http://www.freedesktop.org/software/systemd/systemd-186.tar.xz >> tar -xf systemd-186.tar.xz >> cd systemd-186

Re: [lfs-dev] udev-lfs-186

2012-07-14 Thread Armin K.
On 07/14/2012 01:30 AM, Bruce Dubbs wrote: > OK, here is my first trial build of udev from systemd. > > These are the instructions: > > wget http://www.freedesktop.org/software/systemd/systemd-186.tar.xz > tar -xf systemd-186.tar.xz > cd systemd-186 > > tar -xf ../udev-lfs-186.tar.bz2 > > make -f u

[lfs-dev] udev-lfs-186

2012-07-13 Thread Bruce Dubbs
OK, here is my first trial build of udev from systemd. These are the instructions: wget http://www.freedesktop.org/software/systemd/systemd-186.tar.xz tar -xf systemd-186.tar.xz cd systemd-186 tar -xf ../udev-lfs-186.tar.bz2 make -f udev-lfs-186/Makefile.lfs make -f udev-lfs-186/Makefile.lfs D