2005-05-15 Eric Sandall * Fixed the pushd TMP_DIR/sorcery if TMP_DIR/sorcery already existed (thanks to Daniel Willmann ) 2005-05-09 Eric Sandall * Version 0.7 * Call distribution_packages from chroot_rebuild * *_packages should cast into the chroot, not the current system * Now backs up /etc/sorcery (in case this is run on a SMGL system) * Copy over our grimoires for the CHROOT_DIR * Use modify_config (after sourcing /etc/sorcery/config) to modify Sorcery's config files (thanks to Andrew Stitt) * Don't call SORCERY for now, just try to get some sane defaults (this is so that no user interaction is required after calling the script) * Set defaults for findutils, grep, net-tools, coreutils, ncurses, shadow, wget, gettext, perl, kbd, gnupg, and cpio as well * Set kbd as the default for CONSOLE-TOOLS (was turning it off, opposite of what I intended) * Set local/config:ARCHITECTURE to CHROOT_ARCH * arch_default will try to set CHROOT_ARCH for your machine * in chroot_rebuild we need to build coreutils and tar twice (thanks to Andrew Stitt) * Updated what this script does * Cleanup sorcery_install so it separately checks for host and chroot Sorcery and never bother to try and run `sorcery update` 2005-05-05 Eric Sandall * Version 0.6 * Remove CHROOT_DIR/etc/sorcery/local/roots after the copy of /etc/sorcery 2005-05-02 Eric Sandall * Version 0.5 * Make chroot_rebuild actually work (only one command per chroot call) 2005-04-28 Eric Sandall * Version 0.4 * Added sourcemage_packages :) * Do some `mount -o binds` so we have access to /dev and proc and don't need to re-download any sources * Assign our variables so that they can be overridden on the command line * In sorcery_setup we need to re-initialize the CHROOT_DIR/etc/sorcery/roots so the chroot doesn't think it needs to build another chroot (thanks Andrew Stitt :)) 2005-04-27 Eric Sandall * Version 0.3 * Corrected usage of grep in gentoo_packages() gentoo_packages now drops version and section information so that we now have just the package name Map Gentoo packages to SMGL packages Remove already installed packages from the Gentoo package list Cast remaining packages in the Gentoo package list * mapping.gentoo: Add preliminary Gentoo mapping * mapping.format: Added to explain how to use mapping. * Added some checks to sanity_check 2005-04-21 Eric Sandall * Version 0.2 * Reworded functions so they are