9 years agobootstrap-early: still trying to get autotools working topic/reorg_stupid
Michael D Labriola [Fri, 4 Feb 2011 00:08:58 +0000]
bootstrap-early: still trying to get autotools working

9 years agobootstrap-early: added extra source tarballs for host requirements
Michael D Labriola [Wed, 2 Feb 2011 14:25:10 +0000]
bootstrap-early: added extra source tarballs for host requirements

Oops.  Chicken-and-the-egg alert!  You need autotools (and a LOT of other
GNU tools) already installed in order to build the really low-level GNU
packages from freshly cloned sources (i.e., autoreconf fails like mad).

So, this commit adds an extra bootstrap-early/src tree with source tarballs
so that these tools can build even if autotools isn't available on the host

Not sure that this is really going to be a good permanent solution.  Seems
silly to store an cloned source tree and a source tarball for these
packages... and I'm probably not going to really be doing development on
them, so the source tree doesn't really seem needed... ah well, we'll see.

9 years agobootstrap: added sudo usage and modernized early stage a bit
Michael D Labriola [Sat, 29 Jan 2011 13:57:29 +0000]
bootstrap: added sudo usage and modernized early stage a bit

9 years agoreorg: created src entries for all bootstrap-early packages, v2
Michael D Labriola [Fri, 28 Jan 2011 00:42:26 +0000]
reorg: created src entries for all bootstrap-early packages, v2

This commit sets up appropriate branches for the submodules added in v1 so
that a fresh checkout will actually point at the latest stable release.

Note that some of these have been recklessly updated to new versions that I
haven't tested yet...

9 years agomore notes
Michael D Labriola [Thu, 27 Jan 2011 11:51:17 +0000]
more notes

9 years agobootstrap: fixed packagedir vs sourcedir usage
Michael D Labriola [Wed, 26 Jan 2011 22:58:07 +0000]
bootstrap: fixed packagedir vs sourcedir usage

This commit fixes up the inconsistencies I've now introduced regarding the
old packagedir variable, which was used to locate the sources for packages.
I've gone through now and replaced most of the $packagedir references with
$sourcedir.  Keep in mind, though, that config files still go in
$packagedir (i.e., $packagedir/kernel/config-bootstrap).

9 years agoreorg: created src entries for all bootstrap-early packages
Michael D Labriola [Wed, 26 Jan 2011 22:44:03 +0000]
reorg: created src entries for all bootstrap-early packages

This commit creates new src/whatever entries for all the packages needed
for bootstrap-early.  If possible, a git submodule was used, otherwise a
source tar.bz2 and set of patches was used.

This commit also removes the bootstrap-early packages from the packages

9 years agobootstrap: fix-perms now creates device nodes
Michael D Labriola [Wed, 26 Jan 2011 21:16:06 +0000]
bootstrap: fix-perms now creates device nodes

This commit adds a few commands to fix-perms to create /dev/null and
/dev/console, which aparently are needed in order for our bootstrap system
to boot correctly.

9 years agorandom thoughts
Michael D Labriola [Wed, 26 Jan 2011 21:14:57 +0000]
random thoughts

9 years agobootstrap: added fix-perms
Michael D Labriola [Wed, 26 Jan 2011 14:56:18 +0000]
bootstrap: added fix-perms

This commit fixed a bug in e2fsprogs script and adds fix-perms.  I'm not
sure I like the way fix-perms is implemented at the moment (su -c and ask
for root pw), but this works for now.

At this point, the bootstrap areas can completely build a usable root
filesystem.  Code still needs to be added (maybe) to create a partition and
configure grub... but I might just leave this up to the user for now.

9 years agogitignore: added .build
Michael D Labriola [Wed, 26 Jan 2011 14:47:29 +0000]
gitignore: added .build

9 years agoupdated docs
Michael D Labriola [Wed, 26 Jan 2011 14:47:05 +0000]
updated docs

9 years agoadded COPYING to toplevel
Michael D Labriola [Fri, 21 Jan 2011 15:52:26 +0000]
added COPYING to toplevel

This is GPLv3, which is the license that will be used for this project

10 years agomore notes
Michael D Labriola [Thu, 21 Oct 2010 10:50:11 +0000]
more notes

10 years agobootscripts: pulled updates
Michael D Labriola [Sat, 18 Sep 2010 17:05:14 +0000]
bootscripts: pulled updates

10 years agobootstrap: updated kernel config after testing
Michael D Labriola [Fri, 3 Sep 2010 20:57:45 +0000]
bootstrap: updated kernel config after testing

