r2166 - in trunk: . packages packages/autoconf packages/automake packages/bash packages/binutils packages/bzip2 packages/coreutils packages/db packages/e2fsprogs packages/expect packages/file packages/findutils packages/flex packages/gawk packages/gcc packages/gettext packages/glibc packages/gmp packages/grep packages/grub packages/gzip packages/iana-etc packages/inetutils packages/iproute2 packages/kbd packages/less packages/libtool packages/linux-headers packages/m4 packages/man-db packages/man-pages packages/module-init-tools packages/mpfr packages/ncurses packages/perl packages/procps packages/psmisc packages/readline packages/shadow packages/sysklogd packages/sysvinit packages/tar packages/tcl packages/texinfo packages/udev packages/util-linux-ng packages/vim packages/wget packages/which packages/zisofs-tools packages/zlib

Alexander E. Patrakov patrakov at gmail.com
Sat Nov 29 23:12:07 PST 2008

jhuntwork at linuxfromscratch.org wrote:

> Brought the base system up to speed with LFS 6.4. All modifications
> that were in conflict with LFS build instructions were also removed,
> as the CD will aim to be a living example of LFS

Welcome back!

> -stop-here:
> -	exit 1
> -

This was a convenient debugging feature :)

> +post-bash: ch-bzip2 ch-diffutils ch-file ch-gawk ch-findutils \
> +	ch-flex ch-gettext ch-grep ch-groff ch-gzip ch-inetutils \
> +	ch-iproute2 ch-kbd ch-less ch-make ch-man-db \
>  	ch-module-init-tools ch-patch ch-psmisc ch-shadow ch-sysklogd \
> -	ch-sysvinit ch-tar ch-texinfo ch-udev ch-util-linux ch-vim \
> +	ch-sysvinit ch-tar ch-texinfo ch-udev ch-util-linux-ng ch-vim \
>  	final-environment

Note that GRUB isn't here, so it isn't necessarily downloaded when you 
try to render the LFS book.

> -PATCH50= $(DIR)-supported_locales-1.patch

Then please adjust the console configurator - it mentioned at least one 
of the newly-added locales.

> -stage1: $(FILE) $(PATCH1)
> -	@echo GRUB downloaded
> -

This is the only thing that guaranteed that GRUB is downloaded before 
the book is rendered. I think that it should be put back. Or, GRUB 
should be moved to the place where it belongs in the book.

> -BELARUSIAN_FILE= belarusian-0.3.tar.gz
> -URL-$(BELARUSIAN_FILE)= http://www.mova.org/bellinux/$(BELARUSIAN_FILE)
> -SHA-$(BELARUSIAN_FILE)= c0026a915fff58cdc3b68bb57de4eec35a220c43
> -
> -THAI_FILE= thai-console-data_cvs20051001.tar.bz2
> -URL-$(THAI_FILE)= http://www.linuxfromscratch.org/~alexander/$(THAI_FILE)
> -SHA-$(THAI_FILE)= 2d5e8f4d6cf488987600d455078fe8f5d4199217

Adjust the console configurator.

> -# The non-wide library is for commercial software only => not for the Live CD

This comment should stay - the non-wide is optional in the book, so the 
LiveCD decision should be documented.

> -# And nothing on the CD uses the C++ binding

Yes, this was a deviation.

> +	#cp -v etc/udev/rules.d/[0-9]* /etc/udev/rules.d/
> +	#sed -i "s/ -M 0640//" $(CONFDIR)/25-lfs.rules

See http://wiki.linuxfromscratch.org/lfs/ticket/2076

> +	#install -m755 ../dhcp-helper /lib/udev
> +	#install -m644 ../76-network.rules /etc/udev/rules.d/

What's the ultimate plan with this? Creating the network config from 
udev rules is beyond LFS.

> +	#echo 'SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c '\''while read id; do /sbin/modprobe pnp:d$$$$id; done < /sys$$devpath/id'\''"' >>/etc/udev/rules.d/26-modprobe.rules

Missing functionality in LFS, it may be a good idea to create a ticket.

Alexander E. Patrakov

More information about the livecd mailing list