diff options
author | dancer <dancer> | 2003-02-13 08:51:36 +0000 |
---|---|---|
committer | dancer <dancer> | 2003-02-13 08:51:36 +0000 |
commit | 609105c1b19b92a526751f84264c79b87878411d (patch) | |
tree | 4106abfb445510657b0f6a560193339a8b98cf8a /pbuilder | |
parent | 9bbc9cb948a45ca4e58f7988c33d6a69bba0fbb2 (diff) | |
download | pbuilder-609105c1b19b92a526751f84264c79b87878411d.tar pbuilder-609105c1b19b92a526751f84264c79b87878411d.tar.gz |
+2003-02-13 Junichi Uekawa <dancer@debian.org>
+
+ * Documentation/pbuilder-doc.xml: document an example script to
+ start up ssh inside pbuilder-uml.
+
+ * pbuilder-checkparams: support execute option.
+
+ * Documentation/pbuilder-doc.xml: document pbuilder-uml more,
+ and execute command.
+
+ * pbuilder-modules: update copyright statement.
+ document "execute"
+
+ * pbuilder-user-mode-linux.1: document "execute" command
+
+ * pbuilder-user-mode-linux: implement execute command.
+
+ * pbuilder.8: document "execute"
+
+ * pbuilder: "execute" command.
+
Diffstat (limited to 'pbuilder')
-rwxr-xr-x | pbuilder | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -45,6 +45,22 @@ File extracted to: $BUILDPLACE " chroot "$BUILDPLACE" bin/bash ;; + execute) + # try to execute arbitrary program. + shift + . /usr/lib/pbuilder/pbuilder-checkparams + EXECPROGRAM="$1" + if [ ! -f "${EXECPROGRAM}" ]; then + echo "Command line parameter [$EXECPROGRAM] does not exist" >&2 + exit 1; + fi; + extractbuildplace + trap umountproc_cleanbuildplace exit + RUNNAME="$BUILDPLACE/run" + cat "$EXECPROGRAM" > "$RUNNAME" + chmod a+x "$RUNNAME" + chroot "$BUILDPLACE" /run + ;; *) . /usr/lib/pbuilder/pbuilder-modules showhelp |