Re: 2 Bootscript suggestions (udev_retry & setclock)

2011-08-05 Thread Bruce Dubbs
Nathan Coulson wrote: Lets trim a little... > One thought though, all of our problems stem from udev running before > mountfs. I have not dug into udev's behavior too much, but I imagine it is > the --trigger command that populates /dev/{sd*,sr*,hd*} > > It looks like we can do something like t

Re: 2 Bootscript suggestions (udev_retry & setclock)

2011-08-05 Thread Bruce Dubbs
Andrew Benton wrote: > If you configure your kernel with CONFIG_DEVTMPFS_MOUNT=y the kernel > will mount a tmpfs on /dev itself and populate it with all the devices > it knows about. Xorg isn't happy to run without udev there to tell it > about input devices but I can boot to init 3 no problem _wi

FHS 3.0 Draft 1

2011-08-17 Thread Bruce Dubbs
For your information: http://dev.linuxfoundation.org/~licquia/fhs-3.0-drafts/fhs.html Some highlights: - The source is now valid DocBook XML, with the appropriate tool changes. - New directories, including /run and /sys. - Removal of older compatibility directories, such as /usr/X11R6. - Many ty

SPAM Problem - Re: Work offer inside

2011-08-24 Thread Bruce Dubbs
I've made a change that should get rid of these spam messages. I don't like them any more than anyone else. -- Bruce -- 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 Bruce Dubbs
xinglp wrote: > This is a patch fix some issues I met. OK, I'm just starting to update a few other things and I'll integrate this into those changes. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above inform

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

2011-08-30 Thread Bruce Dubbs
xinglp wrote: > /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 > do

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

2011-08-30 Thread Bruce Dubbs
Nathan Coulson wrote: > On Tue, Aug 30, 2011 at 8:37 AM, Bruce Dubbs wrote: >> xinglp wrote: >>> /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 /boo

Re: Rewrite bootscripts and Chaper 7

2011-08-30 Thread 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 user executes init to change run levels from, for example, 5 to 3. I also t

Re: Rewrite bootscripts and Chaper 7

2011-08-30 Thread 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. >> >> In the rc script, I think the change you made will

LFS 7.0-rc1 Release

2011-08-30 Thread Bruce Dubbs
The Linux From Scratch community is pleased to announce the release of LFS Version 7.0-rc1. This is the first release candidate on the road to LFS-7.0. It includes numerous changes to LFS-6.8 (including updates to Linux-3.0.4, GCC-4.6.1, and Glibc-2.14). A somewhat major change was made in this

Re: Rebuilding glibc results in an infinite loop

2011-08-31 Thread Bruce Dubbs
William Tracy wrote: > Hello, > > First, I would like to congratulate the LFS team on the 7.0 rc. Good job, > people. :-) > > I'm working through a build right now. I screwed up on the original build of > glibc, but did not notice until running the test listed in section 5.8 of > the book. > > I

Spurious file

2011-08-31 Thread Bruce Dubbs
I've noticed that there is a spurious file, /t, created in the latest builds of LFS. The file is 2 bytes long, a 0xff followed by a newline. It is a file generated by one of the tests in grep. I'm not sure how to find which test. It appears to be harmless and the easiest way to address it is

Re: Spurious file

2011-08-31 Thread Bruce Dubbs
Bruce Dubbs wrote: > I've noticed that there is a spurious file, /t, created in the latest > builds of LFS. The file is 2 bytes long, a 0xff followed by a newline. > > It is a file generated by one of the tests in grep. I'm not sure how to > find which test. It appea

Re: Spurious file

2011-08-31 Thread Bruce Dubbs
Nathan Coulson wrote: > On Wed, Aug 31, 2011 at 11:55 AM, Matthew Burgess > wrote: >> On 31/08/2011 18:51, Bruce Dubbs wrote: >>> I've noticed that there is a spurious file, /t, created in the latest >>> builds of LFS. Â The file is 2 bytes long, a 0xff followed

