aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-user-mode-linux
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-03-28 08:18:06 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-03-28 08:18:06 +0900
commiteef8b33657d4fcc73c90d9661ac9c088683a2341 (patch)
treea650810e29babb8c6f739d7127e8c003b5c411f7 /pbuilder-user-mode-linux
parentca927fa74277acb36184499f005310cc6a8e0eb4 (diff)
downloadpbuilder-eef8b33657d4fcc73c90d9661ac9c088683a2341.tar
pbuilder-eef8b33657d4fcc73c90d9661ac9c088683a2341.tar.gz
391915: Try to warn only if network configuration files are not found on host OS, not error out.
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}