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 /var/spool/mail

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 : > 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 /var/lock/ /var/run

Re: Rewrite bootscripts and Chaper 7

2011-08-02 Thread xinglp
2011/8/2 Bruce Dubbs : > 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 to /lib/boot.

Re: Rewrite bootscripts and Chaper 7

2011-08-02 Thread xinglp
2011/8/2 Bruce Dubbs : > xinglp wrote: >> 2011/8/2 Bruce Dubbs : >>> I have made a very large, invasive change to LFS.  All the bootscripts >>> have been rewritten. >>> >>>  From the change log: >>> >>> [bdubbs] - Rewrite bootscri

Re: Rewrite bootscripts and Chaper 7

2011-08-02 Thread xinglp
2011/8/2 Bruce Dubbs : > 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 to /lib/boot. >

Re: systemd

2011-08-02 Thread xinglp
2011/8/3 侯红勋 : > 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, configuration options >> an

Re: Rewrite bootscripts and Chaper 7

2011-08-29 Thread xinglp
This is a patch fix some issues I met. lfs-bootscripts-fix.patch Description: Binary data -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

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=`

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 : > 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 us

Re: Rewrite bootscripts and Chaper 7

2011-08-31 Thread xinglp
2011/9/1 Bruce Dubbs : > xinglp wrote: >> 2011/8/31 Bruce Dubbs : >>> 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. >>>

Re: Rewrite bootscripts and Chaper 7

2011-08-31 Thread xinglp
2011/9/1 Bruce Dubbs : > xinglp wrote: >> 2011/9/1 Bruce Dubbs : >>> xinglp wrote: >>>> 2011/8/31 Bruce Dubbs : >>>>> xinglp wrote: >>>>>> This is a patch fix some issues I met. >>>>> I'm looking at the changes

Re: Rewrite bootscripts and Chaper 7

2011-08-31 Thread xinglp
2011/9/1 Bruce Dubbs : > xinglp wrote: >> 2011/9/1 Bruce Dubbs : >>> xinglp wrote: >>>> 2011/8/31 Bruce Dubbs : >>>>> xinglp wrote: >>>>>> This is a patch fix some issues I met. >>>>> I'm looking at the changes

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 above

Re: Rewrite bootscripts and Chaper 7

2011-09-01 Thread xinglp
2011/9/1 Bruce Dubbs : > xinglp wrote: >> 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. > > What's the warning

Re: error creating signalfd, udev-173, live cd kernel 6.22 to old

2011-09-01 Thread xinglp
2011/9/2 Bruce Dubbs : > Roland Puntaier wrote: >> Hello, >> >> I've tried this combination >>      trunk jhalfs (since jhalfs 2.3 has some bugs) >>      SVN LFS book >>      lfs live cd >> >> It stopped at 131-network with the "error creating signalfd". >> >> tar -xf udev-173.tar.bz2 >> cd udev-17

Re: binutils-2.21.1a.tar.bz2

2011-09-02 Thread xinglp
2011/9/3 Bruce Dubbs : > 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 : > On Tue, 6 Sep 2011 08:59:01 +0800 > xinglp wrote: > >> it just prints >> write: : No such file or directory >> >> util-linux-2.19.1 works well >> -- > > andy:~$ write > > Usage: >  write [options] [] > > Opti

Re: Bootscripts (again)

2011-09-15 Thread xinglp
在 2011年9月16日 上午6:19,Bruce Dubbs 写道: > 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 boot sequence

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: http://www.linuxfromscr

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

2011-09-21 Thread xinglp
在 2011年9月22日 上午1:34,Bruce Dubbs 写道: > 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

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 $FON

/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 写道: > 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: > > [ ! $(egr

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

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

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 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: >>

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 wrote: > xinglp wrote: >> On Tue, Sep 27, 2011 at 12:40 AM, Bruce Dubbs wrote: >>> See if this works as well: >>> >>> sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c >> It's  "c_cflag --&

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 "${KEY

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

2012-03-01 Thread xinglp
在 2012年3月1日 上午2:45,Gerard Beekmans 写道: > 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 > we're colocated with i

Re: [lfs-dev] binutils patch

2012-03-29 Thread xinglp
在 2012年3月28日 下午4:32,Matthew Burgess 写道: > On Wed, 28 Mar 2012 10:23:57 +0200, Pierre Labastie > wrote: >> Hi, >> >> The binutils patch in chapter05/binutils-pass{1,2} should be applied >> before changing directory to binutils-build:-) . Chapter06/binutils is OK. > > See, that's what I get from b

[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 [ "

Re: [lfs-dev] ifdown has an error

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

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/ Unsubscri

[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 写道: > 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 of changes in the kerne

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 写道: > 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 of changes in the kerne

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

2012-04-11 Thread xinglp
There are somethings else in other manpages, I think they are some kinds of format. -- 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-04-18 Thread xinglp
在 2012年4月11日 下午11:13,Bruce Dubbs 写道: > 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 availab

[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-09 Thread xinglp
2012/4/19 Bruce Dubbs : > xinglp wrote: >> 在 2012年4月11日 下午11:13,Bruce Dubbs 写道: >>> 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 tro

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

2012-05-10 Thread xinglp
I've changed the FONT="lat1-16 -m 8859-1" . With only UNICODE=yes , it not works well. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

[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: http://www.linuxfromscratch.org/faq

Re: [lfs-dev] problem of bootscript setclock

2012-05-13 Thread xinglp
2012/5/14 Bryan Kadzban : > 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 setcl

Re: [lfs-dev] resizecons : a proposal

2012-05-16 Thread xinglp
2012/5/11 Ken Moffat : >  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 enable it to be compil

Re: [lfs-dev] resizecons : a proposal

2012-05-17 Thread xinglp
2012/5/18 Ken Moffat : > 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

Re: [lfs-dev] resizecons : a proposal

2012-05-18 Thread xinglp
27;re answering the wrong question : it was noted > that on x86_64 the manpage exists but the program doesn't.  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 ther

Re: [lfs-dev] resizecons : a proposal

2012-05-18 Thread xinglp
2012/5/19 Ken Moffat : > 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

[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 : > 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 en

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 : > 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.linuxfrom

[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 a

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

2012-07-16 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 -- http://linuxfromscratch.org/mailman/listinfo/lfs

[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. : > 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` >

