log host-tools.sh @ 1582:6a8114c148d1

age author description
Sun, 17 Feb 2013 22:25:00 -0600 Rob Landley Lots of small improvements: check for toybox instead of busybox for host-tools $PATH adjustment, better manifest generation (with toybox in list), make package_cache function to find extracted source (so root-image.sh works when packages contains linux-git snapshot), fix more/record-commands.sh path adjustment.
Tue, 30 Oct 2012 19:55:35 -0500 Rob Landley Remove USE_ALT option, I have a better idea (upcoming patch).
Thu, 06 Sep 2012 05:11:25 -0500 Rob Landley Make busybox build by default, switch override knob to BUSYBOX=1 to use defconfig busybox, always use toybox for oneit, cleanup/fix record-commands logic.
Wed, 21 Mar 2012 17:47:20 -0500 Rob Landley Another attempt to make more/record-commands.sh and host-tools.sh play together.
Sun, 01 Jan 2012 05:04:32 -0600 Rob Landley Add ability to build toybox.
Sun, 22 May 2011 04:18:30 -0500 Rob Landley Combine set_titlebar and "echo ===" stuff into announce() function. Consistently output target/stage info, and yank redundant instances.
Thu, 21 Oct 2010 19:09:51 -0500 Rob Landley Update squashfs and kernel to current versions.
Tue, 24 Aug 2010 03:08:47 -0500 Rob Landley Remove toybox.
Tue, 22 Jun 2010 17:49:03 -0500 Rob Landley Add HOST_EXTRA. Using it is a horrible idea, please don't.
Sat, 19 Jun 2010 16:44:49 -0500 Rob Landley Lots of comment updates. Add a NO_HOST_TOOLS=1 config option, and a few "time" calls to stages that didn't have them. Put native-compiler.sh after root-filesystem.sh in build so it's slightly easier to document.
Sun, 06 Jun 2010 22:51:48 -0500 Rob Landley The work directory gets blanked each time so it's still not SMP safe, use $STAGE_DIR for the static probe instead.
Sun, 06 Jun 2010 12:01:23 -0500 Rob Landley Need to build a separate "hello" for each process, or buildall.sh dies with conflicts.
Tue, 25 May 2010 10:09:49 -0500 Rob Landley Test for static linking capability on the host, and complain if we need it but it isn't there.
Fri, 30 Apr 2010 09:07:36 -0500 Rob Landley Fix the workaround for Ubuntu's newly overcomplicated host toolchain to put the new symlink in the right directory.
Fri, 30 Apr 2010 09:03:06 -0500 Rob Landley Ubuntu 10.04 turned gcc into a perl script wrapper that calls gcc.real, so host-tools.sh has to copy that if it exists. Add some simple error checking the the host toolchain symlinking while we're at it.
Thu, 01 Apr 2010 02:39:54 -0500 Rob Landley Build zlib for squashfs, so we don't depend on the host having it.
Mon, 29 Mar 2010 07:48:57 -0500 Rob Landley Always make mke2fs, run-from-build.sh can't make hdb.img otherwise. 0.9.11
Thu, 18 Mar 2010 02:20:23 -0500 Rob Landley Comment tweak.
Sun, 13 Dec 2009 00:13:09 -0600 Rob Landley Have host-tools.sh only make e2fs or squashfs tools if we need them.
Wed, 02 Dec 2009 18:03:47 -0600 Rob Landley Fix e2fsprogs on uClibc build.
Tue, 01 Dec 2009 19:49:23 -0600 Rob Landley Split busybox and toybox builds, update toybox and linux package versions.
Sat, 28 Nov 2009 23:39:36 -0600 Rob Landley Remove old USE_COLOR code, superceded by set_titlebar.
Mon, 23 Nov 2009 21:58:49 -0600 Rob Landley Remove old RECORD_COMMANDS debris from host-tools.sh and simplify result (lots of white-noise from de-intenting the "else" case of an if/else), factor out wrap_path from sources/more/record-commands.sh, fix the "build host tools first, then wrap it afterwards" case.
Sat, 21 Nov 2009 04:27:58 -0600 Rob Landley Redo command recording: no longer RECORD_COMMMANDS config entry, now sources/more/record-commands.sh run to set up the wrapper (either before or after host-tools.sh). General cleanup and simplification of code this interacted with, plus clean up bit rot in the reporting.
Mon, 16 Nov 2009 01:45:56 -0600 Rob Landley Lots of comments.
Mon, 26 Oct 2009 06:07:05 -0500 Rob Landley Now that qemu 0.11.0 works, remove the "build a qemu snapshot" logic. QEMU goes back to being something the host has installed on it if you want to use it.
Wed, 14 Oct 2009 15:52:15 -0500 Rob Landley Factor out more common code: busybox and toybox builds.
Wed, 26 Aug 2009 02:37:57 -0500 Rob Landley Extended setupfor/cleanup to create binary package tarballs if the configure option BINARY_PACKAGE_TARBALLS is set. These tarballs extract into the current directory and add all the changed files installed by this package build, so you can pick and choose when assembling your own filesystem.
Sun, 23 Aug 2009 15:04:33 -0500 Rob Landley Consistently use STAGE_DIR as the output directory. (root-filesystem.sh already did, host-tools.sh was using $HOSTTOOLS, cross-compiler.sh was using $CROSS, and system-image.sh was using SYSIMAGE.)
Fri, 07 Aug 2009 23:52:55 -0500 Rob Landley Teach host-tools.sh to create multiple symlinks in fallback directories for ccache and distcc.
Fri, 31 Jul 2009 01:00:45 -0500 Rob Landley Fedora 11 hasn't got "which", so move the busybox build up and the host toolchain symlinks down to the end. Make sure toybox patch replaces busybox patch, and host toolchain ar replaces busybox ar.
Sun, 05 Jul 2009 17:50:44 -0500 Rob Landley Lots of changes to move buildall.sh functionality into build.sh.
Thu, 11 Jun 2009 05:42:51 -0500 Rob Landley Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Thu, 09 Apr 2009 23:53:05 -0500 Rob Landley Rename mini-native.sh to root-filesystem.sh, since that's what it builds.
Tue, 31 Mar 2009 06:40:41 -0500 Rob Landley Fix qemu build so it can find pc-bios directory.
Sun, 29 Mar 2009 15:53:03 -0500 Rob Landley More error checking.
Sat, 28 Mar 2009 02:29:27 -0500 Rob Landley The i386 version is "qemu" with no trailing dash, so symlink that too.
Fri, 27 Mar 2009 05:33:49 -0500 Rob Landley Add MANIFEST file to mini-native-$ARCH/usr/src.
Thu, 26 Mar 2009 04:37:56 -0500 Rob Landley Vladimir Dronnikov pointed out that building e2fsprogs under uClibc would need --disable-tls.
Wed, 25 Mar 2009 06:41:32 -0500 Rob Landley Fix qemu build and add sh4 -append patch.
Tue, 24 Mar 2009 21:30:37 -0500 Rob Landley Revert qemu ppc openbios to the version before the --nographic bug showed up (which was svn 6658). See http://lists.gnu.org/archive/html/qemu-devel/2009-03/msg01070.html for details.
Tue, 24 Mar 2009 21:23:15 -0500 Rob Landley Add qemu to host-tools.sh. If HOST_BUILD_EXTRA set, compile from source, otherwise symlink it from host. (Note that ppc --nographic and sh4 --append are currently broken in host version of qemu.)
Tue, 24 Mar 2009 19:36:07 -0500 Rob Landley Now that the 2.6.29 kernel is out with squashfs, add squashfs to host-tools.sh and system-image.sh.
Sat, 21 Mar 2009 22:56:15 -0500 Rob Landley Since gene2fs can't produce large images in a reasonable amount of time, make a 64 meg image and resize it if necessary. (This means the minimum image size is 64 megs, because gene2fs won't run unless you specify a size, but it knows right away if the size you gave it wasn't big enough. I don't understand this either.)
Tue, 17 Feb 2009 13:53:50 -0600 Rob Landley The new distcc version notices the host has the python binary, and assumes
Tue, 17 Feb 2009 03:13:47 -0600 Rob Landley The new distcc is dumb enough to use -Werror by default. Make it stop.
Tue, 10 Feb 2009 21:14:09 -0600 Rob Landley Some slight paranoia against multiple host-tools.sh runs that get interrupted in the middle. (Yeah, in general that's not guaranteed to work, but still...)
Tue, 03 Feb 2009 11:12:19 -0600 Rob Landley And genext2fs could suffer the same symlink loop problem with RECORD_COMMANDS, so don't symlink. (The point of host-tools.sh is to build what we can from source anyway, linking to anything but the host toolchain defeats the purpose.)
Tue, 03 Feb 2009 01:42:29 -0600 Rob Landley Jean Wolter pointed out that running RECORD_COMMANDS=1 twice could create circular symlinks. Hopefully fixed now, and some related cleanups/clarifications.
Sun, 01 Feb 2009 16:45:51 -0600 Rob Landley Minor cosmetic cleanup (don't warn about re-linking things that are expected to already be there), and don't build distccd if it's already in $PATH. (We need to put genext2fs in host/path because system-image.sh isn't using host's $PATH, but run-from-build.sh and friends do use host $PATH.)
Sun, 11 Jan 2009 14:24:22 -0600 Rob Landley Rename package-mini-native.sh to system-image.sh so the scripts and tarballs they create all have the same name.
Thu, 08 Jan 2009 00:05:53 -0600 Rob Landley Fix a couple brown paper bag bugs (oops) and general cleanups.
Tue, 02 Dec 2008 02:09:11 -0600 Rob Landley build-all-target.sh needs toybox netcat to pass data into/out of qemu, so host-tools.sh should install that too.
Sun, 30 Nov 2008 06:20:35 -0600 Rob Landley Move genext2fs build to host-tools, remove dead code, add comments.
Sun, 30 Nov 2008 01:36:13 -0600 Rob Landley Without USE_TOYBOX we now just install patch, so check for the right thing.
Sun, 30 Nov 2008 00:59:27 -0600 Rob Landley Move include.sh to sources/include.sh. End user doesn't call it directly, shouldn't be at top level.
Sat, 29 Nov 2008 20:40:01 -0600 Rob Landley Now that UML is toast, the build no longer needs oneit.
Mon, 17 Nov 2008 03:01:53 -0600 Rob Landley If distccd is installed on the host, link it into build/host so we don't rebuild it on a second host-tools.sh run with the trimmed $PATH.
Fri, 14 Nov 2008 19:20:24 -0600 Rob Landley Move color selection into ./config. (The default colors don't look great on a white background.)
Tue, 04 Nov 2008 22:51:33 -0600 Rob Landley Busybox defconfig has become useless, so switch busybox to build via allyesconfig minus symbols to be disabled.