1.1 --- a/README.txt Fri Jul 25 00:54:42 2008 +0200
1.2 +++ b/README.txt Sun Jul 27 19:30:09 2008 +0200
1.3 @@ -19,11 +19,15 @@
1.4 Copyright and licence information can be found in the docs directory - see
1.5 docs/COPYING.txt and docs/gpl-3.0.txt for more information.
1.6
1.7 +Thanks to Piotr Roszatycki, the maintainer of fakechroot, for helpfully fixing
1.8 +system call coverage in that utility in order to support cross-distribution
1.9 +bootstrapping.
1.10 +
1.11 Dependencies
1.12 ------------
1.13
1.14 fakeroot Tested with 1.5.10ubuntu2
1.15 -fakechroot Tested with 2.5-1.1
1.16 +fakechroot 2.8 or later required
1.17 debootstrap Tested with 0.3.3.2ubuntu3 on Ubuntu Hoary 5.04, 1.0.7~feisty1
1.18 on Ubuntu Hoary 7.04
1.19
1.20 @@ -160,14 +164,3 @@
1.21 export LD_LIBRARY_PATH=`./user-path /usr/lib`
1.22 export PYTHONPATH=`./user-path /usr/lib/python2.5/site-packages/`
1.23 export PYTHONPATH=${PYTHONPATH}:`./user-path /var/lib/python-support/python2.5`
1.24 -
1.25 -Notes on Foreign Distribution Package Management
1.26 -------------------------------------------------
1.27 -
1.28 -It appears potentially impossible to create a package management "sandbox" for
1.29 -other distributions than the one in use, at least with the fakeroot and
1.30 -fakechroot tools employed by user-setup. However, as the root user it is
1.31 -possible to create such a sandbox and to run programs inside it, just like a
1.32 -normal "chroot jail". To create the sandbox, run the following command:
1.33 -
1.34 -user-setup-as-root
2.1 --- a/packages/ubuntu-feisty/userinstall/debian/control Fri Jul 25 00:54:42 2008 +0200
2.2 +++ b/packages/ubuntu-feisty/userinstall/debian/control Sun Jul 27 19:30:09 2008 +0200
2.3 @@ -7,7 +7,7 @@
2.4
2.5 Package: userinstall
2.6 Architecture: all
2.7 -Depends: fakechroot, fakeroot, debootstrap, dpkg, apt
2.8 +Depends: fakechroot (>= 2.8), fakeroot, debootstrap, dpkg, apt
2.9 Description: The userinstall package provides tools for (non-root) users to set
2.10 up a personal package repository and to install and administer packages within
2.11 that repository.
3.1 --- a/user-setup-as-root Fri Jul 25 00:54:42 2008 +0200
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,28 +0,0 @@
3.4 -#!/bin/bash
3.5 -# Usage: user-setup [ <mirror> ]
3.6 -
3.7 -# Configuration:
3.8 -if [ -e userinstall-defaults ]; then
3.9 - source userinstall-defaults
3.10 -elif [ -e /etc/default/userinstall ]; then
3.11 - source /etc/default/userinstall
3.12 -else
3.13 - echo "No defaults found for userinstall."
3.14 - exit 1
3.15 -fi
3.16 -
3.17 -if [[ $1 == "--help" ]]; then
3.18 - echo "Usage: user-setup [ <mirror> ]"
3.19 - echo
3.20 - echo "Examples:"
3.21 - echo
3.22 - echo "user-setup"
3.23 - echo "user-setup file:///tmp/$DISTNAME/"
3.24 - exit 1
3.25 -fi
3.26 -
3.27 -debootstrap $DISTNAME $PACKAGEROOT $1
3.28 -
3.29 -# If the fakeroot/fakechroot things were the only problem, we would run the
3.30 -# following command and use the libraries as usual.
3.31 -#chown -R $USER.$USER $PACKAGEROOT