Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Jul 30, 2015
Commits on Jul 29, 2015
Commits on Jul 24, 2015
  1. @jcjordyn130

    arch-chroot: fixup default shell in usage

    jcjordyn130 authored committed
    69081c9 changed  the default to /bin/bash.
Commits on Jul 4, 2015
Commits on Jun 30, 2015
  1. Thou shalt use /bin/bash

Commits on Feb 15, 2015
  1. prepare v15

Commits on Jan 26, 2015
  1. arch-chroot: handle /etc/resolv.conf as a symlink

    This is probably going to lead to somewhere in /run, but we may as well
    support a symlink to anywhere, as long as it isn't a nested symlink.
Commits on Dec 26, 2014
  1. genfstab: make -p default behavior, add -P as inverse

    This should be the default, as you generally don't want to include
    pseudofs mounts in your /etc/fstab.
Commits on Dec 17, 2014
Commits on Dec 16, 2014
  1. rename chroot setup-related functions

    make it more obvious that these are really related functions.
Commits on Dec 15, 2014
  1. fix valid_number_of_base

    function execution halts entirely on a invalid base, so we never
    actually get to our 'return 1'. I'm not sure how our expected failures
    ever actually worked, but it's quite plain to see that:
      $ a=$(( 2#3 )); echo hi
    Never echos "hi". Use a subshell in valid_number_of_base so that we can
    properly "trap" execution, and return a meaningful result.
  2. explicitly exit from TEST_exit

    This prevents some odd interactions with the EXIT trap, and our last
    command's status is seemingly not preserved for the script's real exit.
    Add a BASH override to the Makefile as well, as it might be useful for
    debugging or testing against other versions of bash.
Commits on Dec 12, 2014
  1. prepare v14

  2. run the chroot in a new PID namespace

    This automatically tears down any processes remaining in the chroot
    when we exit. I'm looking at you, gnupg.
Commits on Oct 30, 2014
  1. Merge pull request #21 from abraithwaite/patch-1

    Remove redundant variable declaration
  2. @abraithwaite

    Remove redundant variable declaration

    abraithwaite authored
    Unless I'm mistaken, newroot is assigned later, and never referenced in between:
    (( $# )) || die "No root directory specified"
    newroot=$1; shift
Commits on Apr 6, 2014
  1. genfstab: add vfat quirk

  2. genfstab: add option quirks for f2fs

  3. add option twiddling functions

    these will be used in genfstab
Commits on Feb 6, 2014
  1. common: be explict about in_array return values

    Not doing this can lead to false positives when checking for existence
    in empty arrays.
Commits on Feb 5, 2014
  1. prepare v13

Commits on Jan 26, 2014
  1. README: fix typo

Commits on Dec 9, 2013
  1. genfstab: fix deleted file parsing

    backslashes in single quotes don't need escaping. We need to match the
    literal string \040deleted.
Commits on Dec 8, 2013
  1. common: fix errors in valid_number_of_base

    Instead of trying to do bit twiddling on what might not even be a
    number, just try to cast the subject to the target base.
Commits on Nov 29, 2013
  1. prepare v12

  2. common: ignore errors from efivarfs mount failures

    The existence of /sys/firmware/efi/efivars only indicates that we've
    booted the kernel in EFI mode. It does not guarantee that the same
    kernel has support for efivarfs. Since this isn't critical, don't fail
    the whole api mount.
Commits on Nov 15, 2013
  1. common: quote conditional for efivar mount

    Prevents failures when the chroot base contains whitespace.
Commits on Nov 14, 2013
  1. common: introduce mount_conditionally

    This is potentially evil, but we're using hand crafted input to eval
    which should be safe. Use this to bind mount the chroot dir if it isn't
    already a mount point.
Something went wrong with that request. Please try again.