2010-03-21 | Paul Boddie | raw annotate files changeset graph | Split various initialisation steps into separate files. Added repository configuration assistance and a script for entering the chroot. Adopted distinct USERINSTALL variables which can be tested against the DISTRIB variables for configuration purposes. Added UML instance initialisation and configuration. |
1 #!/bin/bash 2 # Usage: user-path <path-inside-package-root> 3 4 # Configuration: 5 if [ -e userinstall-defaults ]; then 6 source userinstall-defaults 7 elif [ -e /etc/default/userinstall ]; then 8 source /etc/default/userinstall 9 else 10 echo "No defaults found for userinstall." 11 exit 1 12 fi 13 14 echo $PACKAGEROOT/$1