Re: Spurious file

2011-08-31 Thread Bruce Dubbs
Matthew Burgess wrote: > On 31/08/2011 19:51, Bruce Dubbs wrote: > >> Commenting out the line 'cp $in /t' does not seem to affect the test. >> The question now is whether to do >> >> sed -i 's:\(cp $in /t\):#\1:' tests/unibyte-bracket-expr >>

Re: Rewrite bootscripts and Chaper 7

2011-08-31 Thread 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. >> >> In the rc script, I think the change you made will

Re: Rewrite bootscripts and Chaper 7

2011-08-31 Thread 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, but don't see what problems they are trying >

Re: Rewrite bootscripts and Chaper 7

2011-09-01 Thread 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? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http

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

2011-09-01 Thread 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-173 > grep signalfd * -R | grep NEW

Re: Rewrite bootscripts and Chaper 7

2011-09-01 Thread Bruce Dubbs
xinglp wrote: > 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

Re: Rewrite bootscripts and Chaper 7

2011-09-01 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Sep 1, 2011, at 6:48 PM, Nathan Coulson wrote: > >> [I dont like this suggestion] We could use /run to keep track of >> what interfaces are up/down, but that would add more logic then I >> think our scripts should have... [nor this one] An alternative is >> to add more

Re: Glibc is causing segfaults in SDL (and according to redhat's bugzilla, other programs as well)

2011-09-01 Thread Bruce Dubbs
Nathan Coulson wrote: > Glibc-2.28.8 Typo? Current is 2-14. > I came across the problem in a self made SDL application, with the > following stacktrace > > #0 0x7f307280a0a9 in do_lookup_x () from /lib/ld-linux-x86-64.so.2 > #13 0x7f307171090c in SDL_Init (flags=48) at ./src/SDL.c:16

Re: Rewrite bootscripts and Chaper 7

2011-09-02 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Sep 2, 2011, at 1:27 AM, DJ Lucas wrote: > >> I believe complexity was the main objection. > > Seriously? What complexity? I'm sorry but LFS is a complex book for > advanced Linux users. We're really going to run away from a set of > shell scripts because we can't be

Re: Rewrite bootscripts and Chaper 7

2011-09-02 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Sep 2, 2011, at 1:13 PM, Bruce Dubbs wrote: > >> Jeremy Huntwork wrote:e >>> >>> >> Complexity was not the reason I rewrote the scripts. I didn't want to >> add initd-tools to LFS, although I did add it to BLFS. I made

Re: binutils-2.21.1a.tar.bz2

2011-09-02 Thread 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 are. Thanks for the heads up. I

Re: Rewrite bootscripts and Chaper 7

2011-09-02 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Sep 2, 2011, at 4:55 PM, Bruce Dubbs > wrote: > >> What point? > > That you duplicated all the effort DJ spent addressing these same > issues and improvements in the LSB bootscripts. We had _long_ > discussions about this which you seemed

Re: pkg-config tests

2011-09-03 Thread Bruce Dubbs
Jeremy Huntwork wrote: > You modify the expected return value of a test for pkg-config and in > doing so, I think you may be invalidating the test. Matt did that about 3 months ago. > I have not yet had the time to dig deeper into it, so it's possible > I'm missing something, however, the script'

Re: Rewrite bootscripts and Chaper 7

2011-09-03 Thread Bruce Dubbs
DJ Lucas wrote: > On 09/02/2011 05:27 PM, Jeremy Huntwork wrote: >> Dan Nicholson also did much work to get them ready. This has all been >> discussed and agreed upon by the community from years ago. It's crazy >> that they should still be rejected and not part of the major reason >> for releasi

Re: lfs mountpoint issue

2011-09-03 Thread Bruce Dubbs
Andrew Benton wrote: > On Fri, 02 Sep 2011 14:56:46 -0500 > Bruce Dubbs wrote: > >> John Burrell wrote: >>> Util-linux-2.20 installs mountpoint. Sysvinit (if installed as root) >>> overwrites it. >> mountpoint is referenced to sysvinit in the index. I was

Re: pkg-config tests

2011-09-03 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Sep 3, 2011, at 12:58 PM, Matthew Burgess wrote: >> Confirmed here with popt-1.16. It seems odd that pkg-config >> bundles a version of popt known to be broken, and requires a >> configure switch (with-installed-popt) to use a system-installed >> version. popt is certa

Re: pkg-config tests

2011-09-03 Thread Bruce Dubbs
Nathan Coulson wrote: > On Sat, Sep 3, 2011 at 5:28 PM, Andrew Benton wrote: >> It's just moving code from on place to another. Pkg-config gets smaller >> by the size of the code moved to libpopt.so. >> >> I like shared libraries and as I use rsync I think installing popt is a >> good idea. > wh

Re: lfs mountpoint issue

2011-09-03 Thread Bruce Dubbs
Simon Geard wrote: > On Sat, 2011-09-03 at 03:31 -0700, Nathan Coulson wrote: >> if they are both the same, it may be worth disabling sysvinit's. Not >> an area I ever dabbled in, but I think there are alternatives to >> sysvinit that some of our users use. > > Agreed... I've played with system

Re: binutils-2.21.1a.tar.bz2

2011-09-04 Thread Bruce Dubbs
xinglp wrote: > 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 Fixed in svn. Thanks for the heads up. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscr

Re: pkg-config tests

2011-09-04 Thread Bruce Dubbs
Bruce Dubbs wrote: > Jeremy Huntwork wrote: >> Eek, 1 test known to fail means that popt is not working as expected, >> and therefore some pkg-config functionality is broken. If you don't >> want to include popt in the base system, then I think it's better to >

Re: pkg-config tests

2011-09-04 Thread Bruce Dubbs
Bryan Kadzban wrote: > Bruce Dubbs wrote: >> Doing some debugging, I'm making some progress. I made some debug >> printouts and in the first case got: >> >>required_pkgconfig_version 999.999 >> >> but in the second >> >>required_pk

Re: "unknown HZ value" message still appears in procps utils

2011-09-04 Thread Bruce Dubbs
DJ Lucas wrote: > On 06/07/2011 05:16 AM, LANOUX Bertrand wrote: >> Hi all, >> >> I have noticed the "unknown HZ value" message still appears at boot >> time and under some unpredictable circumstances when running the ps >> command, even after applying the procps-3.2.8-fix_HZ_errors-1.patch >> (I

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

2011-09-05 Thread Bruce Dubbs
xinglp wrote: > This command > sed -i -e '/!done/i/ longArg = NULL;' popt/popt.c > > create > / longArg = NULL; After finding the problem, I was a little to casual about fixing it. Fixed. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.

Re: Diffutils default editor set to ed by default

2011-09-05 Thread Bruce Dubbs
DJ Lucas wrote: > Taken from cross-lfs: > > sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h > > > Any reason not to do this in LFS? I have never seen the use of an editor in diffutils, but I learn new stuff all the time. The only place DEFAULT_EDITOR_PROGRAM is in the

Re: Add IPv6 localhost entry to /etc/hosts file

2011-09-05 Thread Bruce Dubbs
DJ Lucas wrote: > While it's not really prevalent just yet, big ISPs are supposed to begin > to doing test roll-outs of IPv6 by the end of the year (if they haven't > already). Probably good to add an entry for the loopback at very least. > It's just "::1 localhost" immediately under the existin

Re: Bootscripts rewrite

2011-09-05 Thread Bruce Dubbs
DJ Lucas wrote: > Okay, so here is a more thorough review as promised (about 20 times before). > Again, this is based mostly on my own observations formed over the past few > years. As we all know, ego can be a bitch, ;-) and I do feel that my own > work was disregarded in many ways, so I'd like to

