illustration error chapter06/shadow.html

2011-01-24 Thread xinglp
in Changelog Change password hashing from MD5 to SHA-512. but in chapter06/shadow.html Instead of using the default crypt method, use the more secure MD5 method of password encryption, which also allows passwords longer than 8 characters. It is also necessary to change the obsolete

how about update some pkgs?

2011-03-12 Thread xinglp
The pkgs below work well on my lfs system, both i386 and x86_64. linux-2.6.37.3 tar-1.26 ncurses-5.8 -- code farmer from lanxiangjixiao -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: Added /run directory

2011-04-19 Thread xinglp
2011/4/20 Bruce Dubbs bruce.du...@gmail.com: I have added the /run top level directory to the -dev book and updated the bootscripts to use it.  It seems to work pretty well, at least for a base LFS system.  There are no hidden directories or files in /dev. Some apps must use precreated dir in

Re: Rewrite bootscripts and Chaper 7

2011-08-02 Thread xinglp
2011/8/2 Bruce Dubbs bruce.du...@gmail.com: I have made a very large, invasive change to LFS.  All the bootscripts have been rewritten.  From the change log: [bdubbs] - Rewrite bootscripts and Chaper 7. o Make scripts compatible with initd format (see BLFS). o Move functions and services

Re: Rewrite bootscripts and Chaper 7

2011-08-02 Thread xinglp
2011/8/2 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2011/8/2 Bruce Dubbs bruce.du...@gmail.com: I have made a very large, invasive change to LFS.  All the bootscripts have been rewritten.  From the change log: [bdubbs] - Rewrite bootscripts and Chaper 7. In Chaper 7, LFS-Bootscript

Re: Rewrite bootscripts and Chaper 7

2011-08-02 Thread xinglp
2011/8/2 Bruce Dubbs bruce.du...@gmail.com: I have made a very large, invasive change to LFS.  All the bootscripts have been rewritten.  From the change log: [bdubbs] - Rewrite bootscripts and Chaper 7. o Make scripts compatible with initd format (see BLFS). o Move functions and services

Re: systemd

2011-08-02 Thread xinglp
2011/8/3 侯红勋 hohoxu_hao...@hotmail.com: On 2011年08月03日 12:23, Lemon Lime wrote: Hello list, I have just installed systemd on my LFS-based system, and I would like to share my experience. Is there anyone here who is interested in installation instructions, boot time measurements,

In Chapter, use vmlinuz instead of vmlinux to get grub-mkconfig work.

2011-08-30 Thread xinglp
/etc/grub.d/10_linux line 133, it looks like vmlinuz work for it. case x`uname -m` in xi?86 | xx86_64) list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do if grub_file_is_not_garbage $i ; then echo -n $i ; fi done` ;; *) list=`for

Re: In Chapter, use vmlinuz instead of vmlinux to get grub-mkconfig work.

2011-08-30 Thread xinglp
is chapter 8.3 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: Rewrite bootscripts and Chaper 7

2011-08-30 Thread xinglp
2011/8/31 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: This is a patch fix some issues I met. I'm looking at the changes, but don't see what problems they are trying to solve. In the rc script, I think the change you made will set IN_BOOT improperly if the user executes init to change

Re: Rewrite bootscripts and Chaper 7

2011-08-31 Thread xinglp
2011/9/1 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2011/9/1 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2011/8/31 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: This is a patch fix some issues I met. I'm looking at the changes, but don't see what problems they are trying

Re: Rewrite bootscripts and Chaper 7

2011-08-31 Thread xinglp
2011/9/1 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2011/9/1 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2011/8/31 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: This is a patch fix some issues I met. I'm looking at the changes, but don't see what problems they are trying

Re: Rewrite bootscripts and Chaper 7

2011-08-31 Thread xinglp
Misstake cp -av /etc/sysconfig/{ifconfig.eth0.ipv4,ifconfig.test} edit /etc/sysconfig/ifconfig.test set ONBOOT=no to it. then reboot the lfs system, you will see a warning. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the

Re: binutils-2.21.1a.tar.bz2

2011-09-02 Thread xinglp
2011/9/3 Bruce Dubbs bruce.du...@gmail.com: stefan schwarzer wrote: Hi all, the binutils-2.21.1a.tar.bz2 package extracts to binutils-2.21.1 hence the book is wrong in assuming binutils-2.21.1a as extracted directory is wrong in chapter 5.4 Cross Binutils for the configure step. Right you