The old kernel config was resulting in SMP but only 1 CPU.  Problem was that
I had disabled all power management, including ACPI.

10 years agobootstrap: modified config files
Michael D Labriola [Fri, 3 Sep 2010 19:30:03 +0000]
bootstrap: modified config files

10 years agobootstrap: added CPUCOUNT and JOBCOUNT variables
Michael D Labriola [Tue, 31 Aug 2010 20:30:42 +0000]
bootstrap: added CPUCOUNT and JOBCOUNT variables

Made all the bootstrap stages use JOBCOUNT and JOBCOUNT_KBUILD variables
defined in functions.  These variables should be configurable via a
configure script, but for now they default to CPUCOUNT+1 and CPUCOUNT*4.

10 years agobootstrap: added bootscripts
Michael D Labriola [Sat, 28 Aug 2010 18:15:06 +0000]
bootstrap: added bootscripts

We now install our bootscripts.  Still haven't tested booting, yet.  Need a
little more tweaking before we can test that.

10 years agobootscripts: updated again
Michael D Labriola [Sat, 28 Aug 2010 18:12:55 +0000]
bootscripts: updated again

10 years agobootscripts: updated ruckus/master
Michael D Labriola [Sat, 28 Aug 2010 17:57:20 +0000]
bootscripts: updated ruckus/master

10 years agobootscripts: updated to include new mdev script
Michael D Labriola [Sat, 28 Aug 2010 17:48:31 +0000]
bootscripts: updated to include new mdev script

10 years agobootstrap: added kernel rules
Michael D Labriola [Sat, 28 Aug 2010 17:13:36 +0000]
bootstrap: added kernel rules

As of this commit, we can compile all the way through to the bootstrap
kernel.  Haven't tried booting it yet, obviously, but it does compile and
install just fine.

Also fixed a silly issue with functions' setup_generic.

10 years agopackages: added bootscripts submodule
Michael D Labriola [Sat, 28 Aug 2010 17:11:01 +0000]
packages: added bootscripts submodule

Default branch is ruckus/master

10 years agobootstrap: added create-conf
Michael D Labriola [Sat, 28 Aug 2010 13:16:46 +0000]
bootstrap: added create-conf

This commit adds the create-conf psudo-package, reorganizes all our config
files into a config directory, and adds lots of rambling comments to the go

10 years agokernel: switched to ruckus/master
Michael D Labriola [Fri, 27 Aug 2010 23:40:31 +0000]
kernel: switched to ruckus/master

I have begun placing source ruckus specific commits on my ruckus/master
branch.  This commit tells the superproject to use the current tip of my
ruckus/master branch by default.

10 years agobootstrap: added a kernel config and some comments
Michael D Labriola [Fri, 27 Aug 2010 21:04:46 +0000]
bootstrap: added a kernel config and some comments

10 years agobootstrap: ironed out some busybox vs e2fsprogs conflicts
Michael D Labriola [Thu, 26 Aug 2010 17:25:04 +0000]
bootstrap: ironed out some busybox vs e2fsprogs conflicts

10 years agobootstrap-early: fixed broken patching in setup_generic
Michael D Labriola [Wed, 25 Aug 2010 14:17:24 +0000]
bootstrap-early: fixed broken patching in setup_generic

Oops, when I tested out this last change I did it in zsh... which has
nullglob enabled by default.  When this ran in bash, it was screwing up the
directory traversing and patching...

10 years agobootstrap: getting ready to boot the bootstrap system
Michael D Labriola [Tue, 24 Aug 2010 10:49:10 +0000]
bootstrap: getting ready to boot the bootstrap system

The bootstap stage now creates lots of directories and symlinks in the baby
filesystem.  Added a bunch of long-winded rambling notes all over and
started to add e2fsprogs

10 years agobootstrap,bootstrap-early: got texinfo building
Michael D Labriola [Sun, 22 Aug 2010 13:12:07 +0000]
bootstrap,bootstrap-early: got texinfo building

In order to get texinfo to build correctly, I had to add help2man to the
bootstrap-early stage, add a patch to texinfo, and do some cleanup in
bootstrap-early's functions.  It's working now, though!

10 years agobootstrap: gettext, m4, make now compiling
Michael D Labriola [Sat, 21 Aug 2010 17:46:28 +0000]
bootstrap: gettext, m4, make now compiling