Re: Bootscripts rewrite - writing/logging messages

2011-09-06 Thread Bruce Dubbs
DJ Lucas wrote: > On 09/05/2011 07:48 PM, Bruce Dubbs wrote: >> DJ Lucas wrote: >>> Get rid of boot_mesg all together. This was left over from a mixed >>> results attempt at international messages and long display output >>> (and line wrapping). As James

Re: Bootscripts rewrite - writing/logging messages

2011-09-06 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Sep 6, 2011, at 1:42 PM, Bruce Dubbs wrote: >> Comments? > > Test and use the LSB scripts. There's no reason to duplicate all this > effort in the current scripts. I did. I just pointed out that echo in a script is not logged. The logging in

Re: Bootscripts rewrite - writing/logging messages

2011-09-08 Thread Bruce Dubbs
Bruce Dubbs wrote: DJ Lucas wrote: On 09/05/2011 07:48 PM, Bruce Dubbs wrote: DJ Lucas wrote: Get rid of boot_mesg all together. I'm working on this. Attached is a reworked version of init-functions. I've added a few functions and variables to it. This includes support fo

Re: udev 173 requires linux 3.1 to eject dvd via button?

2011-09-09 Thread Bruce Dubbs
Nathan Coulson wrote: > from https://bugs.archlinux.org/task/25609 > Comment by Tom Gundersen (tomegun) - Sunday, 21 August 2011, 15:52 GMT-4 > I had the issue explained to me by the udev maintainer, and my > understanding is that in order to set the value udev relies on a > feature from what will