Re: binutils-2.21.1a.tar.bz2

2011-09-04 Thread xinglp
chapter 6.13 cp -v ../binutils-2.21.1a/include/libiberty.h /usr/include -- cp -v ../binutils-2.21.1/include/libiberty.h /usr/include -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

6.22. Pkg-config-0.26 the sed is error?

2011-09-04 Thread xinglp
This command sed -i -e '/!done/i/ longArg = NULL;' popt/popt.c create / longArg = NULL; -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

The write of util-linux-2.20 not work.

2011-09-05 Thread xinglp
it just prints write: : No such file or directory util-linux-2.19.1 works well -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

agetty of util-linux-2.20 do not show the typed username(like input password) on serial term

2011-09-05 Thread xinglp
util-linux-2.19.1 works well -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: The write of util-linux-2.20 not work.

2011-09-06 Thread xinglp
2011/9/6 Andrew Benton b3n...@gmail.com: On Tue, 6 Sep 2011 08:59:01 +0800 xinglp xin...@gmail.com wrote: it just prints write: : No such file or directory util-linux-2.19.1 works well -- andy:~$ write Usage:  write [options] user [ttyname] Options:  -V, --version    output version

Re: Bootscripts (again)

2011-09-15 Thread xinglp
在 2011年9月16日 上午6:19,Bruce Dubbs bruce.du...@gmail.com 写道: I've been reworking the bootscripts again.  I hope to have something available by the weekend.  Here is where I am right now. Bootscript changes Addded interactive capability Append /run/var/bootlog to /var/log/boot.log at the end of

lfs-bootscripts-20110918 not work with make -j2

2011-09-21 Thread xinglp
ln -sf ../init.d/mountvirtfs /etc/rc.d/rcS.d/S00mountvirtfs ln: failed to create symbolic link `/etc/rc.d/rcS.d/S00mountvirtfs': No such file or directory {rcS rc0 rc1 rc2 rc3 rc4 rc5 rc6} depend on create-dirs -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ:

Re: lfs-bootscripts-20110918 not work with make -j2

2011-09-21 Thread xinglp
在 2011年9月22日 上午1:34,Bruce Dubbs bruce.du...@gmail.com 写道: xinglp wrote: ln -sf ../init.d/mountvirtfs /etc/rc.d/rcS.d/S00mountvirtfs ln: failed to create symbolic link `/etc/rc.d/rcS.d/S00mountvirtfs': No such file or directory {rcS rc0 rc1 rc2 rc3 rc4 rc5 rc6} depend on create-dirs Thanks

lfs-bootscripts-20110921 fix

