Permalink
Commits on Aug 13, 2015
Commits on Feb 13, 2015
Commits on Apr 19, 2013
Commits on Jan 16, 2013
Commits on Dec 18, 2012
Commits on Aug 18, 2012
Commits on Oct 21, 2010
  1. Merge commit 'liraz/master'

    alonswartz committed Oct 21, 2010
Commits on Oct 20, 2010
  1. print "chroot execute" to stderr

    rational: this makes it easier to use the standard output from a chroot command
    without having to filter this out.
    Liraz Siri committed Oct 20, 2010
  2. added 'status' to mysql upstart workaround

    rational:
        - required when using the depreciated call: /etc/init.d/mysql stop
          as it checks for mysql status via upstart before attempting to
          stop mysql
    alonswartz committed Oct 20, 2010
Commits on Aug 4, 2010
Commits on Jul 29, 2010
  1. mysql upstart workaround

    The problem?
    
    https://wiki.ubuntu.com/LucidLynx/ReleaseNotes
    
    """Upstart jobs cannot be run in a chroot:
    
    Upstart jobs cannot be started in a chroot because upstart acts as a
    service supervisor, and processes within the chroot are unable to
    communicate with the upstart running outside of the chroot (430224).
    This will cause some packages that have been converted to use upstart
    jobs instead of init scripts to fail to upgrade within a chroot. Users
    are advised to configure their chroots with /sbin/initctl pointing to
    /bin/true, with the following commands run within the chroot:
    
    dpkg-divert --local --rename --add /sbin/initctl
    ln -s /bin/true /sbin/initctl"""
    
    https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/430224
    
    In other words, starting an upstart job inside a chroot actually starts
    it outside the chroot. Upstart uses dbus to communicate with processes,
    and dbus uses unix sockets in the abstract namespace, which transcends
    the filesystem, and thus, chroot.
    Liraz Siri committed Jul 29, 2010
  2. added (tklpatch) to shell prompt

    rational: make it easier to tell that you're in a chroot
    Liraz Siri committed Jul 29, 2010
  3. moved resolv.conf handling to tklpatch-chroot

    rational: that way it works when you're messing with stuff manually
    Liraz Siri committed Jul 29, 2010
Commits on Mar 25, 2010
Commits on Feb 16, 2010
  1. release notes for v0.93

    alonswartz committed Feb 16, 2010
  2. support applying patch in running system: tklpatch-apply / patch.tar.gz

    - required fixes:
        - support rootfs as "/" (slashchop)
        - don't apply resolv.conf workaround
        - don't mount proc/devpts
    alonswartz committed Feb 16, 2010
Commits on Feb 10, 2010
  1. release notes for v0.92

    alonswartz committed Feb 10, 2010
  2. prepare-cdroot cdroot-dir is now optional

    rational:
        - support more use cases (e.g., using tklpatch to package a rootfs that
          was not extracted from an iso using tklpatch-extractiso)
        - if cdroot-dir is not provided, a minimal isolinux.cfg will be created
          to automatically boot the image
    alonswartz committed Feb 10, 2010
Commits on Feb 9, 2010
  1. copy advanced conf hooks directory (not only script) to rootfs prior …

    …to execution
    
    rational:
        - provides ability to include generic helper functions or scripts (DRY)
        - for example:
            - functions file that includes code snippets common to several hooks
            - modularization, cleaner implementation, code re-use
    
    conf/functions
    --------------
    
    install()
    {
        apt-get update
        DEBIAN_FRONTEND=noninteractive apt-get -y \
            -o DPkg::Options::=--force-confdef \
            -o DPkg::Options::=--force-confold \
            install $@
    }
    
    conf/pre-overlay
    ----------------
    
    source $(dirname $0)/functions
    install hello
    alonswartz committed Feb 9, 2010
  2. bugfix: execute simple conf_script if executable AND file

    rational:
        - bash expression -x will return True if directory
    
    - made code more readable using conf_dir variable
    - added chopslash to clean paths passed by user when running manually
    alonswartz committed Feb 9, 2010
Commits on Feb 8, 2010
  1. added support for configuration hooks (advanced usage)

    Advanced usage (configuration hooks):
    
        The configuration script 'conf' can be replaced with a conf directory
        containing the following configuration script hooks to be executed in
        the chroot (rootfs):
    
            conf/pre-debs       # executed before apply-debs
            conf/post-debs      # executed after apply-debs
            conf/pre-overlay    # executed before apply-overlay
            conf/post-overlay   # executed after apply-overlay
    
    This is a backwards compatible change, and is optional.
    alonswartz committed Feb 8, 2010
Commits on Feb 3, 2010
  1. reverted "install debs after conf script"

    commit a42944b
    commit 5585fe7
    
    rational:
        - installing debs/ after conf doesn't allow for package customization
    alonswartz committed Feb 3, 2010
  2. install debs after conf script

    rational: that way we can install dependencies
    Liraz Siri committed Feb 3, 2010
Commits on Jan 16, 2010
  1. release notes for v0.91

    alonswartz committed Jan 16, 2010
Commits on Jan 11, 2010
  1. bugfix: added robust cleanup code to tklpatch-extract-iso

    rational: we don't want to leave around stale mounts
    Liraz Siri committed Jan 11, 2010
  2. added argument sanity checking to tklpatch

    Liraz Siri committed Jan 11, 2010
  3. added tklpatch-example example

    rational: make it even simpler to get started with tklpatch
    Liraz Siri committed Jan 11, 2010
  4. bugfix: set trap to clean up after chroot

    Liraz Siri committed Jan 11, 2010
  5. added descriptive embedded documentation

    Liraz Siri committed Jan 11, 2010
  6. make it easier to edit embedded usage documentation

    Liraz Siri committed Jan 11, 2010