aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-user-mode-linux
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-user-mode-linux')
-rwxr-xr-xpbuilder-user-mode-linux9
1 files changed, 9 insertions, 0 deletions
diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux
index 96f3d0d..debd38b 100755
--- a/pbuilder-user-mode-linux
+++ b/pbuilder-user-mode-linux
@@ -58,6 +58,11 @@ function operate_uml () {
cat <<EOF > ${INSIDE_PBUILDER}
#! /bin/bash
+
+###
+### BEGIN CODE EXECUTED INSIDE User-mode-linux
+###
+
${UML_DEBUGMODE}
mount -t proc /proc /proc
@@ -145,6 +150,10 @@ fi
umount /dev
umount ${UML_CHROOT_MOUNTPOINT}
/sbin/halt -d -f
+
+###
+### END CODE EXECUTED INSIDE User-mode-linux
+###
EOF
chmod a+x ${INSIDE_PBUILDER}