2011-09-21 Thread xinglp
lfs/init.d/console - [ -z ${FONT} ] [ is_true ${UNICODE} ] + [ -z ${FONT} ] is_true ${UNICODE} - [ ${use_fb} == 1 || [ -z ${FONT} ] || setfont $FONT || failed=1 + [ ${use_fb} == 1 ] || [ -z ${FONT} ] || setfont $FONT || failed=1

/lib/services/init-functions overwrites some variables set by /etc/sysconfig/rc.site

2011-09-22 Thread xinglp
How about move [ -r /etc/sysconfig/rc.site ] . /etc/sysconfig/rc.site to the bottom of /lib/services/init-functions -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

/etc/init.d/modules never load modules ?

2011-09-25 Thread xinglp
/etc/init.d/modules line 38 [ $(egrep -qv '^($|#)' /etc/sysconfig/modules) ] || exit 0 it always does a 'exit 0' -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: /etc/init.d/modules never load modules ?

2011-09-25 Thread xinglp
在 2011年9月26日 上午4:56,Bruce Dubbs bruce.du...@gmail.com 写道: xinglp wrote: /etc/init.d/modules line 38 [ $(egrep -qv '^($|#)' /etc/sysconfig/modules) ] || exit 0 it always does a 'exit 0' Yes, it looks like it should be: [ ! $(egrep -qv '^($|#)' /etc/sysconfig/modules) ] || exit 0 Does

Fwd: agetty not show username as I input on a serial term

2011-09-26 Thread xinglp
-- Forwarded message -- From: Karel Zak k...@redhat.com Date: Mon, Sep 26, 2011 at 6:52 PM Subject: Re: agetty not show username as I input on a serial term To: xinglp xin...@gmail.com Cc: util-li...@vger.kernel.org On Fri, Sep 02, 2011 at 02:26:17PM +0800, xinglp wrote: When I

Re: Fwd: agetty not show username as I input on a serial term

2011-09-27 Thread xinglp
On Tue, Sep 27, 2011 at 12:40 AM, Bruce Dubbs bruce.du...@gmail.com wrote: See if this works as well: sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c It's c_cflag -- c_lflag . Maybe you need to see a oculist   -- Bruce xinglp wrote: -- Forwarded message -- From: Karel

Re: Fwd: agetty not show username as I input on a serial term

2011-09-27 Thread xinglp
On Wed, Sep 28, 2011 at 12:26 AM, Bruce Dubbs bruce.du...@gmail.com wrote: xinglp wrote: On Tue, Sep 27, 2011 at 12:40 AM, Bruce Dubbs bruce.du...@gmail.com wrote: See if this works as well: sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c It's  c_cflag -- c_lflag . Maybe you need to see

man-db need PKG_CONFIG=/tools/bin/true to be built.

2011-10-08 Thread xinglp
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

lfs-bootscripts Makefile fix

2011-10-08 Thread xinglp
diff -Naurz lfs-bootscripts-20111007.orig/Makefile lfs-bootscripts-20111007/Makefile --- lfs-bootscripts-20111007.orig/Makefile +++ lfs-bootscripts-20111007/Makefile @@ -21,7 +21,7 @@ install -d -m ${DIRMODE} ${EXTDIR}/rc.d/rcS.d install -d -m ${DIRMODE} ${EXTDIR}/rc.d/init.d install

Add UNICODE=1 to /lib/lsb/init-functions ?

2011-10-08 Thread xinglp
In SVN-20110904 and before /etc/rc.d/init.d/console is like: # Native English speakers probably don't have /etc/sysconfig/console at all if [ -r /etc/sysconfig/console ]; then . /etc/sysconfig/console else exit 0 fi And now, it is : # See if we need to do anything if [ -z

Re: [lfs-dev] Server outage tonight and tomorrow night

2012-03-01 Thread xinglp
在 2012年3月1日 上午2:45,Gerard Beekmans ger...@linuxfromscratch.org 写道: Hi guys, I completely forgot to send along this notification sooner. My apologies. The LFS server will be powered off tonight around 11:00 PM CST until 4:00 AM CST and again tomorrow during the same window. The data centre

Re: [lfs-dev] binutils patch

2012-03-29 Thread xinglp
在 2012年3月28日 下午4:32,Matthew Burgess matt...@linuxfromscratch.org 写道: On Wed, 28 Mar 2012 10:23:57 +0200, Pierre Labastie pierre.labas...@neuf.fr wrote: Hi, The binutils patch in chapter05/binutils-pass{1,2} should be applied before changing directory to binutils-build:-) .

[lfs-dev] ifdown has an error

2012-03-30 Thread xinglp
http://www.linuxfromscratch.org/lfs/view/development/scripts/apds27.html if [ $(ip addr show ${IFACE} | grep 'inet ') != ]; then log_info_msg Bringing down the ${IFACE} interface... ip link set ${IFACE} down evaluate_retval fi should be if [ $(ip

Re: [lfs-dev] ifdown has an error

2012-03-30 Thread xinglp
在 2012年3月31日 上午12:05,Bruce Dubbs bruce.du...@gmail.com 写道: xinglp wrote: http://www.linuxfromscratch.org/lfs/view/development/scripts/apds27.html       if [ $(ip addr show ${IFACE} | grep 'inet ') !=  ]; then          log_info_msg Bringing down the ${IFACE} interface...          ip link set

Re: [lfs-dev] ifdown has an error

2012-03-30 Thread xinglp
I'm missing something here.  Why would we need to set an interface down if the inet line is null? try to search Rewrite bootscripts and Chaper 7 in list of lfs-dev@linuxfromscratch.org -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe:

[lfs-dev] uname -i, -p show 'unknown' after update to coreutils-8.16

2012-04-05 Thread xinglp
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[lfs-dev] uname -i, -p show 'unknown' after update to coreutils-8.16

2012-04-05 Thread xinglp
Wrong list just now. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] uname -i, -p show 'unknown' after update to coreutils-8.16

