Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pmenzel committed May 7, 2021
1 parent 07a3f25 commit 848954e
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions fakechroot.be0
@@ -0,0 +1,39 @@
#!/usr/bin/env beesh

# BEE_VERSION fakechroot-2.20.1_13_ge7c1f3a-0

# https://github.com/dex4er/fakechroot
# https://github.com/lipnitsk/fakechroot/commit/e7c1f3a446e594a4d0cce5f5d499c9439ce1d5c5
# https://github.com/lipnitsk/fakechroot/archive/e7c1f3a446e594a4d0cce5f5d499c9439ce1d5c5.zip
SRCURL[0]="https://beehive.molgen.mpg.de/473d9e856389f9ba0f494e2a9c138e88/fakechroot-${PKGFULLVERSION}.zip"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

mee_patch() {
bee_patch "${@}"
start_cmd autoreconf -fi
}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}

0 comments on commit 848954e

Please sign in to comment.