[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 : > On Thu, 9 Aug 2012 23:15:32 +0800, xinglp 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

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

2012-08-09 Thread xinglp
2012/8/10 Matt Burgess : > On Fri, 2012-08-10 at 02:11 +0800, xinglp wrote: >> 2012/8/10 Matthew Burgess : >> > On Thu, 9 Aug 2012 23:15:32 +0800, xinglp wrote: >> >> Maybe we should replace "ip addr show ${IFACE}" with "ip -f inet addr >>

Re: [lfs-dev] Andy Benton

2012-08-13 Thread xinglp
2012/8/1 Bruce Dubbs : > 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, many contributio

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 -- http://linuxfromscratch.org/mailman/listinfo/lfs

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 -D_RPC_THREAD_SAFE

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

2012-08-27 Thread xinglp
2012/8/28 Bruce Dubbs : > 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/rp

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

2012-08-27 Thread xinglp
2012/8/28 xinglp : > 2012/8/28 Bruce Dubbs : >> 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: >> &

[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 : > 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

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

2012-08-31 Thread xinglp
2012/9/1 Bruce Dubbs : > 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://linuxf

[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: http://www.linuxfromscra

[lfs-dev] lfs-book r10042 make error

2012-11-13 Thread xinglp
Creating and cleaning /home//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 make: **

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

2012-11-27 Thread xinglp
Of course, 195 works well. 2012/11/28 Armin K. > On 11/27/2012 11:13 AM, xinglp wrote: > > The Udev-196 only create "/dev/disk/by-path". > > They are present on my system, but I am still using udev/systemd 195. > > $ ls -l /dev/disk/ > total 0 > drwxr-xr

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 > 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 to work r

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 Matt Burgess > On Thu, 2012-11-29 at 03:25 +0800, xinglp wrote: > > > > But will you also check why the ethernet interface not bring up on > > boot issue. > > > > I met this in vmware system with a vmxnet3 interface. but I can bring > > it up

[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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-de

[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 : > On Wed, Dec 26, 2012 at 7:37 PM, xinglp 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 ude

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

2012-12-28 Thread xinglp
2012/12/28 Matt Burgess : > 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 th

[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: http://www.linuxfromscratc

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

2013-01-09 Thread xinglp
2013/1/10 Bruce Dubbs : > 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],

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

2013-01-09 Thread xinglp
2013/1/10 Bruce Dubbs : > xinglp wrote: >> 2013/1/10 Bruce Dubbs : >>> 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*,wla

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

2013-01-09 Thread xinglp
2013/1/10 Bruce Dubbs : > Bruce Dubbs wrote: >> xinglp wrote: >>> 2013/1/10 Bruce Dubbs : >>>> xinglp wrote: >>>>> If so, the script init-net-rules.sh in udev-lfs-197-1 also need some >>>>> change. >>>>> >>>>

[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 : > 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 w

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 : > > > - Mail original - >> De: "cybertao" >> À: "LFS Developers Mailinglist" >> 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 filesystems? >> There's no support. > > That sho

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

2013-03-29 Thread xinglp
2013/3/30 > 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 >trunk/BOOK/chapter05/gcc-pass1.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

  1   2   >