2012-04-05 Thread xinglp
在 2012年4月5日 下午4:34,Matthew Burgess matt...@linuxfromscratch.org 写道: That's because we (LFS) dropped the uname patch from our build instructions because upstream won't take it in its current form.  If my understanding is correct, the correct way of implementing this feature is by a combination

Re: [lfs-dev] uname -i, -p show 'unknown' after update to coreutils-8.16

2012-04-05 Thread xinglp
在 2012年4月5日 下午4:34,Matthew Burgess matt...@linuxfromscratch.org 写道: That's because we (LFS) dropped the uname patch from our build instructions because upstream won't take it in its current form.  If my understanding is correct, the correct way of implementing this feature is by a combination

Re: [lfs-dev] manpage of ifup is not the manpage format.

2012-04-18 Thread xinglp
在 2012年4月11日 下午11:13,Bruce Dubbs bruce.du...@gmail.com 写道: xinglp wrote: There are somethings else in other manpages, I think they are some kinds of format. No, it's ascii, not the more common troff format.  That's valid but just does not have things like bold available. Yes, I know

[lfs-dev] /etc/rc.d/init.d/sysctl 's Required-Start should be mountvirtfs

2012-05-02 Thread xinglp
The mountkernfs has been renamed to mountvirtfs. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] manpage of ifup is not the manpage format.

2012-05-10 Thread xinglp
2012/4/19 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 在 2012年4月11日 下午11:13,Bruce Dubbs bruce.du...@gmail.com 写道: xinglp wrote: There are somethings else in other manpages, I think they are some kinds of format. No, it's ascii, not the more common troff format.  That's valid but just

[lfs-dev] resizecons not installed by kbd

2012-05-10 Thread xinglp
As described at http://www.linuxfromscratch.org/lfs/view/development/chapter06/kbd.html But the manpage of resizecons was installed. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[lfs-dev] problem of bootscript setclock

2012-05-12 Thread xinglp
Now, It is the job of udev to start /etc/init.d/setclock . When I use initd-tools to install somethings else, it was installed for depended. And I THINK , ntpd and checkfs should not depend on $time. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ:

Re: [lfs-dev] problem of bootscript setclock

2012-05-13 Thread xinglp
2012/5/14 Bryan Kadzban br...@kadzban.is-a-geek.net: xinglp wrote: Now, It is the job of udev to start /etc/init.d/setclock . When I use initd-tools to install somethings else, it was installed for depended. Is there a way in these newfangled headers to say that setclock is really an alias

Re: [lfs-dev] resizecons : a proposal

2012-05-16 Thread xinglp
2012/5/11 Ken Moffat zarniwh...@ntlworld.com:  First, some assertions: 1. resizecons cannot work without video mode files, which are produced by a program from the svgalib package. 2. svgalib is defunct, and was only applicable to linux kernels before 2.6 : there are patches around to

Re: [lfs-dev] resizecons : a proposal

2012-05-18 Thread xinglp
2012/5/18 Ken Moffat zarniwh...@ntlworld.com: On Thu, May 17, 2012 at 01:17:46PM +0800, xinglp wrote: Does the 'setfont' resize the console on the fly as change the vga=xxx of grub do. The behavior of changing console's resolution on the fly is usefull when use a live lfs. As I don't have X

Re: [lfs-dev] resizecons : a proposal

2012-05-18 Thread xinglp
.  From there I determined that we *could* build it on x86_64, but it could not do anything without the obsolete svgalib.  My preference is to get rid of it, but there were some alternatives in a mail I sent earlier this evening.  Meanwhile, I'm waiting to see if xinglp has a problem - we've

Re: [lfs-dev] resizecons : a proposal

2012-05-18 Thread xinglp
2012/5/19 Ken Moffat zarniwh...@ntlworld.com: On Fri, May 18, 2012 at 02:39:50PM +0800, xinglp wrote: The setfont does change the font size,but it does not work as I change vga=xxx in grub.  Can you be more specific, please ?  I don't understand exactly what you mean.  Your kernel starts

[lfs-dev] kbd resizecons was still build on 32-bit x86

2012-06-04 Thread xinglp
I just finished the SVN-20120603 lfs build. The resizecons was still there, only the manpage removed. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] kbd resizecons was still build on 32-bit x86

