Re: [lfs-dev] Armin's lfs-systemd book?

2014-04-26 Thread xinglp
2014-04-26 16:32 GMT+08:00 akhiezer : > Hi, > > Armin, are you (or anyone) going to be continuing to maintain the > pure-systemd lfs book? I'm using a rough patch for jhalfs build. > > Or are you (Armin) 'just' going to contrib directly to main mixed(-up)-lfs > from now on? > > (Apols if have misse

Re: [lfs-dev] systemd ifup get run before systemd rename interface sometimes.

2014-04-08 Thread xinglp
2014-04-09 10:12 GMT+08:00 William Harrington : > > On Apr 8, 2014, at 8:00 PM, xinglp wrote: > >>> Wouldn't it be the easiest way to let systemd configure the network >>> interfaces? >> It works well for my problemed vmware. I think we don't need ifup

Re: [lfs-dev] systemd ifup get run before systemd rename interface sometimes.

2014-04-08 Thread xinglp
2014-04-08 22:50 GMT+08:00 Sebastian Plotz : > Am 08.04.2014 16:40, schrieb xinglp: >> $ journalctl -b|grep enp >> Apr 08 22:37:25 vm1 ifup[123]: Adding IPv4 address 192.168.3.1 to the >> enp4s0 interface...Cannot find device "enp4s0" >> Apr 08 22:37:26 vm

Re: [lfs-dev] systemd ifup get run before systemd rename interface sometimes.

2014-04-08 Thread xinglp
2014-04-09 0:07 GMT+08:00 Bruce Dubbs : > xinglp wrote: >> $ journalctl -b|grep enp >> Apr 08 22:37:25 vm1 ifup[123]: Adding IPv4 address 192.168.3.1 to the >> enp4s0 interface...Cannot find device "enp4s0" >> Apr 08 22:37:26 vm1 systemd-udevd[173]: renamed

Re: [lfs-dev] systemd ifup get run before systemd rename interface sometimes.

2014-04-08 Thread xinglp
2014-04-08 22:50 GMT+08:00 Sebastian Plotz : > Am 08.04.2014 16:40, schrieb xinglp: >> $ journalctl -b|grep enp >> Apr 08 22:37:25 vm1 ifup[123]: Adding IPv4 address 192.168.3.1 to the >> enp4s0 interface...Cannot find device "enp4s0" >> Apr 08 22:37:26 vm

Re: [lfs-dev] systemd ifup get run before systemd rename interface sometimes.

2014-04-08 Thread xinglp
2014-04-09 0:07 GMT+08:00 Bruce Dubbs : > xinglp wrote: >> $ journalctl -b|grep enp >> Apr 08 22:37:25 vm1 ifup[123]: Adding IPv4 address 192.168.3.1 to the >> enp4s0 interface...Cannot find device "enp4s0" >> Apr 08 22:37:26 vm1 systemd-udevd[173]: renamed

[lfs-dev] systemd ifup get run before systemd rename interface sometimes.

2014-04-08 Thread xinglp
$ journalctl -b|grep enp Apr 08 22:37:25 vm1 ifup[123]: Adding IPv4 address 192.168.3.1 to the enp4s0 interface...Cannot find device "enp4s0" Apr 08 22:37:26 vm1 systemd-udevd[173]: renamed network interface eth0 to enp4s0 So it won't startup network. -- http://linuxfromscratch.org/mailman/listin

Re: [lfs-dev] Major changes in -dev

2014-04-05 Thread xinglp
2014-04-05 19:50 GMT+08:00 Armin K. : > On 04/05/2014 05:50 AM, Bruce Dubbs wrote: >> xinglp wrote: >>> 2014-04-05 11:04 GMT+08:00 Bruce Dubbs : >>>> xinglp wrote: >>>>> When boot into systemd, got the below message: >>>> >>>>

Re: [lfs-dev] Major changes in -dev

2014-04-04 Thread xinglp
2014-04-05 10:59 GMT+08:00 William Harrington : > > On Apr 4, 2014, at 9:44 PM, xinglp wrote: > >> [FAILED] Failed to start Create Volatile Files and Directories. >> See 'systemctl status systemd-tmpfiles-setup.service' for details. > > View the README in th

Re: [lfs-dev] Major changes in -dev

2014-04-04 Thread xinglp
2014-04-05 10:59 GMT+08:00 William Harrington : > > On Apr 4, 2014, at 9:44 PM, xinglp wrote: > >> [FAILED] Failed to start Create Volatile Files and Directories. >> See 'systemctl status systemd-tmpfiles-setup.service' for details. > > View the README in th

Re: [lfs-dev] Major changes in -dev

2014-04-04 Thread xinglp
2014-04-05 11:04 GMT+08:00 Bruce Dubbs : > xinglp wrote: >> When boot into systemd, got the below message: > > Lets work the problems one at a time. > >> [FAILED] Failed to start Create Volatile Files and Directories. >> See 'systemctl status systemd-