Re: /etc/bash_completion.d/ is not configured

2011-09-11 Thread Bruce Dubbs
DJ Lucas wrote: > On 09/10/2011 11:49 PM, DJ Lucas wrote: >> Grub and GLib both install bash completion scripts. Need to add >> something to the default /etc/profile in the book to take advantage of them. >> >> Additionally, the one for grub is broken currently looking for a have() >> function, whi

Re: /etc/bash_completion.d/ is not configured

2011-09-11 Thread Bruce Dubbs
DJ Lucas wrote: > On 09/11/2011 12:04 PM, Bruce Dubbs wrote: >> Overall, I think this is stupid. These are library functions. Why are >> they in /etc instead of /lib. DJ, I know you are just describing things. > They are bash functions that are intended to make bash com

Re: LFS' future server plans

2011-09-11 Thread Bruce Dubbs
Gerard Beekmans wrote: > Hi guys, > > The LFS server recently passed its five year mark. While there are still > no indications yet of hardware problems or degraded performance due to > aging components yet, I've started to pro-actively look at options to > replace the server. After all, it's b

udevadm: trigger --type=failed deprecation

2011-09-12 Thread Bruce Dubbs
Matt, I saw your conversation with Kay Sievers at http://comments.gmane.org/gmane.linux.hotplug.devel/17011 How do we want to address this? I'm not sure that the advice to ignore the clock setting and always use ntp is the best approach. It ignores the situation when you do not have a netw

Re: LFS' future server plans

2011-09-12 Thread Bruce Dubbs
Matthew Burgess wrote: > With a number of high-profile server compromises recently, I'd much > rather I was able to ensure the relative security of the server by being > able to do something like 'yum update' than having to keep abreast of > software vulnerability announcements/fixes and then m

Re: LFS' future server plans

2011-09-12 Thread Bruce Dubbs
Matthew Burgess wrote: > I'm hardly an old-timer, but for written conversations, I think that an > email based list suits my needs better than anything else. I agree. I don't know if I qualify as an old-timer, but my first extensive email experience goes back to about 1990. That's not too m

Re: udevadm: trigger --type=failed deprecation

2011-09-12 Thread Bruce Dubbs
Matthew Burgess wrote: > On 12/09/2011 20:40, Bruce Dubbs wrote: >> Matt, >> I saw your conversation with Kay Sievers at >> http://comments.gmane.org/gmane.linux.hotplug.devel/17011 >> >> How do we want to address this? I'm not sure that the advice to

