Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-08 Thread xinglp
2014-03-08 3:54 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2014-03-08 2:09 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: And most importantly, /dev/disk was not created. I got it, eudev should be after util-linux, for libblkid It's not picking up util-linux

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-08 Thread William Harrington
On Mar 8, 2014, at 5:34 AM, xinglp wrote: Yes, I'm doing this now. It will finish in about 4 hours on machine. And I just finished a build with eudev after util-linux, it boot fine, but enpXsXX change to eth0 again. That should happen when you enable the rule generator and have /etc/

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-08 Thread Bruce Dubbs
xinglp wrote: 2014-03-08 3:54 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2014-03-08 2:09 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: And most importantly, /dev/disk was not created. I got it, eudev should be after util-linux, for libblkid It's not picking

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-08 Thread xinglp
2014-03-08 3:54 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2014-03-08 2:09 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: And most importantly, /dev/disk was not created. I got it, eudev should be after util-linux, for libblkid It's not picking up util-linux

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-08 Thread xinglp
2014-03-08 22:32 GMT+08:00 William Harrington kb0...@berzerkula.org: On Mar 8, 2014, at 5:34 AM, xinglp wrote: Yes, I'm doing this now. It will finish in about 4 hours on machine. And I just finished a build with eudev after util-linux, it boot fine, but enpXsXX change to eth0 again.

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-08 Thread William Harrington
On Mar 7, 2014, at 7:00 PM, William Harrington wrote: On Mar 7, 2014, at 3:50 PM, Bruce Dubbs wrote: I had a conversation with the util-linux devs and they said there were some advantages to building after udev but the capabilities were silently left out if not. But udev needs BLKID in

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-08 Thread Bruce Dubbs
William Harrington wrote: On Mar 7, 2014, at 7:00 PM, William Harrington wrote: I talked to Armin and looked up the Changes between Util linux 2.20 and 2.21 and found that findmnt and lsblk include udev support. Not sure what more info would be presented with udev support, but I now see the

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread xinglp
2014-03-07 7:14 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: I've replaced systemd wuth eudev in LFS. Please have a look and test. Feedback welcomed. /etc/rc.d/init.d/udev line 52 replace /lib/udev/udevd with /sbin/udevd And most importantly, /dev/disk was not created. -- Bruce --

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread Bruce Dubbs
xinglp wrote: 2014-03-07 7:14 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: I've replaced systemd wuth eudev in LFS. Please have a look and test. Feedback welcomed. /etc/rc.d/init.d/udev line 52 replace /lib/udev/udevd with /sbin/udevd Right. I did that when testing but forgot to update

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread xinglp
2014-03-08 1:19 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2014-03-07 7:14 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: I've replaced systemd wuth eudev in LFS. Please have a look and test. Feedback welcomed. /etc/rc.d/init.d/udev line 52 replace /lib/udev/udevd with

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread Bruce Dubbs
xinglp wrote: And most importantly, /dev/disk was not created. I got it, eudev should be after util-linux, for libblkid It's not picking up util-linux from Chapter 5? If not, we'll need to adjust some flags. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ:

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread xinglp
2014-03-07 23:53 GMT+08:00 xinglp xin...@gmail.com: 2014-03-07 7:14 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: I've replaced systemd wuth eudev in LFS. Please have a look and test. Feedback welcomed. /etc/rc.d/init.d/udev line 52 replace /lib/udev/udevd with /sbin/udevd And most

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread William Harrington
On Mar 7, 2014, at 11:51 AM, xinglp wrote: When use initrd, with /dev/disk/by-xxx present, I can use root=UUID=xxx instead of root=/dev/sdxx Your initrd should do that. You need to troubleshoot your initrd. Sincerely, William Harrinton --

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread xinglp
2014-03-08 2:09 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: And most importantly, /dev/disk was not created. I got it, eudev should be after util-linux, for libblkid It's not picking up util-linux from Chapter 5? If not, we'll need to adjust some flags. In the last version

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread xinglp
2014-03-08 2:32 GMT+08:00 William Harrington kb0...@berzerkula.org: On Mar 7, 2014, at 11:51 AM, xinglp wrote: When use initrd, with /dev/disk/by-xxx present, I can use root=UUID=xxx instead of root=/dev/sdxx Your initrd should do that. You need to troubleshoot your initrd. inirtd can do

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread William Harrington
On Mar 7, 2014, at 12:36 PM, xinglp wrote: In the last version I build with jhalfs, udevd not linked to libblkid.so i can't figure out why util-linux is so late in the build for LFS, but yes, eudev will use pkg-config to find it's deps and eudev should be after util-linux. Sincerely,

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread Bruce Dubbs
William Harrington wrote: On Mar 7, 2014, at 11:51 AM, xinglp wrote: When use initrd, with /dev/disk/by-xxx present, I can use root=UUID=xxx instead of root=/dev/sdxx Your initrd should do that. You need to troubleshoot your initrd. What you really want to do is use gpt:

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread Ken Moffat
On Fri, Mar 07, 2014 at 12:09:35PM -0600, Bruce Dubbs wrote: xinglp wrote: And most importantly, /dev/disk was not created. I got it, eudev should be after util-linux, for libblkid It's not picking up util-linux from Chapter 5? If not, we'll need to adjust some flags. --

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread Bruce Dubbs
William Harrington wrote: On Mar 7, 2014, at 12:36 PM, xinglp wrote: In the last version I build with jhalfs, udevd not linked to libblkid.so i can't figure out why util-linux is so late in the build for LFS, but yes, eudev will use pkg-config to find it's deps and eudev should be after

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread Bruce Dubbs
xinglp wrote: 2014-03-08 2:09 GMT+08:00 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: And most importantly, /dev/disk was not created. I got it, eudev should be after util-linux, for libblkid It's not picking up util-linux from Chapter 5? If not, we'll need to adjust some flags. In

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread Armin K.
On 03/07/2014 08:37 PM, Bruce Dubbs wrote: William Harrington wrote: On Mar 7, 2014, at 11:51 AM, xinglp wrote: When use initrd, with /dev/disk/by-xxx present, I can use root=UUID=xxx instead of root=/dev/sdxx Your initrd should do that. You need to troubleshoot your initrd. What you

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread Bruce Dubbs
Armin K. wrote: On 03/07/2014 08:37 PM, Bruce Dubbs wrote: William Harrington wrote: On Mar 7, 2014, at 11:51 AM, xinglp wrote: When use initrd, with /dev/disk/by-xxx present, I can use root=UUID=xxx instead of root=/dev/sdxx Your initrd should do that. You need to troubleshoot your

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread William Harrington
On Mar 7, 2014, at 1:56 PM, Bruce Dubbs wrote: There is a circular dependency between util-linux and udev/eudev. That's why I added util-linux to Chapter 5. Well util linux is great for tools when booting or chroot, but why is it so late in your final system build in ch6? The problem is

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread William Harrington
On Mar 7, 2014, at 1:54 PM, Bruce Dubbs wrote: looking at the configure script, I think we need to add: PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/tools/lib/pkgconfig as a part of the ./configure line. A more straight forward way might be to add: BLKID_CFLAGS=-I/tools/include

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-07 Thread William Harrington
On Mar 7, 2014, at 3:50 PM, Bruce Dubbs wrote: I had a conversation with the util-linux devs and they said there were some advantages to building after udev but the capabilities were silently left out if not. But udev needs BLKID in util-linux. That's why I added util-linux to Ch 5. So

[lfs-dev] eudev has replaced systemd in LFS

2014-03-06 Thread Bruce Dubbs
I've replaced systemd wuth eudev in LFS. Please have a look and test. Feedback welcomed. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-06 Thread Armin K.
On 03/07/2014 12:14 AM, Bruce Dubbs wrote: I've replaced systemd wuth eudev in LFS. Please have a look and test. Feedback welcomed. -- Bruce Title is a bit missleading. Maybe eudev has replaced systemd-udev in LFS? LFS never had systemd itself, only the extracted-by-hand udev from

Re: [lfs-dev] eudev has replaced systemd in LFS

2014-03-06 Thread Bruce Dubbs
Armin K. wrote: On 03/07/2014 12:14 AM, Bruce Dubbs wrote: I've replaced systemd wuth eudev in LFS. Please have a look and test. Feedback welcomed. -- Bruce Title is a bit missleading. Maybe eudev has replaced systemd-udev in LFS? LFS never had systemd itself, only the