Re: [lfs-dev] Major changes in -dev

2014-04-04 Thread xinglp
When boot into systemd, got the below message: [FAILED] Failed to start Create Volatile Files and Directories. See 'systemctl status systemd-tmpfiles-setup.service' for details. ---split--- root [ ~ ]# systemctl status systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service -

Re: [lfs-dev] Major changes in -dev

2014-04-04 Thread xinglp
2014-04-04 6:11 GMT+08:00 Bruce Dubbs : > I'm sure there are still latent bugs in the current commit, whether they > be in scripts, build instructions, or text. Please test this out and > let me know of needed changes. set-systemd line 7 ln -sfvn $(tool}-systemd /sbin/${tool} should be ln -sfv

Re: [lfs-dev] Major changes in -dev

2014-04-04 Thread xinglp
2014-04-04 6:11 GMT+08:00 Bruce Dubbs : > I've committed a major change to the -dev version of LFS. > > The new version installs systemd and System V side-by-side with the > ability to reconfigure and come up in the other system. > > The scripts to reconfigure are in /usr/local/sbin and are named >

[lfs-dev] jhalfs not create proper Makefile for ch6 autoconf

2014-03-21 Thread xinglp
There's many things missed for "105-autoconf:" section. with lfs_book r10512 and jhalfs r3785 104-perl: 103-inetutils @$(call echo_message, Building) # @export BASHBIN=$(SHELL) && $(SHELL) progress_bar.sh $@ $$PPID & @echo "$(nl_)`date`$(nl_)" >logs/$@-5.18.2 @$(PRT_DU_CR) >>logs/$

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

2014-03-08 Thread xinglp
2014-03-08 22:32 GMT+08:00 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 chang

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

2014-03-08 Thread xinglp
2014-03-08 3:54 GMT+08:00 Bruce Dubbs : > xinglp wrote: >> 2014-03-08 2:09 GMT+08:00 Bruce Dubbs : >>> xinglp wrote: >>> >>>>> And most importantly, /dev/disk was not created. >>> >>>> I got it, eudev should be after util-linux, for

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

2014-03-08 Thread xinglp
2014-03-08 3:54 GMT+08:00 Bruce Dubbs : > xinglp wrote: >> 2014-03-08 2:09 GMT+08:00 Bruce Dubbs : >>> xinglp wrote: >>> >>>>> And most importantly, /dev/disk was not created. >>> >>>> I got it, eudev should be after util-linux, for

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

2014-03-07 Thread xinglp
2014-03-08 2:32 GMT+08:00 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 initr

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

2014-03-07 Thread xinglp
2014-03-08 2:09 GMT+08:00 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 > adj

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

2014-03-07 Thread xinglp
2014-03-07 23:53 GMT+08:00 xinglp : > 2014-03-07 7:14 GMT+08:00 Bruce Dubbs : >> 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 mos

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

2014-03-07 Thread xinglp
2014-03-08 1:19 GMT+08:00 Bruce Dubbs : > xinglp wrote: >> 2014-03-07 7:14 GMT+08:00 Bruce Dubbs : >>> 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

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

2014-03-07 Thread xinglp
2014-03-07 7:14 GMT+08:00 Bruce Dubbs : > 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 > -- > http://linuxfromscrat

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

2014-01-17 Thread xinglp
2014/1/17 Bruce Dubbs : > xinglp wrote: >> 2014/1/17 Bruce Dubbs : >>> Armin K. wrote: >>>> On 01/17/2014 05:03 AM, Bruce Dubbs wrote: >>>>> Moving to -dev. >>>>> >>>>> xinglp wrote: >>>>>>> OK, thanks.

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

2014-01-17 Thread xinglp
2014/1/17 Bruce Dubbs : > 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/*

[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 @@ Make sure that all libraries are in the correct directory: mv -v /usr/lib/libkmod.so.* /lib -ln -svf ../../lib/libkmod.so.2.2.5 /usr/lib/libkmod.so +pus

Re: [lfs-dev] util-linux issues

2013-05-14 Thread xinglp
2013/5/15 Matt Burgess : > 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 until the next >> r

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

2013-05-10 Thread xinglp
2013/5/10 William Harrington : > > 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 mail address

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

2013-05-09 Thread xinglp
2013/5/9 Bruce Dubbs > > xinglp wrote: > > 2013/5/8 Armin K. > > >> 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 forma

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

2013-05-09 Thread xinglp
2013/5/9 Bruce Dubbs > 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

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

2013-05-09 Thread xinglp
2013/5/9 xinglp > > > > 2013/5/8 Armin K. > > 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/~bdub

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

2013-05-08 Thread xinglp
2013/5/8 Armin K. > 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 formatted we

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

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

[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] 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. >>>>> >>>>

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

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

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

[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

[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

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

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

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

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

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

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

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

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

[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

[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

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

[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

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

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

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

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

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

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

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

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

[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

[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

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

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

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

[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

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

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

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

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

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

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

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

  1   2   >