diff options
author | dancer <dancer> | 2003-08-22 12:38:01 +0000 |
---|---|---|
committer | dancer <dancer> | 2003-08-22 12:38:01 +0000 |
commit | 3243103fb5974ab9e4933fe70d6895a479a0617f (patch) | |
tree | 9d0f8813efbe1ee50fa3024ff034492b45f82caf /pbuilder-user-mode-linux | |
parent | 2d91cebc1ef1cd68b99a48e98e5419a4f6db380e (diff) | |
download | pbuilder-3243103fb5974ab9e4933fe70d6895a479a0617f.tar pbuilder-3243103fb5974ab9e4933fe70d6895a479a0617f.tar.gz |
0.83
+
+ * pbuilder-user-mode-linux: error out when COW file cannot be created.
+ (UML_DEBUGMODE): add --buildplace option.
+
+ * pbuilder-user-mode-linux.1: update manual page since some
+ information are missing.
+ Add information on --buildplace option.
+
Diffstat (limited to 'pbuilder-user-mode-linux')
-rwxr-xr-x | pbuilder-user-mode-linux | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux index 5e80149..ee0b2b0 100755 --- a/pbuilder-user-mode-linux +++ b/pbuilder-user-mode-linux @@ -37,6 +37,10 @@ done function usecow () { PBUILDER_COWFILENAME="${BUILDPLACE}/$$.cow" PBUILDER_COW="${PBUILDER_COWFILENAME}," + if ! touch "${PBUILDER_COWFILENAME}"; then + echo "E: Cannot write-access to the COW file, check buildplace" + exit 1; + fi rm -f "${PBUILDER_COWFILENAME}" } @@ -208,7 +212,10 @@ while [ -n "$1" ] ; do --buildresult) # ignore buildresult UML_BUILDRESULT=$(readlink -f "$2") - shift;shift;; + shift; shift;; + --buildplace) + BUILDPLACE=$(readlink -f "$2") + shift; shift;; --logfile) exec > "$2"; exec 2>&1 |