Skip to content

Add debootstrap 1.0.124 and fakechroot 2.20.1 #2137

Merged
merged 2 commits into from
May 7, 2021

Commits on May 7, 2021

  1. debootstrap: Add version 1.0.124

    This allows to easily install Debian or Ubuntu into a directory, and
    later on into a VM image avoiding using the installer images.
    
        sudo debootstrap --arch=amd64 sid /scratch/local2/debian-sid
    
    For Ubuntu, get the archive keyring from somewhere
    (`/usr/share/keyrings/` on some installation or the WWW), and pass it:
    
        sudo debootstrap --arch=amd64 --keyring /scratch/tmp/ubuntu-archive-keyring.gpg hirsute /scratch/local2/ubuntu-hirsute
    
    You can also use systemd-nspawn or chroot to work in these directories.
    pmenzel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    07a3f25 View commit details
    Browse the repository at this point in the history
  2. fakechroot: Add version 2.20.1 plus some patches

    [Web site][https://github.com/dex4er/fakechroot]
    
    It does not build with glibc 2.33, so use [merge/pull request 85 (glibc
    2.33+ compatibility)](https://github.com/dex4er/fakechroot/pull/85)
      fixing this.
    
        $ chroot / whoami
        chroot: cannot change root directory to '/': Operation not permitted
        $ fakechroot chroot / whoami
        pmenzel
        $ fakechroot fakeroot chroot / whoami
        root
    
    It’s *not* working yet with debootstrap, fakechroot, fakeroot, as there
    are incompatibilies between the glibc versions. Debian sid/unstable
    still has glibc 2.31 and Ubuntu 21.04 (Hirsute) also seems to be
    incompatible.
    
        $ fakechroot fakeroot chroot "/scratch/local2/ubuntu-hirsute" /bin/true
        fakechroot: bindtextdomain: bindtextdomain: invalid mode for dlopen():
        Invalid argument
    pmenzel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    848954e View commit details
    Browse the repository at this point in the history