Re: udevadm: trigger --type=failed deprecation

2011-09-12 Thread Bruce Dubbs
Bryan Kadzban wrote: > Bruce Dubbs wrote: >> In my development system, there is no /run/tmp-rules--*. There is >> /run/udev/rules.d/, but it's empty. > > A file will get written to one of those locations if the rootfs is > read-only when a NIC (or CD drive) shows u

Re: udevadm: trigger --type=failed deprecation

2011-09-13 Thread Bruce Dubbs
Andrew Benton wrote: > On Mon, 12 Sep 2011 21:57:01 -0500 > Bruce Dubbs wrote: > >> The problem with using something like ntpdate (ntpd -q) in a boot script >> is that if the network is down for some reason, the bootscript hangs >> forever. > > Eh? ntpd daemo

udev_retry

2011-09-15 Thread Bruce Dubbs
References are threads starting at: http://www.linuxfromscratch.org/pipermail/lfs-dev/2011-August/064960.html http://linuxfromscratch.org/pipermail/lfs-dev/2011-September/065130.html We are in a Catch-22 situation with udev_retry. Here's a rundown: We need to start udev (S10udev) before mounting

Re: udev_retry

2011-09-15 Thread Bruce Dubbs
Matthew Burgess wrote: > On 15/09/2011 20:38, Bruce Dubbs wrote: > > > >> There are options about what to do right now: >> >> 1. Leave in the warning message and optionally write something about it >> in the book. > > We try, generally, to acco

Bootscripts (again)

2011-09-15 Thread 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 /etc/init.d is a symlink to /etc/rc.d/init.d rc

Re: Bootscripts (again)

2011-09-15 Thread Bruce Dubbs
xinglp wrote: > 在 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. >> /lib/lsb is a symlink to /etc/services with files: >>  init-functions >>  ipv4-st

Re: udev_retry

2011-09-15 Thread Bruce Dubbs
Bryan Kadzban wrote: > Or sysconfig, or wherever similar scripts are put in Bruce's new setup. Just to mention the layout, what I have is: /lib/services (network service scripts) /lib/lsb(symlink to /lib/services/, init-functions) /etc/sysconfig (All config files here, no subdirector

Re: udev_retry

2011-09-16 Thread Bruce Dubbs
Andrew Benton wrote: > On Thu, 15 Sep 2011 21:46:08 +0100 > Matthew Burgess wrote: > >> So, based on the above, 5 is definitely something to look into I think. >> If that doesn't pan out, then I think option 2 is the next 'least worst'. >> > > Or you could set the time with a bootscript. Same

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

2011-09-21 Thread 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 rc6} depend on "create-dirs" Thanks for the report. I'll check it out. It should work: instal

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

2011-09-21 Thread Bruce Dubbs
Bruce Dubbs wrote: > I'm attaching an updated Makefile. It adds a few more dependencies and > adds the target uninstall. Let me know if it works for you. Oops, There is in error in the file I just sent. Make this change to the file: sed -i -e 's/file:/files:/'

udev directories

2011-09-21 Thread Bruce Dubbs
Upon review of udev due to a question on -support, we are creating some directories that I don't know are still required. install -dv /lib/{firmware,udev/devices/pts} I think we still need /lib/udev/devices, but does anyone know if we still need: /lib/firmware /lib/udev/devices/pts -- Bruc

Re: udev directories

2011-09-21 Thread Bruce Dubbs
Bryan Kadzban wrote: > Andrew Benton wrote: >> On Wed, 21 Sep 2011 17:53:52 -0500 >> Bruce Dubbs wrote: >> >>> Upon review of udev due to a question on -support, we are creating some >>> directories that I don't know are still required. >>

Re: lfs-bootscripts-20110921 fix

2011-09-22 Thread Bruce Dubbs
xinglp wrote: > 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

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

