log sources/functions.sh @ 1812:acaa88463c0c draft

age author description
Thu, 12 Nov 2015 07:55:05 -0600 Rob Landley Add CROSS_COMPILER_PATH and CC_PREFIX knobs. draft
Sun, 06 Sep 2015 21:25:56 -0500 Rob Landley More verbose output for filesystem image creation. draft
Sun, 22 Feb 2015 16:53:37 -0600 Rob Landley add NO_CLEANUP=temp to delete build/temp-$ARCH but not output directory. draft
Fri, 20 Feb 2015 13:13:36 -0600 Rob Landley Don't add /dev/console to the native-compiler squashfs. draft
Fri, 20 Feb 2015 13:12:45 -0600 Rob Landley Switch from bz2 to gz tarball output. draft
Fri, 06 Feb 2015 01:51:54 -0600 Rob Landley Giant redo to put simple-root-filesystem in initmpfs. draft
Thu, 03 Oct 2013 15:06:01 -0500 Guenter Roeck Fix ext2/ext3 build failures
Mon, 05 Aug 2013 22:58:06 -0500 Rob Landley Accept cpio or initramfs as synonyms for root filesystem generation.
Wed, 03 Jul 2013 22:51:41 -0500 Rob Landley Move image creation logic into sources/functions.sh so we can create cpio and squashfs in the same build.
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.
Thu, 01 Nov 2012 23:35:09 -0500 Rob Landley Add ability to check out repositories in packages, IGNORE_REPOS to build from tarballs anyway, a FAQ entry on it, and more/repo.sh to set up/update some of the common ones.
Tue, 30 Oct 2012 19:55:35 -0500 Rob Landley Remove USE_ALT option, I have a better idea (upcoming patch).
Sun, 15 Apr 2012 00:44:14 -0500 Rob Landley Bug fix: DEBUG_PACKAGE shouldn't pollute NO_CLEANUP.
Thu, 20 Oct 2011 02:07:10 -0500 Rob Landley Switch USE_UNSTABLE to USE_ALT and download.sh's UNSTABLE= to ALT= so naming is consistent with the alt- prefixes on packages and patches.
Mon, 27 Jun 2011 06:40:25 -0500 Rob Landley Add base_architecture, make base architectures and extra targets work, and move i586 virtio stuff to new i686-kvm target.
Sun, 26 Jun 2011 20:09:37 -0500 Rob Landley Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Sun, 26 Jun 2011 17:44:02 -0500 Rob Landley Replace read_arch_dir with load_target, which understands that sources/targets/$TARGET can be a file or a directory.
Fri, 17 Jun 2011 13:00:17 -0500 Rob Landley Fix BINARY_PACKAGE_TARBALLS generation: some packages produce no output (zlib used to build dropbear for example), and thus check for an empty list before trying to make a tarball.
Fri, 17 Jun 2011 12:42:12 -0500 Rob Landley Remove FWL debris and rename do_rename to do_manifest while we're at it. (Based on prompting from Alessio Bogani).
Fri, 17 Jun 2011 12:15:34 +0200 Alessio Igor Bogani Update MANIFEST file
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.
Sat, 25 Sep 2010 14:10:23 -0500 Rob Landley Break out download_functions.sh into their own file.
Tue, 24 Aug 2010 03:08:47 -0500 Rob Landley Remove toybox.
Fri, 13 Aug 2010 15:41:03 -0500 Rob Landley Fix case where build/packages/alt-package exists but tarball doesn't, and EXTRACT_ALL=1 ./download.sh gets called.
Tue, 10 Aug 2010 11:40:42 -0500 Rob Landley In the presence of multiple tarballs, use the newest one, so downloading a new version and extracting it before running cleanup_oldfiles should work now.
Tue, 10 Aug 2010 00:04:30 -0500 Rob Landley Add DEBUG_PACKAGE config variable to build just one package with CPUS=1.
Sat, 31 Jul 2010 21:49:01 -0500 Rob Landley Make extract_package directly callable, and do so where necessary.
Fri, 30 Jul 2010 13:54:10 -0500 Rob Landley Add blank_workdir and make setupfor and cleanup use it. This means you can run an entire build.sh with NO_CLEANUP=1 on.
Sat, 10 Jul 2010 00:05:50 -0500 Rob Landley Fix patching so sha1-for-source.txt only gets updated _after_ patch successfully applies (race with signal delivery), and make dienow output go to stderr instead of stdout.
Tue, 06 Jul 2010 12:10:26 -0500 Rob Landley Better error message.
Fri, 02 Jul 2010 23:38:31 -0500 Rob Landley Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Thu, 10 Jun 2010 21:16:14 -0500 Rob Landley Cosmetic tweak, say "Extracting" instead of "Building" during EXTRACT_ALL.
Tue, 08 Jun 2010 01:37:51 -0500 Rob Landley Suppress error messages from manfiest generation.
Sat, 05 Jun 2010 00:10:12 -0500 Rob Landley Blank $STAGE_DIR before adjusting $PATH so building the cross-compiler stage doesn't get confused if it dies during the uClibc++ build and gets re-run (adjusting the path to point to the cross compiler we're about to delete and rebuild). Make NO_CLEANUP explicit in system-image.sh so it can rebuild zImage and squashfs independently by default.
Sat, 05 Jun 2010 00:08:28 -0500 Rob Landley Add ALLOW_PATCH_FAILURE config switch to continue despite failed patches.
Fri, 28 May 2010 00:44:32 -0500 Rob Landley Move wait into cleanup_oldfiles.
Fri, 21 May 2010 22:26:25 -0500 Rob Landley Cleanup "FROM_ARCH" mess. Rename FROM_ARCH->HOST_ARCH, make stage script responsible for setting HOST_ARCH (not includes.sh). Also, remove HOST_UTILS variable, only build uClibc utils for non-simple compilers and bypass uClibc's (weird) makefile for the utils directory.
Sun, 16 May 2010 18:25:39 -0500 Rob Landley Don't build anything statically in host-tools.sh, glibc is broken.
Sun, 16 May 2010 02:26:03 -0500 Rob Landley Make BUILD_STATIC take comma separated list of packages, or "all" or "none". Default behavior should remain the same.
Sat, 15 May 2010 12:41:14 -0500 Rob Landley Convert unstable() to is_in_list() taking the list to check as the second argument.
Sat, 15 May 2010 12:12:39 -0500 Rob Landley Remove unnecessary "function" label from shell functions.
Wed, 05 May 2010 22:57:05 -0500 Rob Landley Minor cleanup, collate the === announce lines.
Thu, 08 Apr 2010 23:09:13 -0500 Rob Landley Delete empty build/temp-* directories when we're done with them.
Fri, 26 Mar 2010 13:02:14 -0500 Rob Landley Bugfix by David Seikel: don't append .tar.bz2 twice to BINARY_PACKAGE_TARBALLS.
Fri, 26 Mar 2010 04:57:11 -0500 Rob Landley Allow existing extracted source directry to be patched if necessary, even if tarball doesn't exist. (This lets a git bisect happen in situ under build/packages.)
Sun, 14 Mar 2010 01:18:27 -0600 Rob Landley Another bug Wolfgang Denk reported: make BUILD_STATIC=none actually work.
Mon, 01 Mar 2010 02:21:49 -0600 Rob Landley Add FORK=1 support to download.sh, and work around bash's $$ refusing to give an actual unique $PID for subshells by groveling around in /proc to find something usable.
Mon, 01 Mar 2010 01:03:04 -0600 Rob Landley Make extract use unique temporary directories so it's parallelizable.
Wed, 24 Feb 2010 10:31:10 -0600 Rob Landley Rename SKIP_STAGE_TARBALLS to NO_STAGE_TARBALLS (for consistency), and make system-image.sh use it instead of doing it by hand.
Wed, 24 Feb 2010 10:08:38 -0600 Rob Landley Add export_if_blank and make lots of build paths overrideable.
Fri, 05 Feb 2010 17:47:59 -0600 Rob Landley Allow patchdir to be overridden.
Tue, 02 Feb 2010 19:37:11 -0600 Rob Landley Fix thinko in download_from.
Thu, 28 Jan 2010 13:58:18 -0600 Rob Landley More code cleanups (rename try_checksum to confirm_checksum).
Sun, 24 Jan 2010 01:19:54 -0600 Rob Landley Rename try_download() to download_from().
Sun, 03 Jan 2010 17:04:39 -0600 Rob Landley Largeish refactoring and cleanup of compiler build:
Tue, 22 Dec 2009 12:14:03 -0600 Rob Landley Oops, local changes I didn't mean to check in leaked. Fix it.
Sun, 20 Dec 2009 19:56:21 -0600 Rob Landley Actually remove functions that got moved to utility_functions.sh.
Sat, 19 Dec 2009 00:51:16 -0600 Rob Landley Teach build_section to run "*.build" sections (with setupfor/cleanup called for them) as well as "*.sh" sections which do their own setup/cleanup.
Fri, 18 Dec 2009 03:36:12 -0600 Rob Landley Cosmetic tweak, have build_section spit out a === line with the sources/sections it's running.
Fri, 04 Dec 2009 12:02:47 -0600 Rob Landley Break up sources/functions.sh starting with some of the more obviously independent ones.
Thu, 03 Dec 2009 01:18:39 -0600 Rob Landley Don't actually replace cross-compiler with cross-static, when you build both use $PATH to select which one to use.
Thu, 26 Nov 2009 14:53:29 -0600 Rob Landley Fix path_search to actually use the pattern argument.
Thu, 26 Nov 2009 02:37:36 -0600 Rob Landley Genericize search path traversal logic with pattern and command to apply to each file found.
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.
Sun, 22 Nov 2009 03:56:04 -0600 Rob Landley Fix hw-target builds so prerequisites build if they don't already exist.
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.
Sun, 11 Oct 2009 00:58:34 -0500 Mark Miller Use the ARCH_NAME rather than ARCH when making stage directories. The only place we don't run check_for_base_arch is system-image, and here we want this to differ because of the kernels.
Fri, 09 Oct 2009 22:42:35 -0500 Rob Landley Comment tweaks.
Sun, 04 Oct 2009 21:53:36 -0500 Rob Landley Cosmetic tweaks. (Make title bar changing callable from elsewhere, make run-emulator.sh kill distccd quietly.)
Thu, 17 Sep 2009 04:06:02 -0500 Rob Landley Factor out and unify binutils, gcc, and ccwrap builds.
Thu, 10 Sep 2009 22:20:58 -0500 Rob Landley Eliminate a stupid warning that GNU find produces. (Works fine either way, but it's noisy.)
Wed, 02 Sep 2009 23:37:16 -0500 Rob Landley Rename build/sources to build/packages to reduce confusion (since sources/packages got moved up to just packages, and this contains the extracted contents of that). And use $SOURCES instead of $TOP/sources in a few places.
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.
Sat, 08 Aug 2009 21:27:08 -0500 Rob Landley Allow target settings to specify BUILD_STATIC.
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.
Sun, 05 Jul 2009 23:41:01 -0500 Rob Landley Teach buildall.sh to use new build.sh infrastructure, and replace doforklog with orthogonal maybe_fork and maybe_quiet functions.
Sun, 05 Jul 2009 17:50:44 -0500 Rob Landley Lots of changes to move buildall.sh functionality into build.sh.
Fri, 03 Jul 2009 05:29:11 -0500 Rob Landley Add killtree and make stuff use it. Update smoketest-all.sh to use doforklog, allowing FORK=1 to run stuff in parallel.
Thu, 02 Jul 2009 16:23:39 -0500 Rob Landley Update timestamp on freshly downloaded files so cleanup doesn't delete them.
Thu, 02 Jul 2009 14:12:25 -0500 Rob Landley Move doforklog to sources/functions.sh.
Wed, 01 Jul 2009 18:53:00 -0500 Rob Landley Remove wait4background, the shell has a builtin "wait" and we don't care about non-zero wait counts anymore.
Tue, 30 Jun 2009 20:16:59 -0500 Rob Landley Keep unstable tarballs around even when you do a build that doesn't use 'em.
Tue, 30 Jun 2009 03:05:04 -0500 Rob Landley Use the git magic tarball comment field to get the version number of unstable git packages for MANIFEST.
Sat, 27 Jun 2009 23:55:55 -0500 Rob Landley Add option to disable title bar display updates.
Wed, 24 Jun 2009 13:02:03 -0500 Rob Landley Blank ARCH is a bad signal because host-tools.sh has that, so use a separate EXTRACT_ONLY variable.
Tue, 23 Jun 2009 23:18:19 -0500 Rob Landley Improve version detection for MANIFEST file. Still doesn't detect version for git archive output because git hasn't got any equivalent of mercurial's .hg_archive.txt file.
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.
Mon, 11 May 2009 01:05:52 -0500 Rob Landley Cosmetic improvement, have === bars show stage name.
Tue, 28 Apr 2009 04:08:11 -0500 Rob Landley Make MANIFEST generation less brittle.
Sun, 26 Apr 2009 14:19:21 -0500 Rob Landley Make "wait4background" with no arguments wait for all background tasks.
Wed, 01 Apr 2009 04:11:44 -0500 Rob Landley Teach build not to rebuild base architecture toolchains. Factor out some common code while there.
Tue, 31 Mar 2009 14:43:11 -0500 Rob Landley Allow UNSTABLE=squashfs to download cvs snapshot with 4.0 support (but still not equivalent to genext2fs -D or gen_cpio_init's text file input, for creating /dev/console without root access).
Mon, 30 Mar 2009 03:26:45 -0500 Rob Landley Fix hg 665 so it actually works. (Make setupfor work when build/sources/package exists but there's no packages/package-*.tar* file.)
Sun, 29 Mar 2009 15:51:24 -0500 Rob Landley Support PREFERRED_MIRROR for USE_UNSTABLE.
Sat, 28 Mar 2009 16:01:54 -0500 Rob Landley Allow build to run with build/sources but not source tarballs. (Makes build-static-toolchains.sh slightly easier.)
Sat, 28 Mar 2009 02:34:13 -0500 Rob Landley Allow FWL revision number to be overridden in MANIFEST (for releases).
Tue, 24 Mar 2009 17:01:41 -0500 Rob Landley Add download RENAME support and make squashfs use it to give a packagename-version filename like all the others.
Thu, 05 Mar 2009 12:24:53 -0600 Rob Landley Cosmetic tweak.
Mon, 16 Feb 2009 15:32:29 -0600 Rob Landley Add SNAPSHOT_SYMLINK option so extracted source packages can live in a different filesystem than the build directory.
Mon, 19 Jan 2009 22:56:42 -0600 Rob Landley Add slightly more debugging/status info to download.
Tue, 13 Jan 2009 16:42:46 -0600 Rob Landley Move mirror list into download.sh.
Mon, 12 Jan 2009 02:47:32 -0600 Rob Landley More changes for initramfs and hw- targets with a base architecture.
Wed, 07 Jan 2009 05:20:29 -0600 Rob Landley Add NO_CLEANUP option to config.
Fri, 12 Dec 2008 20:50:19 -0600 Rob Landley Provide more info on error exit.
Wed, 10 Dec 2008 05:36:41 -0600 Rob Landley Add ldd/readelf/ldconfig to cross and native toolchains, and teach build to fallback to stable miniconfig when miniconfig-alt is absent.
Fri, 21 Nov 2008 23:46:21 -0600 Rob Landley Add README.footer to end of README. (Rename README.txt->README)
Wed, 12 Nov 2008 23:23:03 -0600 Rob Landley Teach extract that uClibc++ patches don't need to be checked against uClibc.
Mon, 10 Nov 2008 01:32:08 -0600 Rob Landley Move README generation to functions.sh, clean up build-all-target.sh option parsing.
Sat, 08 Nov 2008 02:29:36 -0600 Rob Landley Don't apply uClibc++ patches to uClibc.
Wed, 05 Nov 2008 00:55:28 -0600 Rob Landley Upgrade build wrapper, teach wait4background to skip certain processes (such as ssh) mentioned in optional second argument.
Mon, 03 Nov 2008 22:25:16 -0600 Rob Landley Display tweak. (When the build window is minimized, all it shows is "Building...")
Sat, 01 Nov 2008 21:53:23 -0500 Rob Landley Add getversion() and wait4background(), useful to build wrappers.
Fri, 31 Oct 2008 03:47:49 -0500 Rob Landley Slightly improved display.
Wed, 29 Oct 2008 21:05:50 -0500 Rob Landley Split function definitions out from include.sh.