2012-06-04 Thread xinglp
2012/6/5 Ken Moffat zarniwh...@ntlworld.com: On Mon, Jun 04, 2012 at 10:45:54PM +0800, xinglp wrote: I just finished the SVN-20120603 lfs build. The resizecons was still there, only the manpage removed.  I stopped building 32-bit x86 a long time ago, so I don't have a build environment

Re: [lfs-dev] init script mountvirtfs: Should a mountpoint checking on /run as /proc /sys /dev

2012-06-06 Thread xinglp
2012/6/7 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: When initramfs is used (as in the below URL), /run is aready mounted. Then, if u save somethings under /run before switch_root, u will not see them since /run is over mounted by mountvirtfs. http://www.linuxfromscratch.org/blfs/view

[lfs-dev] typo in last update

2012-06-17 Thread xinglp
Index: bootscripts/lfs/init.d/mountvirtfs === --- bootscripts/lfs/init.d/mountvirtfs (working copy) +++ bootscripts/lfs/init.d/mountvirtfs (revision 9883) @@ -32,7 +32,10 @@ case ${1} in start) # Make sure /run/var is

[lfs-dev] systemd/udev not work with 'make -f udev-lfs-186/Makefile.lfs -j2'

2012-07-17 Thread xinglp
AR build/udev-local.a LINK build/udevadm LINK build/accelerometer LINK build/ata_id LINK build/cdrom_id gcc: error: build/udev-local.a: No such file or directory make: *** [build/libudev.so.1.0.2] Error 1 make: *** Waiting for unfinished jobs --

[lfs-dev] in boot script `/sbin/udevadm info --run` show info: unrecognized option '--run'

2012-07-22 Thread xinglp
udev 186 /etc/init.d/udev_retry line 37 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] in boot script `/sbin/udevadm info --run` show info: unrecognized option '--run'

2012-07-22 Thread xinglp
2012/7/22 Armin K. kre...@email.com: On 07/22/2012 11:53 AM, xinglp wrote: udev 186 /etc/init.d/udev_retry line 37 Heh, yeah ... That is now hardcoded just as /run. But the older version udev(182) output /run/udev when `udevadm info --run` -- http://linuxfromscratch.org/mailman/listinfo

[lfs-dev] script ifdown ip addr show ${IFACE} | grep 'inet' not work.

2012-08-09 Thread xinglp
Maybe we should replace ip addr show ${IFACE} with ip -f inet addr show ${IFACE}. The latest 'ip' has somethings changed. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] script ifdown ip addr show ${IFACE} | grep 'inet' notwork.

2012-08-09 Thread xinglp
2012/8/10 Matthew Burgess matt...@linuxfromscratch.org: On Thu, 9 Aug 2012 23:15:32 +0800, xinglp xin...@gmail.com wrote: Maybe we should replace ip addr show ${IFACE} with ip -f inet addr show ${IFACE}. It would help if you explained *why* you think this needs changing. Does the current

Re: [lfs-dev] Andy Benton

2012-08-13 Thread xinglp
2012/8/1 Bruce Dubbs bruce.du...@gmail.com: With great sadness, I have to report the passing of Andy Benton. I never had the opportunity to meet Andy in person, but after several thousand posts to the lists, I think I knew him. His first post was in March 2004. Since that time he made many,

Re: [lfs-dev] script ifdown ip addr show ${IFACE} | grep 'inet' notwork.

2012-08-13 Thread xinglp
IFCONFIG=xxx /lib/services/ipv4-static xxx down also not work because of this. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[lfs-dev] 5.17. Coreutils-8.18 cp -v src/su /tools/bin No such file or directory

2012-08-16 Thread xinglp
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[lfs-dev] 6.61. Udev-188 path error.

2012-08-22 Thread xinglp
make -f udev-lfs-188/Makefile.lfs make -f udev-lfs-188/Makefile.lfs install bash udev-lfs-188/init-net-rules.sh should be make -f udev-lfs/Makefile.lfs make -f udev-lfs/Makefile.lfs install bash udev-lfs/init-net-rules.sh or change the tarball --

Re: [lfs-dev] 6.61. Udev-188 path error.

2012-08-22 Thread xinglp
There are also somethings like below in the file Makefile.lfs @cp -v udev-lfs-$(VERSION)/write*$(DESTDIR)/lib/udev -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[lfs-dev] make-3.82-upstream_fixes-2.patch not in wget-list