At this point, everything up to and including make is compiling.  There's
code to compile texinfo, too, but it's got some errors

10 years agopackages: added sources for gettext, m4, make, and texinfo
Michael D Labriola [Sat, 21 Aug 2010 17:13:47 +0000]
packages: added sources for gettext, m4, make, and texinfo

10 years agobootstrap: added flex
Michael D Labriola [Sat, 21 Aug 2010 15:56:44 +0000]
bootstrap: added flex

10 years agobootstrap: bison and file now get installed
Michael D Labriola [Sat, 21 Aug 2010 15:33:16 +0000]
bootstrap: bison and file now get installed

10 years agobootstrap: busybox compiles
Michael D Labriola [Sat, 21 Aug 2010 14:10:28 +0000]
bootstrap: busybox compiles

At this point, busybox is compiling.  I'm not 100% sure that the busybox
config is what we'll really end up using, but I've put a ton of comments in
the go script documenting that packages I think we still have to build

10 years agobootstrap: added ncurses and started work on busybox
Michael D Labriola [Sat, 21 Aug 2010 13:01:44 +0000]
bootstrap: added ncurses and started work on busybox

This commit adds compilation instructions for ncurses and a first stab at
busybox.  Everything up to and including ncurses has been tested.

10 years agobootstrap-early: added ncurses
Michael D Labriola [Sat, 21 Aug 2010 12:58:50 +0000]
bootstrap-early: added ncurses

10 years agobootstrap: initial gcc rules
Michael D Labriola [Fri, 20 Aug 2010 21:28:45 +0000]
bootstrap: initial gcc rules

This commit adds a section to build gcc.  Only the patching portion of it
has been tested so far.

10 years agobootstrap: fixed zlib rules
Michael D Labriola [Fri, 20 Aug 2010 21:05:53 +0000]
bootstrap: fixed zlib rules

This commit adds commands for zlib, which couldn't be built using the
default commands.  Oops.  Zlib and binutils have been tested now.

10 years agopackages: added zlib sourcecode
Michael D Labriola [Fri, 20 Aug 2010 21:05:31 +0000]
packages: added zlib sourcecode

10 years agobootstrap: made a better generic build rule
Michael D Labriola [Fri, 20 Aug 2010 18:19:18 +0000]
bootstrap: made a better generic build rule

The build script's default case now has a decent rule.  A bunch of variables
are set at the beginning of the function that simplify all the other rules,

This commit also adds a binutils rule.  zlib and binutils have not been
tested yet, but everything prior to zlib works (at least it did the one time
I tried it...)

10 years agobootstrap-cross: resolved a binutils FIXME
Michael D Labriola [Fri, 20 Aug 2010 18:17:09 +0000]
bootstrap-cross: resolved a binutils FIXME

10 years agobootstrap: added skeletal go script
Michael D Labriola [Thu, 19 Aug 2010 21:30:19 +0000]
bootstrap: added skeletal go script

This commit adds a script that might build gmp, mpfr, and mpc.  I haven't
actually tested it yet.  ;-)

10 years agobootstrap-cross: finally got it working
Michael D Labriola [Thu, 19 Aug 2010 21:11:25 +0000]
bootstrap-cross: finally got it working

This commit fixes a whole bunch of issues and brings us to the end of the
bootstrap-cross stage.  Yay!  Made the following changes:

- eglibc-32bit: patch was creating config.cache in sourcedir instead of
  builddir.  redid this so that config.cache is generated via a bunch of
  redirected echos in sourcedir.

- eglibc-64bit: fleshed out and tested

- gcc-final: fleshed out and tested

- functions: changed MACHTYPE_TARGET32 to i686-pc-linux-gnu.  this was the
  culprit causing eglibc to not compile.

- functions: moved source and build dirs around to support building multiple
  builddirs from a single sourcedir.

10 years agobootstrap-cross: added eglibc-32bit to build script
Michael D Labriola [Mon, 16 Aug 2010 09:26:40 +0000]
bootstrap-cross: added eglibc-32bit to build script

10 years agobootstrap-early: added bootstrap-cross to environment setup
Michael D Labriola [Mon, 16 Aug 2010 09:25:59 +0000]
bootstrap-early: added bootstrap-cross to environment setup

10 years agoboostrap-cross: added eglibc patches
Michael D Labriola [Mon, 16 Aug 2010 09:25:06 +0000]
boostrap-cross: added eglibc patches

10 years agoeglibc: added source tarball and patch
Michael D Labriola [Mon, 16 Aug 2010 09:24:23 +0000]
eglibc: added source tarball and patch