2011-09-23 Thread Bruce Dubbs
xinglp wrote: > How about move "[ -r /etc/sysconfig/rc.site ] && . > /etc/sysconfig/rc.site" to the bottom of /lib/services/init-functions My intention was to have rc.site take precedence but it looks like that slipped. The only variables that are really affected are: NORMAL="\\033[0;39m"

Re: How to join and help.

2011-09-23 Thread Bruce Dubbs
Armin K. wrote: > Well, I am not sure if this is right mailing list but I want to ask if I > could somehow join and help LFS team (Especially BLFS) because stuff > there is becoming old and the book could need some improvements. I asked > on LFS IRC but they pointed me to mailing lists ... I'd h

Re: LFS on github (RFC)

2011-09-24 Thread Bruce Dubbs
Kevin Lyda wrote: > I've used LFS from time to time for work at two different companies. > First as a quick way to a hermetic build environment and then as an > educational tool. I would really like to contribute back. However I > got distracted when I discovered subversion was still being used.

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

2011-09-25 Thread 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: [ ! $(egrep -qv '^($|#)' /etc/sysconfig/modules) ] || exit 0 Does that work for you? -- Bruce -- http://linuxfromscrat

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

2011-09-26 Thread Bruce Dubbs
See if this works as well: sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c -- Bruce xinglp wrote: > -- 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..

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