2012-08-26 Thread xinglp
add it to the file patches.ent is not enough but also chapter03/patches.xml -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[lfs-dev] r9963 6.9. Glibc-2.16.0 build error

2012-08-27 Thread xinglp
gcc -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build -include /sources/glibc-build/config.h rpc_main.c \ -o /sources/glibc-build/sunrpc/cross-rpc_main.o -MMD -MP -MF /sources/glibc-build/sunrpc/cross-rpc_main.o.dt -MT /sources/glibc-build/sunrpc/cross-rpc_main.o -c gcc

Re: [lfs-dev] r9963 6.9. Glibc-2.16.0 build error

2012-08-27 Thread xinglp
2012/8/28 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory compilation terminated. What happens if you do this first after changing to glibc-2.16.0: mkdir -p /usr/include/rpc cp -v sunrpc/rpc/*.h /usr/include/rpc

[lfs-dev] lfs xml book can not be maked

2012-08-31 Thread xinglp
The lastest svn version. $ make Creating and cleaning /home/xxx/tmp Processing bootscripts... sed: can't read udev-config/*.rules: No such file or directory make: *** [validate] Error 2 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe:

Re: [lfs-dev] lfs xml book can not be maked

2012-08-31 Thread xinglp
2012/9/1 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: The lastest svn version. $ make Creating and cleaning /home/xxx/tmp Processing bootscripts... sed: can't read udev-config/*.rules: No such file or directory make: *** [validate] Error 2 Right. We were pulling the *.rules from

Re: [lfs-dev] lfs xml book can not be maked

2012-08-31 Thread xinglp
2012/9/1 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: Creating and cleaning /home/xinglp/tmp Processing bootscripts... sed: can't read ../udev-lfs/*.rules: No such file or directory make: *** [validate] Error 2 You need to svn co svn://linuxfromscratch.org/BLFS/trunk/ You mean svn co

[lfs-dev] lfs-bootscripts-20120831 install error

2012-08-31 Thread xinglp
$ make DESTDIR=/tmp/boot install: cannot stat ‘lfs/sysconfig/rc’: No such file or directory make: *** [files] Error 1 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[lfs-dev] 6.30. Procps-3.2.8 sed: -e expression #2, char 14: unterminated `s' command

2012-10-14 Thread xinglp
sed -i -e 's@\*/module.mk@proc/module.mk ps/module.mk@' \ -e 's@^#SKIP/SKIP/' Makefile should be the follow ? sed -i -e 's@\*/module.mk@proc/module.mk ps/module.mk@' \ -e 's@^#SKIP@SKIP@' Makefile -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ:

[lfs-dev] lfs-book r10042 make error

2012-11-13 Thread xinglp
Creating and cleaning /home/username/tmp Processing bootscripts... Validating the book... index.xml:57: element varlistentry: validity error : Element varlistentry content does not follow the DTD, expecting (term+ , listitem), got (term listitem term listitem ) Document index.xml does not validate

Re: [lfs-dev] Udev-196 not create /dev/disk/by-{id, label, uuid, ...}, not bring up eth0.

2012-11-28 Thread xinglp
2012/11/29 Bruce Dubbs bruce.du...@gmail.com Matt Burgess wrote: On Tue, 2012-11-27 at 21:42 -0800, Bryan Kadzban wrote: Hmm, did the Makefile changes for 196 handle the changes where upstream made both blkid and kmod optional? We now need to add a couple new defines if we want that

[lfs-dev] share how to update to glibc-2.17