10 years agobootstrap-early,bootstrap-cross: bunch o fixes
Michael D Labriola [Mon, 16 Aug 2010 01:24:24 +0000]
bootstrap-early,bootstrap-cross: bunch o fixes

After very carefully going over the CLFS book, I've made the following
changes.  Some of them were definately problems, some of them are just
desperately trying to make my build system match the CLFS instructions...

- Now installing the bootstrap-cross tools inside $BABY, complete with
  /bootstrap-cross symlink.

- Gave ncurses a trim down.  I didn't feel like it originally, because I
  hadn't split my generic_build function into a set of functions yet.  This
  shouldn't have been hurting anything, but it'll make rebuilds quicker.

- binutils and gcc-static were using sysroot of $INSTALLROOT, which maybe
  should have been set to $BABY... we'll see if it makes a difference

- The linux headers weren't actually being installed due to a typo... oops.

10 years agobootstrap-early,bootstrap-cross: not working
Michael D Labriola [Sun, 15 Aug 2010 21:37:20 +0000]
bootstrap-early,bootstrap-cross: not working

Ok, I can't seem to get gcc-static to build.  I think it has to do with my
deviations from the CLFS book, but I'm not sure.  So I'm committing this
batch of stuff and I'm gonna try moving the bootstrap-cross stuff into the
baby filesystem.

10 years agobootstrap-early: fixed PREFIX typo
Michael D Labriola [Sat, 14 Aug 2010 23:55:47 +0000]
bootstrap-early: fixed PREFIX typo

10 years agobootstrap-cross: moved patches into subdir
Michael D Labriola [Sat, 14 Aug 2010 23:48:34 +0000]
bootstrap-cross: moved patches into subdir

