Skip to content

Add debootstrap 1.0.124 and fakechroot 2.20.1 #2137

Merged
merged 2 commits into from May 7, 2021

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented May 7, 2021

Nice little tools to make installing Debian based virtual machines images, for example for video conferencing software, easier.

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.
[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 pmenzel merged commit cd4517f into master May 7, 2021
@pmenzel pmenzel deleted the add-debootstrap-1.0.124-and-fakechroot-2.20.1 branch May 7, 2021 14:26
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant