Download Latest Version un-redacted-etc-scripts.1.tar.gz (24.1 MB)
Email in envelope

Get an email when there's a new version of Linux From Scratch GNU/Linux x-lfs-2010

Home
Name Modified Size InfoDownloads / Week
README 2016-10-04 8.8 kB
README.x-lfs-2010 2016-10-04 8.4 kB
addr_type 2016-10-04 6.6 kB
ERRATA.un-redacted-etc-scripts 2016-10-04 631 Bytes
un-redacted-etc-scripts.1.tar.gz 2016-09-27 24.1 MB
README.un-redacted-etc-scripts 2016-09-26 17.6 kB
README.build-0.1 2016-08-22 55.7 kB
build-0.1.11.tar.gz 2016-08-22 1.8 MB
build-0.1.10.tar.gz 2016-08-06 1.8 MB
README.CDE 2016-08-04 6.2 kB
ERRATA.CDE 2016-08-04 6.2 kB
gcc-libc5 2016-06-14 1.9 kB
Makefile.addtwo 2016-06-14 962 Bytes
ERRATA.login.c 2016-06-14 751 Bytes
ERRATA.mathematica-4 2016-06-14 1.2 kB
DISCUSS.build-0.1 2016-06-01 6.6 kB
ERRATA 2016-05-16 557 Bytes
re-redact 2016-05-16 21.7 kB
README.mathematica 2016-04-11 8.9 kB
mathematica.elfmotifps 2016-04-05 2.1 MB
build-0.1.7.tar.gz 2016-04-03 1.5 MB
build-0.1.5.tar.gz 2016-04-03 1.5 MB
build-0.1.4.tar.gz 2016-04-03 670.9 kB
build-0.1.2.tar.gz 2016-04-03 415.8 kB
build-0.1.1.tar.gz 2016-04-03 412.2 kB
build-0.0.7.tar.gz 2016-04-03 336.1 kB
build-0.0.2.tar.gz 2016-04-03 117.2 kB
Totals: 30 Items   35.0 MB 0
Sun Aug 21 09:11:31 EDT 2016

build-0.1.10 - is "finalized"

build-0.1.11 - will have uploaded changes to add pkgs to 1.10 not change hardly
               (any important fixes would become 1.10.x too, but none likely)

-----------------------------
What is build-0.1?

"X LFS 2010" (build-0.1) is a set of scripts that makes a linux from scratch
by downloading and compiling over 350+ source tarballs from autotools and gcc
to X11 and Firefox 20, and compiling WITHOUT build stops or fixes, a fully
sourced system built %100 from src (not just empty promises it could happen).

Audience: medium to advanced users who run linux that wish to have a fully
source running (hot editable) basic linux server with desktop and browser.

build-0.1 bootstraps from a minimal chroot of binaries of Debian "sarge"
(it makes that, see below).  With that, it builds autotools up to
binutils, and makes a chroot of the new fully sourced bins, then
uses only that chroot to build the rest.

The result is a fully sourced chroot which can be used as a full unix; one can
use to boot from as their OS with X11 desktop.  However android, bluetooth,
such things are not attempted but not prevented.

see FILE: glib-pango.list for a list of the more interesting softwares that
are in the "350+" list built (other than the minimal base system)

Suggested: linux kernel 2.6.3.38
Required: a running linux-os allowing a dir to be made (has: basic wget(1),
cp(1) -a, awk(1), sh(1)) (to makes a directory of bare sarge 386 compiler)
OR (not suggested) a DiY chroot that can compile gcc-4.4.5 in the same manner
the sarge bins do (compiles gcc-4.4.5 without effort or error).

Why 2010?  New but not too new, not insisting on gnome3, not droopping all past
non-trivial hardware support.  See Discussion.

benefits: %100 editable/compilable + thin client/server + workstation
          has it's perks for Linux fans bsd fans have long had
          (though forums show many build issues for bsd).  perks are limited
          if "the one app u need wont ever work", pls check if what
          u need works circa 2010 without upgrade to 2013 for example

caveats: see section CAVEATS far below it is important to understand xlf is not
a "generation surviving" system (most arent really, xlfs isnt special)

-----------------------------
What is build-0.1?
NEW NEW NEW NEWS
INSTALL
BOOTING
XLogin
COMMON BUILD FIXING
NOT PROVIDED
RECENT FIXES
OLD OLD NEWS
PROJECT SUMMARY
SUMMARY
WHICH LIST
DISCUSSION
NOTES
OTHER
TODO
CAVEATS

