2010-03-21 | Paul Boddie | file changeset files shortlog | 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. |
paul@22 | 1 | #!/bin/bash |
paul@22 | 2 | # Usage: user-enter |
paul@22 | 3 | |
paul@22 | 4 | # Configuration: |
paul@22 | 5 | if [ -e userinstall-defaults ]; then |
paul@22 | 6 | source userinstall-defaults |
paul@22 | 7 | elif [ -e /etc/default/userinstall ]; then |
paul@22 | 8 | source /etc/default/userinstall |
paul@22 | 9 | else |
paul@22 | 10 | echo "No defaults found for userinstall." |
paul@22 | 11 | exit 1 |
paul@22 | 12 | fi |
paul@22 | 13 | |
paul@22 | 14 | fakeroot fakechroot chroot $PACKAGEROOT |