From 848954e729dde63ff770a0a494087aea1de4401c Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 7 May 2021 15:21:40 +0200 Subject: [PATCH] fakechroot: Add version 2.20.1 plus some patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [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 --- fakechroot.be0 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 fakechroot.be0 diff --git a/fakechroot.be0 b/fakechroot.be0 new file mode 100755 index 000000000..71144a4d9 --- /dev/null +++ b/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 +#}