-----------------------------
NEW NEW NEW NEW NEW NEW NEW NEW NEWS

  * build-0.1.11
    NEWS: 0.1.10 is 'final', 0.1.11 only adds pkgs does not 'fix build itself'
    added: ssh
    added: a very few other-unix matters not effecting linux, PATH discussion
    fixed: bash on re-re-build did not cp bins to /bin (though older new "ok")
    added: CDE Desktop, EasyMotif gui builder, Explore Motif browser
           portmap, csh, ksh, cpio, indent, symlinks, lsof
           (CDE not setup to run by default, is optional pkg, see README.CDE)
    added: optional CDE panner support (for keys and using motif-2.5.0 panner)
           it can also be used to add panner to other motif-2.1.30 like mwm
    fixed: a few things from last 1.11, i'd rather not go into detail on 1.11
           since "diff" can be used and the changes are unrelated to 0.1.10

  * build-0.1.10
    re-uploaded again; the dust is setting on a few details that went unseen

  * DOWNLOADING FINALLY REVISITED (doing so was long overdue as hinted in TIPS)
    a few URL changed, a few URL had typo, sarge.wget is now by mirror, fixed
    GLIB-2.11.2.wget script found several flaws since last tried, fixed
      -> sorry i though any wide flaws in GLIB-2.11.2.wget were avoided
      -> but seeing the above, good thing i waited until revisiting, was shown
    files may not be %100 be present after, please tell me of any inconvenience

  * future: will to release fuller sample /etc/ (i am still redacting strings).
    will be separate download, show a both a client and a server working setups
    (if lack-luster) that runs off build-0.1.10, have X desktop that comes
    up after power off automatically (note: will Not be meant to be 123 easy
    for anyone to subst their hostname and IP, goal is as setup reference)

  * found typos in build.conf default mail postgres values
  * fixes in build-0.1/etc/, init.d/tcripts fixes, nsswitch.conf defaults
    'info2' had wrong quoting, fixed (info2 script exports INFOPATH, runs info)
  * added rayshade povray but are not build by default

  * Xfree86-4.8.0 needs fix not mentioned in fix_fonts; asian enc / fontconfig
  * emkfontdir 1 minor fix (note do not use fix_fonts emkfontdir, advanced use)
  * oops for mathematica forgot revised Ghostscript font file(s) + minor revis.
  * add latex-xft-fonts (small) to aid anyone trying mathematica LaTeX
    example xsetfont included
  * xpdf-3.01 was hacked by ? to not see X11R6 fonts, see both now, fixed


-----------------------------
INSTALL

  optional: to save hundres of MB and hours of dowload + compile time
    edit:    GLIBC-2.11.list glib-pango.list
    comment out: firefox-6.0, firefox-20.0 or what

  read build.conf, note BASE cannot change and overlapped BASE wont work
    do not hack anything else build.conf

  note: do the install a step at a time by hand not by script
    it will be 1-2-3 instructional how important things work
    it will be faster for you all things considered

  dont be discouraged if downloads stop or do not all become pkg.tar.gz
    which build need for simplicity.  see TIPS below.

  Mathematica-4.0+ please read build-0.1/mathematica/README.mathematica first

#----------------
# files in /usr/src/linux should be of late linux kernel 2.6.3.x or early 2.6.4
# (build may need only /usr/src/linux-2.6.y.x/{include,usr} sugg is having all
#  and being booted with - just in case, 2.6.38 known to work others have
#  chance of causing need of fix while running - but close versions likely not)

$ mkdir -p /chroot1/usr/src
$ cd /chroot1/usr/src/
$ echo  /chroot1/usr/src/usr/include/*  /chroot1/usr/src/include/*
					# ensure /chroot1/usr/src/ has files in
					# linux/usr/include linux/include
$ wget http://sourceforge.net/projects/x-lfs-2010/files/build-0.1.10.tar.gz
$ tar -xzf build-0.1.10.tar.gz
$ cp build-0.1/* .
$ sh -x ./sarge-chroot.wget		# .deb have all files for chroot w/gcc
$ sh -x ./make-chroot1 cpu i386 dochroot user src # cpu for MAKEDEV
                                        # make sure it says # done
					# pls check /chroot1/etc/ see if
					# you like ie passwd is build-0.1
$ sh -x ./GLIBC-2.11.wget		# download sources.  can now do this
$ sh -x ./X11R7.6.wget			# is bound to be easier before chroot
$ cd /
#----------------
$ chroot /chroot1
#----------------
$ cd /
$ ldconfig
$ umount -a
$ mount /proc				# need only /proc /dev/pts
$ mount -a				# echo "x" >> /dev/stdout # should work
$ cd /usr/src
$ sh -x ./reset				# see KNOWN OOPS below (need lib xxx)
$ . /etc/profile			# now edit /etc/fstab, mount, if needed
					# dont rm -r /chroot1 if still mounted!
$ echo 'extern puts(const char *);main(void){puts("ok");return 0;}' > a.c
$ cc a.c && [ c"`./a.out`" = c"ok" ] && echo "ok" || echo "DANG" # DiY time
$ chown -R src:src /usr/src
$ cat autotools-binutils.list glibc-coreutils.list > list
$ sh ./build  quiet noask nocheck user src \
  cpu i386 march i486 tune i486 glibctune i486  list
$ mv list list.1
$ sh ./build  user src dochroot		# make chroot2
					# see file list, is a progress file
					# if you stop restart: use 'list'
$ umount -a				# * be careful with stray mounts *
$ umount /proc				# * easy to forget disks and rm them *
$ umount /dev/pts
$ exit					# exit chroot1
#----------------
$ chroot /chroot1/chroot2		# * see note
#----------------
$ /usr/libc/sbin/ldconfig		# libc is lBASE2 in build.conf
$ cd /bin/ ; ln -sf bash sh		# for bash bug
$ exec /bin/sh
$ . /etc/profile
$ umount -a ; mount /proc ; mount -a
$ cd /usr/src				# also remakes above in new env
$ chown src:src *
$ chown src:src .
$ cat after-chroot1.list autotools-binutils.list glibc-coreutils.list \
  after-chroot1.list > list
$ sh ./build  quiet noask nocheck user src \
  cpu i386 march i486 tune i486 glibctune i486  RebuildingAll list
$ mv list list.2
$ cat before-x.list xorg-server.list after-x.list glib-pango.list > list
# OR
# cat before-xfree86.list xfree86.list after-xfree86.list glib-pango.list >list
$ sh ./build  quiet noask nocheck user src \
  cpu i386 march i486 tune i486 glibctune i486  list
$ mv list list.3			# use RebuildingAll if restarting
#
# DONE

 see TIPS just below
 see optional BOOTING tips
 see optional XLogin tips (not installed by default, install of one sugg.)

Source: README.txt, updated 2016-10-04