Instead of using package-*.patch for bootstrap-cross patches, we're now
using patches/package/*.patch.  This just makes it easier to maintain the
patches in external git repositories and use 'git-format-patch' to generate
numbered patches.

10 years agobootstrap-early: made everything build out-of-tree by default
Michael D Labriola [Sat, 14 Aug 2010 23:46:58 +0000]
bootstrap-early: made everything build out-of-tree by default

10 years agobootstrap-early: /bootstrap symlink only created if needed
Michael D Labriola [Sat, 14 Aug 2010 23:46:10 +0000]
bootstrap-early: /bootstrap symlink only created if needed

10 years agobootstrap-cross,bootstrap-early: fighting with gcc
Michael D Labriola [Sat, 14 Aug 2010 19:44:07 +0000]
bootstrap-cross,bootstrap-early: fighting with gcc

Still trying to get through gcc-static.  Looks like I'm going to have to
sort things out a bit better, either automatically always do an out-of-tree
build, or just explicitly have certain targets built out-of-tree.

Either way, I'd better go back and test all the changes I've had to make to
bootstrap-early while implementing bootstrap-cross

10 years agobootstrap-cross: gcc patch now uses /bootstrap
Michael D Labriola [Sat, 14 Aug 2010 13:31:58 +0000]
bootstrap-cross: gcc patch now uses /bootstrap

10 years agobootstrap-cross: started adding gcc-static code
Michael D Labriola [Sat, 14 Aug 2010 13:20:58 +0000]
bootstrap-cross: started adding gcc-static code

So far, all I have is the block of code to untar and patch the source tree.
The patch I'm using still needs to have some sed magic done to it most

10 years agogcc,binutils: added source tarballs
Michael D Labriola [Wed, 11 Aug 2010 23:29:41 +0000]
gcc,binutils: added source tarballs

10 years agobootstrap: added binutils and split up functions
Michael D Labriola [Sat, 7 Aug 2010 14:17:47 +0000]
bootstrap: added binutils and split up functions

This commit adds the commands to build binutils in bootstrap-cross and
splits the build_generic function body into calls to setup_generic,
configure_generic, and compile_generic.

10 years agobootstrap-cross: now builds up to cloog-ppl
Michael D Labriola [Mon, 2 Aug 2010 02:21:28 +0000]
bootstrap-cross: now builds up to cloog-ppl

10 years agocloog-ppl: added source tarball and patch
Michael D Labriola [Mon, 2 Aug 2010 02:21:10 +0000]
cloog-ppl: added source tarball and patch

10 years agoppl: added source tarball and CLFS patch
Michael D Labriola [Mon, 2 Aug 2010 01:14:52 +0000]
ppl: added source tarball and CLFS patch

10 years agobootstrap-cross: now builds ppl
Michael D Labriola [Mon, 2 Aug 2010 01:12:31 +0000]
bootstrap-cross: now builds ppl

This commit also adds a block of code to functions to apply any patches
sitting in the packagedir after extracting a source tarball.

10 years agobootstrap-cross: now building gmp, mpfr, mpc
Michael D Labriola [Sun, 1 Aug 2010 22:41:39 +0000]
bootstrap-cross: now building gmp, mpfr, mpc

10 years agopackages: added gmp, mpfr, mpc source tarballs
Michael D Labriola [Sun, 1 Aug 2010 22:40:08 +0000]
packages: added gmp, mpfr, mpc source tarballs

10 years agobootstrap-cross: building file and ncurses
Michael D Labriola [Sun, 1 Aug 2010 21:17:55 +0000]
bootstrap-cross: building file and ncurses

This commit leaves off with us building linux_headers, file, and ncurses
using variables and functions sourced from utils/bootstrap-early/functions

Still have to go back and prune out bootstrap-early to use the new functions
file... although these files will probably all get renamed a few times still

10 years agopackages: added file and ncurses source tarballs
Michael D Labriola [Sun, 1 Aug 2010 21:17:04 +0000]
packages: added file and ncurses source tarballs

10 years agobootstrap-cross: installing linux headers
Michael D Labriola [Sun, 1 Aug 2010 19:06:11 +0000]
bootstrap-cross: installing linux headers

10 years agokernel: added as submodule
Michael D Labriola [Sun, 1 Aug 2010 18:43:10 +0000]
kernel: added as submodule

10 years agostarted fleshing out bootstrap-cross
Michael D Labriola [Sun, 1 Aug 2010 12:46:26 +0000]
started fleshing out bootstrap-cross

10 years agobootstrap-early: added special case for git
Michael D Labriola [Sun, 1 Aug 2010 00:36:06 +0000]
bootstrap-early: added special case for git

10 years agosrp: added v2.4.1 as submodule, v2
Michael D Labriola [Sat, 31 Jul 2010 18:26:50 +0000]
srp: added v2.4.1 as submodule, v2

10 years agoRevert "srp: added v2.4.1 as submodule"
Michael D Labriola [Sat, 31 Jul 2010 18:25:11 +0000]
Revert "srp: added v2.4.1 as submodule"

This reverts commit aebcb0113588a42ba4512cbb97938b1e3ff727d6.

10 years agobootstrap-early: added conditional autoreconf/configure code
Michael D Labriola [Sat, 31 Jul 2010 16:56:00 +0000]
bootstrap-early: added conditional autoreconf/configure code

10 years agobootstrap-early: added environment varaibles and autotools
Michael D Labriola [Sat, 31 Jul 2010 16:39:50 +0000]
bootstrap-early: added environment varaibles and autotools

10 years agopackages: added autoconf, automake, libtool source tarballs
Michael D Labriola [Sat, 31 Jul 2010 16:37:55 +0000]
packages: added autoconf, automake, libtool source tarballs

10 years agosrp: added v2.4.1 as submodule
Michael D Labriola [Sat, 31 Jul 2010 15:09:10 +0000]
srp: added v2.4.1 as submodule

10 years agogit: set to v1.7.2.1
Michael D Labriola [Sat, 31 Jul 2010 15:06:22 +0000]
git: set to v1.7.2.1

10 years agogit: added as submodule
Michael D Labriola [Sat, 31 Jul 2010 14:50:08 +0000]
git: added as submodule

10 years agopackages: added bison, e2fsprogs, python source tarballs
Michael D Labriola [Sat, 31 Jul 2010 14:39:27 +0000]
packages: added bison, e2fsprogs, python source tarballs

10 years agobootstrap-early: initial commit of build script
Michael D Labriola [Sat, 31 Jul 2010 14:38:54 +0000]
bootstrap-early: initial commit of build script

10 years agoadded more docs
Michael D Labriola [Sat, 31 Jul 2010 12:51:06 +0000]
added more docs

10 years agoflesing out docs
Michael D Labriola [Sun, 25 Jul 2010 20:47:00 +0000]
flesing out docs

10 years agoupdated docs
Michael D Labriola [Sun, 18 Jul 2010 17:11:11 +0000]
updated docs

10 years agoinitial commit
Michael D Labriola [Sun, 18 Jul 2010 13:57:09 +0000]
initial commit