diff options
author | dancer <dancer> | 2003-09-18 21:28:31 +0000 |
---|---|---|
committer | dancer <dancer> | 2003-09-18 21:28:31 +0000 |
commit | 91273a8fc9d9af252286a860af7b7e95dacbd9b7 (patch) | |
tree | 8070299a21fc1e6b899f0e01582bbfaeb909cfdc /pbuilder-user-mode-linux | |
parent | 63661df3676c0accda02bbee8f209594c627a7c6 (diff) | |
download | pbuilder-91273a8fc9d9af252286a860af7b7e95dacbd9b7.tar pbuilder-91273a8fc9d9af252286a860af7b7e95dacbd9b7.tar.gz |
+ * Makefile (clean): remove testsuite/testimage, it's 1G.
+ (full-check): add new target to run the test program.
+
+ * pbuilder-user-mode-linux (UML_EXITCODE): check for rootstrap.conf in the
+ current directory.
+
+ * testsuite/run-test.sh (PBUILDER_UML): a test script to run pbuilder-uml and see if it's working.
+
+ * testsuite/rootstrap.conf (interface): testsuite config
+
Diffstat (limited to 'pbuilder-user-mode-linux')
-rwxr-xr-x | pbuilder-user-mode-linux | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux index ee0b2b0..33f6a06 100755 --- a/pbuilder-user-mode-linux +++ b/pbuilder-user-mode-linux @@ -258,12 +258,15 @@ case "${OPERATION}" in operate_uml execute ;; create) - if [ ! -d ~/.pbuilder-user-mode-linux ]; then - mkdir ~/.pbuilder-user-mode-linux - fi - cd ~/.pbuilder-user-mode-linux if [ -n "${UML_DISTRIBUTION}" ]; then - sed "s/dist=.*/dist=${UML_DISTRIBUTION}/" /etc/rootstrap/rootstrap.conf > rootstrap.conf + if [ ! -d ~/.pbuilder-user-mode-linux ]; then + mkdir ~/.pbuilder-user-mode-linux + fi + sed "s/dist=.*/dist=${UML_DISTRIBUTION}/" /etc/rootstrap/rootstrap.conf > ~/.pbuilder-user-mode-linux/rootstrap.conf + if [ -f rootstrap.conf ]; then + sed "s/dist=.*/dist=${UML_DISTRIBUTION}/" rootstrap.conf > ~/.pbuilder-user-mode-linux/rootstrap.conf + fi + cd ~/.pbuilder-user-mode-linux fi rootstrap -s 1000 ${PBUILDER_UML_IMAGE} operate_uml update |