Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 27, 2012
  1. @rwmjones
Commits on Mar 30, 2012
  1. @rwmjones
  2. @rwmjones
  3. @rwmjones
  4. @rwmjones

    febootstrap 3.14.

    rwmjones authored
  5. @rwmjones
  6. @rwmjones
Commits on Feb 29, 2012
  1. @rwmjones
  2. @rwmjones

    Check that directory path is not too long (found by Coverity).

    rwmjones authored
    Since we copy dirname + "/" + path to a fixed buffer of size PATH_MAX,
    we need to check that the buffer cannot overflow.
Commits on Feb 13, 2012
  1. @hillu

    Eliminate duplicate entries from package list

    hillu authored hillu committed
    "apt-cache depends --recurse -i ..." on Ubuntu 12.04 (apt
    0.8.16~exp12ubuntu3) outputs duplicate entries which broke the code
    that checks whether all package files have been successfully
    downloaded. I am not sure if this is a bug in apt.
Commits on Feb 9, 2012
  1. @rwmjones

    Version 3.13.

    rwmjones authored
  2. @rwmjones

    Update to latest gnulib.

    rwmjones authored
  3. @rwmjones
Commits on Jan 10, 2012
  1. helper: fix no-op add_link function

    Jim Meyering authored
    * helper/ext2cpio.c (add_link): Don't leak just-allocated buffer.
    Instead, link it into links_head list.
  2. helper: plug two small leaks

    Jim Meyering authored
    * helper/ext2initrd.c (read_module_deps): Don't leak filename.
    (ext2_make_initrd): Don't leak "outfile".
    * helper/utils.c (load_file): Don't leak a file pointer.
Commits on Dec 17, 2011
  1. @rwmjones
Commits on Nov 8, 2011
  1. @rwmjones

    Fix Python code when _bestPackageFromList returns None.

    rwmjones authored
    Yet Another Bug caused by lack of strong typing and nullable types in
    this sad excuse for a programming language.
Commits on Nov 4, 2011
  1. @rwmjones

    Add TODO file.

    rwmjones authored
Commits on Oct 27, 2011
  1. @rwmjones

    debian: Quote parameters to grep.

    rwmjones authored
    This updates commit daa0a62.
Commits on Oct 21, 2011
  1. @hillu @rwmjones
Commits on Oct 18, 2011
  1. @rwmjones

    Version 3.12.

    rwmjones authored
  2. @rwmjones

    ubuntu: Remove '*:i386' (multiarch?) packages.

    rwmjones authored
    This is a hack.  Unclear if this is really needed or what it does, but
    it fixes Ubuntu 11.10 builds for me.
  3. @rwmjones
  4. @rwmjones

    debian: Fix Debian package handler when --use-installed not given.

    rwmjones authored
    If there is no --use-installed option, then it didn't download all the
    packages (only the ones not installed).  But this failed later when it
    tried to unpack the packages that hadn't been downloaded.
    Thus download all the packages if !use_installed.
  5. @rwmjones

    debian: Get installed package list in the ph_init handler.

    rwmjones authored
    Use the Debian ph_init handler to get the list of installed
  6. @rwmjones

    Don't pass use_installed to every package handler function.

    rwmjones authored
    use_installed is a global variable (defined in febootstrap_cmdline.mli)
    so there's not much point in passing it around to every function that
    needs it.  This commit removes the optional argument in favour of just
    using the global variable in each package handler.
    However we still need a place where we can bail if the --use-installed
    flag is used for package handlers which don't support this yet.
    Thus add a ph_init function is called after the right package handler
    has been detected but before it is used.  This is a convenient place
    to put the --use-installed checking and any other initialization that
    is required.
Commits on Oct 14, 2011
  1. @rwmjones

    debian: Don't always try to run dpkg-query command.

    rwmjones authored
    Delay calling this until after debian_detect() has been called and
    we've decided to use the Debian backend.  Otherwise this breaks
    non-dpkg backends.
    This fixes commit b8cea46.
  2. @rwmjones

    Version 3.11.

    rwmjones authored
  3. @rwmjones
  4. @esnolte @rwmjones

    Find package dependencies fix for pacman.

    esnolte authored rwmjones committed
    Since the pactree utility only accepts one package name, we must iterate
    through the packages rather than specify them all on the command line.
    To avoid errors when febootstrap is run on a system with outdated packages,
    use ls and awk on the febootstrap package cache directory rather than using
    the host's outdated pacman database.
  5. @esnolte @rwmjones

    Replace ArchLinux module detection with generic method.

    esnolte authored rwmjones committed
    ArchLinux used to keep its kernel in /boot/vmlinuz26 but, with
    Linux 3.0, now uses /boot/vmlinuz-linux.  Instead of just changing the
    kernel filename and module directory, this change removes the ArchLinux
    specific code, lets febootstrap find a kernel, and then computes the
    module directory from the version string extracted from the actual kernel
  6. @esnolte @rwmjones

    helper/init: Handle compressed modules transparently.

    esnolte authored rwmjones committed
    Detect libz and, if present, define HAS_LIBZ and add -lz to Makefile's
    LIBS variable.
    Add entry on optional zlib package requirement.
    Detect both uncompressed and gzipped kernel modules.
    Some Linux distros (like ArchLinux) use gzipped kernel modules with
    filenames like ext2.ko.gz.  This change modifies the filename pattern
    from (e.g.) "ext2.ko" to "ext2.ko*".
    When available, use libz to read the module.
    The init_module system call requires uncompressed kernel module bytes.
    On some systems (e.g. ArchLinux) the modules are gzipped on disk.
    Libz is used to read and uncompress gzipped disk files (*.ko.gz) or
    transparently read uncompressed modules (*.ko).
  7. @esnolte @rwmjones

    Checkout gnulib if the directory is empty.

    esnolte authored rwmjones committed
Commits on Oct 6, 2011
  1. @rwmjones
Commits on Sep 24, 2011
  1. @rwmjones

    Use ext2fs_close2 API if available to avoid unnecessary fsync.

    rwmjones authored
    This saves over 5 seconds during the slow path construction of the
    The ext2fs_close2 API is present in the e2fsprogs 'next' branch and
    will be in a later e2fsprogs release (thanks Ted Ts'o).
Something went wrong with that request. Please try again.