2012-12-26 Thread xinglp
1. Just disable the two patches of glibc-2.16. (They are rejected, maybe need update to fit glibc-2.17, I'm not very sure.) 2. And for the udev-lfs the below command: sed -i -e 's/HAVE___SECURE_GETENV/HAVE_SECURE_GETENV/' udev-lfs-196-3/cfg.h --

[lfs-dev] gmp-5.1.0.tar.xz not found at http://ftp.gnu.org/gnu/gmp/gmp-5.1.0.tar.xz

2012-12-28 Thread xinglp
Use this ftp://ftp.gmplib.org/pub/gmp-5.1.0/gmp-5.1.0.tar.xz for now. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] share how to update to glibc-2.17

2012-12-28 Thread xinglp
2012/12/27 Bruce Dubbs bdu...@linuxfromscratch.org: On Wed, Dec 26, 2012 at 7:37 PM, xinglp xin...@gmail.com wrote: 2. And for the udev-lfs the below command: sed -i -e 's/HAVE___SECURE_GETENV/HAVE_SECURE_GETENV/' udev-lfs-196-3/cfg.h If we decide we need this, we'll just make a udev-lfs-196

Re: [lfs-dev] share how to update to glibc-2.17

2012-12-28 Thread xinglp
2012/12/28 Matt Burgess matt...@linuxfromscratch.org: On Fri, 2012-12-28 at 20:27 +0800, xinglp wrote: I sure we need to change HAVE___SECURE_GETENV to HAVE_SECURE_GETENV in udev-lfs-196-3/cfg.h when update to glibc-2.17. It's in the updated udev-lfs-196-4 that I updated in the same commit

[lfs-dev] udev 197 change eth0 to enp0s25 on my box.

2013-01-09 Thread xinglp
If so, the script init-net-rules.sh in udev-lfs-197-1 also need some change. DEVICES=$(eval echo /sys/class/net/{eth*,ath*,wlan*[0-9], ... -- DEVICES=$(eval echo /sys/class/net/{enp*,eth*,ath*,wlan*[0-9], ... -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ:

Re: [lfs-dev] udev 197 change eth0 to enp0s25 on my box.

2013-01-09 Thread xinglp
2013/1/10 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: If so, the script init-net-rules.sh in udev-lfs-197-1 also need some change. DEVICES=$(eval echo /sys/class/net/{eth*,ath*,wlan*[0-9], ... -- DEVICES=$(eval echo /sys/class/net/{enp*,eth*,ath*,wlan*[0-9], ... What kind of network

Re: [lfs-dev] udev 197 change eth0 to enp0s25 on my box.

2013-01-09 Thread xinglp
2013/1/10 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2013/1/10 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: If so, the script init-net-rules.sh in udev-lfs-197-1 also need some change. DEVICES=$(eval echo /sys/class/net/{eth*,ath*,wlan*[0-9], ... -- DEVICES=$(eval echo /sys

Re: [lfs-dev] udev 197 change eth0 to enp0s25 on my box.

2013-01-09 Thread xinglp
2013/1/10 Bruce Dubbs bruce.du...@gmail.com: Bruce Dubbs wrote: xinglp wrote: 2013/1/10 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: If so, the script init-net-rules.sh in udev-lfs-197-1 also need some change. DEVICES=$(eval echo /sys/class/net/{eth*,ath*,wlan*[0-9], ... -- DEVICES

[lfs-dev] The root file system not umount nor remount readonly during shutdown or reboot.

2013-03-21 Thread xinglp
Just edit /etc/init.d/mountfs. Change this line: umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc /dev/null to: umount -v -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc cat /proc/mounts sh Then you will see: Unmounting all other currently mounted file systems.../dev/pts

Re: [lfs-dev] The root file system not umount nor remount readonly during shutdown or reboot.

2013-03-22 Thread xinglp
2013/3/22 xinglp xin...@gmail.com: Just edit /etc/init.d/mountfs. Change this line: umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc /dev/null to: umount -v -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc cat /proc/mounts sh Then you will see: Unmounting all other

Re: [lfs-dev] The root file system not umount nor remount readonly during shutdown or reboot.

2013-03-22 Thread xinglp
fix_etc_mtab_and_mountfs.patch Description: Binary data -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] LFS 7.3 ISO discussion

2013-03-22 Thread xinglp
2013/3/22 g@free.fr: - Mail original - De: cybertao psyber...@gmail.com À: LFS Developers Mailinglist lfs-dev@linuxfromscratch.org Envoyé: Mercredi 20 Mars 2013 22:45:24 Objet: Re: [lfs-dev] LFS 7.3 ISO discussion So, what's up with the linux kernel and overlayed

Re: [lfs-dev] [lfs-book] r10233 - in trunk/BOOK: chapter05 chapter06

2013-03-29 Thread xinglp
2013/3/30 matt...@higgs.linuxfromscratch.org Author: matthew Date: Fri Mar 29 12:50:55 2013 New Revision: 10233 Log: Fix the alignment of some command continuation constructs. Modified: trunk/BOOK/chapter05/binutils-pass1.xml trunk/BOOK/chapter05/binutils-pass2.xml

[lfs-dev] tzdata2013c.tar.gz md5 not match

2013-04-24 Thread xinglp
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] tzdata2013c.tar.gz md5 not match

2013-04-24 Thread xinglp
Sorry, my mistake. It's the proxy I used changed somethings. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[lfs-dev] linux 3.9 need bc.

2013-04-29 Thread xinglp
We should move http://www.linuxfromscratch.org/blfs/view/svn/general/bc.html to lfs. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: [lfs-dev] Script to check package versions

2013-05-08 Thread xinglp
2013/5/8 Armin K. kre...@email.com On 05/08/2013 12:24 PM, purnomo hadi wrote: link 404 not found Please do not top post. File is here: http://anduin.linuxfromscratch.org/~bdubbs/lfs-latest-files.phps Would you please provide a zipped .php file of this script. The phps is not

Re: [lfs-dev] Script to check package versions

2013-05-09 Thread xinglp
2013/5/9 xinglp xin...@gmail.com 2013/5/8 Armin K. kre...@email.com On 05/08/2013 12:24 PM, purnomo hadi wrote: link 404 not found Please do not top post. File is here: http://anduin.linuxfromscratch.org/~bdubbs/lfs-latest-files.phps Would you please provide a zipped .php file

Re: [lfs-dev] Script to check package versions

2013-05-09 Thread xinglp
2013/5/9 Bruce Dubbs bruce.du...@gmail.com xinglp wrote: And I got these errors with PHP 5.4.12 PHP Warning: Invalid argument supplied for foreach() in /xxx/lfs-latest-files.php on line 26 PHP Warning: Invalid argument supplied for foreach() in /xxx/lfs-latest-files.php on line 26

Re: [lfs-dev] Script to check package versions

2013-05-09 Thread xinglp
2013/5/9 Bruce Dubbs bruce.du...@gmail.com xinglp wrote: 2013/5/8 Armin K. kre...@email.com File is here: http://anduin.linuxfromscratch.org/~bdubbs/lfs-latest-files.phps Would you please provide a zipped .php file of this script. The phps is not formatted well. All tabs were

Re: [lfs-dev] Script to check package versions

2013-05-10 Thread xinglp
2013/5/10 William Harrington kb0...@berzerkula.org: On May 9, 2013, at 10:44 PM, Bruce Dubbs wrote: You do need to change the mail command. Just comment it out and uncomment the echo command just before it. I copied and pasted the command from a browser and all works. I did change the

Re: [lfs-dev] util-linux issues

2013-05-14 Thread xinglp
2013/5/15 Matt Burgess matt...@linuxfromscratch.org: On Tue, 2013-05-14 at 13:59 -0500, Bruce Dubbs wrote: 1. The latest git commit in util-linux now has a fix for umount not remounting the root fs read only with a 'umount -a -r' command. I'm not sure if we should fix that in LFS or just wait

[lfs-dev] Create symbol link for kmod and Procps-ng without version.

2013-12-13 Thread xinglp
diff -Naurz BOOK.0/chapter06/kmod.xml BOOK/chapter06/kmod.xml --- BOOK.0/chapter06/kmod.xml +++ BOOK/chapter06/kmod.xml @@ -95,7 +95,9 @@ para Make sure that all libraries are in the correct directory: /para screenuserinput remap=installmv -v /usr/lib/libkmod.so.* /lib -ln -svf

Re: [lfs-dev] [lfs-book] r10440 - in trunk/BOOK: . chapter01 chapter06

2014-01-17 Thread xinglp
2014/1/17 Bruce Dubbs bruce.du...@gmail.com: Armin K. wrote: On 01/17/2014 05:03 AM, Bruce Dubbs wrote: Moving to -dev. xinglp wrote: OK, thanks. Can you test: rm -rf --one-file-system /run/* /tmp/* Same error. For background see http://www.mail-archive.com/lfs-book

Re: [lfs-dev] [lfs-book] r10440 - in trunk/BOOK: . chapter01 chapter06

2014-01-17 Thread xinglp
2014/1/17 Bruce Dubbs bruce.du...@gmail.com: xinglp wrote: 2014/1/17 Bruce Dubbs bruce.du...@gmail.com: Armin K. wrote: On 01/17/2014 05:03 AM, Bruce Dubbs wrote: Moving to -dev. xinglp wrote: OK, thanks. Can you test: rm -rf --one-file-system /run/* /tmp/* Same error

  1   2   >