# HG changeset patch # User Paul Boddie # Date 1217179809 -7200 # Node ID fc43b3535b2fda39fd01e8b02442365ddc0af6e0 # Parent 2c2664e38199c3fbe3e041d31d4424f343f82a33 Updated the documentation and dependencies for the fixed fakechroot version, removing the now-redundant user-setup-as-root script. diff -r 2c2664e38199 -r fc43b3535b2f README.txt --- a/README.txt Fri Jul 25 00:54:42 2008 +0200 +++ b/README.txt Sun Jul 27 19:30:09 2008 +0200 @@ -19,11 +19,15 @@ Copyright and licence information can be found in the docs directory - see docs/COPYING.txt and docs/gpl-3.0.txt for more information. +Thanks to Piotr Roszatycki, the maintainer of fakechroot, for helpfully fixing +system call coverage in that utility in order to support cross-distribution +bootstrapping. + Dependencies ------------ fakeroot Tested with 1.5.10ubuntu2 -fakechroot Tested with 2.5-1.1 +fakechroot 2.8 or later required debootstrap Tested with 0.3.3.2ubuntu3 on Ubuntu Hoary 5.04, 1.0.7~feisty1 on Ubuntu Hoary 7.04 @@ -160,14 +164,3 @@ export LD_LIBRARY_PATH=`./user-path /usr/lib` export PYTHONPATH=`./user-path /usr/lib/python2.5/site-packages/` export PYTHONPATH=${PYTHONPATH}:`./user-path /var/lib/python-support/python2.5` - -Notes on Foreign Distribution Package Management ------------------------------------------------- - -It appears potentially impossible to create a package management "sandbox" for -other distributions than the one in use, at least with the fakeroot and -fakechroot tools employed by user-setup. However, as the root user it is -possible to create such a sandbox and to run programs inside it, just like a -normal "chroot jail". To create the sandbox, run the following command: - -user-setup-as-root diff -r 2c2664e38199 -r fc43b3535b2f packages/ubuntu-feisty/userinstall/debian/control --- a/packages/ubuntu-feisty/userinstall/debian/control Fri Jul 25 00:54:42 2008 +0200 +++ b/packages/ubuntu-feisty/userinstall/debian/control Sun Jul 27 19:30:09 2008 +0200 @@ -7,7 +7,7 @@ Package: userinstall Architecture: all -Depends: fakechroot, fakeroot, debootstrap, dpkg, apt +Depends: fakechroot (>= 2.8), fakeroot, debootstrap, dpkg, apt Description: The userinstall package provides tools for (non-root) users to set up a personal package repository and to install and administer packages within that repository. diff -r 2c2664e38199 -r fc43b3535b2f user-setup-as-root --- a/user-setup-as-root Fri Jul 25 00:54:42 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -#!/bin/bash -# Usage: user-setup [ ] - -# Configuration: -if [ -e userinstall-defaults ]; then - source userinstall-defaults -elif [ -e /etc/default/userinstall ]; then - source /etc/default/userinstall -else - echo "No defaults found for userinstall." - exit 1 -fi - -if [[ $1 == "--help" ]]; then - echo "Usage: user-setup [ ]" - echo - echo "Examples:" - echo - echo "user-setup" - echo "user-setup file:///tmp/$DISTNAME/" - exit 1 -fi - -debootstrap $DISTNAME $PACKAGEROOT $1 - -# If the fakeroot/fakechroot things were the only problem, we would run the -# following command and use the libraries as usual. -#chown -R $USER.$USER $PACKAGEROOT