Skip to content
This repository has been archived by the owner on May 27, 2023. It is now read-only.
/ fakechroot Public archive
forked from dex4er/fakechroot

gives a fake chroot environment

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

JasonYangShadow/fakechroot

 
 

Repository files navigation

Build Status

What is it?

fakechroot runs a command in an environment were is additional possibility to use chroot(8) command without root privileges. This is useful for allowing users to create own chrooted environment with possibility to install another packages without need for root privileges.

This is a customized fakechroot for LPMX

We add many features to the original fakechroot, including fake union file system implementation, dynamically privileges management and more.

Generally, to make it easy to compile everything, there are build scripts HERE for different distros to build all dependencies required by LPMX Project.

If you would like to compile everything from scratch and clearly understand why you need to build it, you might need at least the following dependencies and patient:

  1. git
  2. autoconf(some old distros will fail to compile source code because of older autoconf(should be >2.64), in this case, please download newer autoconf source code HERE and compile it locally)
  3. automake
  4. make
  5. gcc
  6. g++
  7. libmemcached-dev(also may need to download source code HERE to compile locally)
  8. cmake
  9. libtool

Fakechroot build script will automatically check the building tools version, if any prerequisites are not satisfied, try downloading and compiling their source code locally.

If you could directly install msgpack-c via your package manager, it will be good and you don't need cmake. For example, for arch linux, one could directly install msgpack-c package from AUR by executing 'yaourt -S msgpack-c'. For other distros, such as ubuntu, you may need to compile msgpack-c from source by following the steps:

git clone https://github.com/msgpack/msgpack-c.git
cd msgpack-c
cmake .
make
sudo make install

After these steps, you could start compiling fakechroot.

git clone https://github.com/JasonYangShadow/fakechroot
cd fakechroot
./autogen.sh
./configure
make

Done! Congratulations!

Dependencies required by LPMX are libfakechroot, libfakeroot, faked-sys, libevent, libmemcached, libsasl2, memcached

About

gives a fake chroot environment

Resources

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 82.8%
  • Shell 11.5%
  • M4 3.5%
  • Makefile 0.9%
  • Perl 0.6%
  • Ruby 0.6%
  • Other 0.1%