2011-09-26 Thread Bruce Dubbs
xinglp wrote: > 在 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: >> >> [ ! $(egrep -qv '^($|#)' /etc/s

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

2011-09-27 Thread Bruce Dubbs
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 --> c_lflag" . > Maybe you need to see a oculist I generally don'

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

2011-09-27 Thread Bruce Dubbs
xinglp wrote: > On Wed, Sep 28, 2011 at 12:26 AM, Bruce Dubbs wrote: >> Try this sed: >> >> sed -i -e 's/cflag \& (ECHO)/lflag \& ECHO/' term-utils/agetty.c > > shy ? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs

Re: Glib-2.30.0

2011-09-27 Thread Bruce Dubbs
Matthew Burgess wrote: > On 27/09/2011 18:09, Andrew Benton wrote: > >> It seems that glib-2.30.0 requires libffi and python. > > Thanks for the heads up. I'm not actually that bothered by those 2 > dependencies. libffi has no dependencies itself, and Python has no > mandatory dependencies, s

Re: Glib-2.30.0

2011-09-27 Thread Bruce Dubbs
Matthew Burgess wrote: > On 27/09/2011 22:35, Ken Moffat wrote: > >> With respect, Matt, it's the glib2 part that is bloat. I remember >> some discussion, but I forget why we did it > > pkg-config upstream, as of 0.26, removed the internal Glib-1 that it > used to bundle, therefore forcing us t

Re: Glib-2.30.0

2011-09-27 Thread Bruce Dubbs
Ken Moffat wrote: > On Tue, Sep 27, 2011 at 05:15:25PM -0500, Bruce Dubbs wrote: >> Since the only thing in LFS that requires pkg-config is E2fsprogs, the >> easiest thing would be to patch the E2fsprogs build mechanism to remove >> the dependency on pkg-config and then r

Re: LFS on github (RFC)

2011-09-28 Thread Bruce Dubbs
Kevin Lyda wrote: > I was thinking it would be interesting to put all the sources LFS uses > in with the sources for the book. The problem with that is getting someone to pay for the bandwidth. The sources are now hosted by Oregon State University, but they are supposed to be for mirrors, no

Re: LFS on github (RFC)

2011-09-28 Thread Bruce Dubbs
Kevin Lyda wrote: > On Wed, Sep 28, 2011 at 16:31, Bruce Dubbs wrote: >> The problem with that is getting someone to pay for the bandwidth. Â The > > That was one of my motivations. If we could move these in with the > source then there would be no need for the package

Re: LFS on github (RFC)

2011-09-29 Thread Bruce Dubbs
Kevin Lyda wrote: > On Wed, Sep 28, 2011 at 17:52, Bruce Dubbs wrote: >> Right now, the BW for the book is 100-150 GB/month. Â That includes >> mailing lists, etc. >> >> The BW for the files on anduin are 1-2 TB/month. Â I don't know about the >> other mirro

Re: Coreutils tests

2011-09-29 Thread Bruce Dubbs
Matthew Burgess wrote: > Hi, > > For a while now, I've had 2 test failures in coreutils, but have just > ignored them. With the latest version I saw a 3rd failure, which made > me relook at Coreutils' test suite. The failures I see are: > > misc/help-version > misc/invalid-opt > rm/many-dir-e

Re: RFC: Fixing udev_retry

2011-10-05 Thread Bruce Dubbs
Matthew Burgess wrote: > On Tue, 04 Oct 2011 21:45:13 -0700, Bryan Kadzban > wrote: >> See the attached patch for what I propose we do, at least in the short >> term, or possibly longer as well. >> >> It changes udev_retry to (in addition to using --type=failed) read >> /etc/sysconfig/udev_retry

Re: suggestion for a modified chapter 6 build of glib

2011-10-05 Thread Bruce Dubbs
Andrew Benton wrote: > On Wed, 5 Oct 2011 2:03:35 -0600 > Matthew Burgess wrote: > >> My preferred way of handling the glib/pkg-config requirement in LFS Chapter 6 >> at the moment is to "fix" e2fsprogs so that it doesn't require pkg-config at >> all (see >> http://www.linuxfromscratch.org/piper

Re: RFC: Fixing udev_retry

2011-10-06 Thread Bruce Dubbs
Bryan Kadzban wrote: > Bruce Dubbs wrote: >> Matthew Burgess wrote: >>> I'd prefer to do that in this change. As you mention in the patch, >>> this won't work with the current version of Udev in the book, so we >>> may as well get rid. OK, I committ

Re: RFC: Fixing udev_retry

2011-10-06 Thread Bruce Dubbs
Bryan Kadzban wrote: > (I do notice that the sysconfig/udev_retry file was missing from that > commmit, so I've added it back in r9615. Thanks. I guess that was my fault for not doing an svn add before committing. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http

Re: suggestion for a modified chapter 6 build of glib

2011-10-07 Thread Bruce Dubbs
Matthew Burgess wrote: > On 05/10/2011 23:24, Matthew Burgess wrote: >> On 05/10/2011 22:48, Bruce Dubbs wrote: >> >>> That sounds like a nice simple approach. Does it still place its .pc >>> files in /usr/lib/pkgconfig? >> Hi Bruce, >> >> Her

md5sums

2011-10-07 Thread Bruce Dubbs
I am working on an xsl script to check packages before starting the build process to ensure the user has the all the proper tarballs and patches. The process will work like this from the source of the LFS book: make md5sums The default location for the output is "~/lfs-book/md5sums". The u

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

2011-10-08 Thread Bruce Dubbs
Right. I'll fix that today. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page

Re: lfs-bootscripts Makefile fix

2011-10-08 Thread Bruce Dubbs
xinglp wrote: > 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} ${EXTD

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

2011-10-08 Thread Bruce Dubbs
xinglp wrote: > 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 : > > # Se

Re: r9632 typo fixes in changelog.xml

2011-10-13 Thread Bruce Dubbs
Gilles Espinasse wrote: > Here is a patch that fix a few typo on r9632 Thanks. I need to spend more time proofing the changelog. Usually by the time I get there, I hurry too much. Fixed. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/

LFS 7.0-rc2 Release

2011-10-13 Thread Bruce Dubbs
The Linux From Scratch community is pleased to announce the release of LFS Version 7.0-rc2. This is the second release candidate on the road to LFS-7.0. It includes numerous changes to LFS-6.8 (including updates to Linux-3.0.4, GCC-4.6.1, and Glibc-2.14.1). A somewhat major change was made in t

Re: stripping (I mean chapter 5 of the lfs book...)

2011-10-15 Thread Bruce Dubbs
Jonathan Oksman wrote: > While I was packaging up stuff for backup, I noticed that the two new > packages to the system (xz and check) both put some documentation > during Chapter 5 into /tools/share/doc. It remains after '5.34. > Stripping' is completed. The final command that removes > document

Re: server problem ?

2011-10-16 Thread Bruce Dubbs
Ken Moffat wrote: > Is there a problem with the LFS server ? I'm getting mail from the > lists, but I can't connect to linuxfromscratch.org using a browser > (times out), and if I try 'svn up' the remote connection is reported > as getting closed. And ssh appears not to work - so, if there is a

Re: Question about chapter 6: file before gcc

2011-10-17 Thread Bruce Dubbs
Jonathan Oksman wrote: > Hey guys, > > I was just wondering if there was a special reason as to why file gets > built before gcc now in 7.0. I tried to do a search to see if it was > discussed but I could not turn up anything. Changelog, 2011-04-18. -- Bruce -- http://linuxfromscratch.org/m

Re: Question about chapter 6: file before gcc

2011-10-18 Thread Bruce Dubbs
Jonathan Oksman wrote: > On Mon, Oct 17, 2011 at 3:50 PM, Bruce Dubbs wrote: >> Changelog, 2011-04-18. >> >> Â -- Bruce > > Thanks for the reference Bruce, I completely missed it. > > > From the changelog then: >> [bdubbs] - In Chapter 6, mo

Re: [Fwd: Re: New Blfs]

2011-10-18 Thread Bruce Dubbs
Nathan Coulson wrote: > To sum it up, I would hate to lose X. It is a major part of BLFS, and one > I have spent a lot of time with. > Firefox/Thunderbird/Java/Apache/PHP/MySQL/OpenOffice[now LibreOffice]/Cups > are the first things I build when I startup a system. > > no personal use for KDE3/K

Re: Question about chapter 6: file before gcc

2011-10-18 Thread Bruce Dubbs
Jonathan Oksman wrote: > On Tue, Oct 18, 2011 at 11:49 AM, Bruce Dubbs wrote: >> There are multiple ways of solving a problem. What new problem does >> your suggestion solve? > I suppose my arguments are a matter of opinion though. I'm in the > process of a test

Re: Question about chapter 6: file before gcc

2011-10-18 Thread Bruce Dubbs
Jonathan Oksman wrote: > On Tue, Oct 18, 2011 at 12:39 PM, Bruce Dubbs wrote: >> The old way worked OK, but just issued some warnings. Â Remember that the >> builds in Chapter 6 *are* using the new gcc and binutils that you built >> in Chapter 5. >> > > This is

Re: 7.0-rc2:"Permission denied" error in section 6.7.1

2011-10-19 Thread Bruce Dubbs
feralert wrote: > When trying to follow the book i have gotten to a "Permission denied" > error because in section "6.7.1. Installation of Linux API Headers" > you are told to copy files to /usr/include as the lfs user, or so I > understood, please correct me if I'm missing something. For Chapter

Re: 8.2. Creating the /etc/fstab File - hdparm clarification

2011-10-19 Thread Bruce Dubbs
Jonathan Oksman wrote: > Near the end of the chapter, the book recommends users of the ext3 > filesystem to use hdparm to test if a disk is able to accept the > barrier=1 mount feature. > > This is a good suggestion, but it doesn't say anything about hdparm > beyond that. The current instructions

Re: 8.2. Creating the /etc/fstab File - hdparm clarification

2011-10-19 Thread Bruce Dubbs
Jonathan Oksman wrote: > ha, my computer just completely freaked out because I forgot to add > /run to the new fstab by mistake. I transitioned from my old system > fstab and skimmed over the book fstab not realizing there was > something new to add. > > Nice work on the new bootscripts though, B

<    2   3   4   5   6   7   8   9   10   11   >