aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-user-mode-linux
diff options
context:
space:
mode:
authordancer <dancer>2004-06-19 02:29:31 +0000
committerdancer <dancer>2004-06-19 02:29:31 +0000
commit2fa678ee2fdbd241d872c2d8703e2dc0484ce804 (patch)
tree20e54f73399bcea88ac797fc67bf56b27ac68329 /pbuilder-user-mode-linux
parentc7f7507652785f1f206fdab6a091c487363f061f (diff)
downloadpbuilder-2fa678ee2fdbd241d872c2d8703e2dc0484ce804.tar
pbuilder-2fa678ee2fdbd241d872c2d8703e2dc0484ce804.tar.gz
+pbuilder (0.107) unstable; urgency=low
+ + * Document that pdebuild accepts pbuilder options as pdebuild + options but ignores them, in the manual page. (Closes: #255005). + * Feature request, '--uml-login-nocow' : "pbuilder-uml: How about a &quot;muckwith&quot; option, login + without cowdevice", from Paul Hampson (Closes: #251482). + * Feature: Do not hardcodes rootstrap image size argument", + thanks to Mike Markley (Closes: #252800). + * UML: Fix error message when --buildresult specified wrong directory + + -- Junichi Uekawa <dancer@debian.org> Sat, 19 Jun 2004 11:27:10 +0900 +
Diffstat (limited to 'pbuilder-user-mode-linux')
-rwxr-xr-xpbuilder-user-mode-linux21
1 files changed, 15 insertions, 6 deletions
diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux
index 60cf87d..14547b5 100755
--- a/pbuilder-user-mode-linux
+++ b/pbuilder-user-mode-linux
@@ -150,6 +150,7 @@ OPERATION="$1"
UML_EXTRAOPT=
UML_DEBUGMODE=
UML_EXECUTE_EXTRAOPT=
+UML_LOGIN_NOCOW=
shift;
while [ -n "$1" ] ; do
@@ -201,6 +202,10 @@ while [ -n "$1" ] ; do
UML_DISTRIBUTION="$2";
shift; shift;
;;
+ --uml-login-nocow)
+ UML_LOGIN_NOCOW=yes;
+ shift;
+ ;;
#things that can be passed through without options
--override-config|--binary-arch)
UML_EXTRAOPT="${UML_EXTRAOPT} $1"
@@ -218,7 +223,7 @@ while [ -n "$1" ] ; do
if [ -d "$2" ]; then
UML_BUILDRESULT=$(readlink -f "$2")
else
- echo "E: Directory $d does not exist" >&2
+ echo "E: Directory $2 does not exist" >&2
exit 1
fi
shift; shift;;
@@ -226,7 +231,7 @@ while [ -n "$1" ] ; do
if [ -d "$2" ]; then
BUILDPLACE=$(readlink -f "$2")
else
- echo "E: Directory $d does not exist" >&2
+ echo "E: Directory $2 does not exist" >&2
exit 1
fi
shift; shift;;
@@ -267,8 +272,12 @@ case "${OPERATION}" in
operate_uml update
;;
login)
- usecow
- EXTRACLEANUP=cleancow
+ if [ "${UML_LOGIN_NOCOW}" = "yes" ]; then
+ echo " -> Not using COW filesystem for login session, modifications to this session will persist"
+ else
+ usecow
+ EXTRACLEANUP=cleancow
+ fi
operate_uml login
;;
execute)
@@ -276,7 +285,7 @@ case "${OPERATION}" in
EXTRACLEANUP=cleancow
shift;
UML_EXECUTE_EXTRAOPT="${UML_EXECUTE_EXTRAOPT} $@"
- operate_uml execute
+ operate_uml execute
;;
create)
if [ -n "${UML_DISTRIBUTION}" ]; then
@@ -289,7 +298,7 @@ case "${OPERATION}" in
fi
cd ~/.pbuilder-user-mode-linux
fi
- rootstrap -s 1000 ${PBUILDER_UML_IMAGE}
+ rootstrap -s ${ROOTSTRAP_IMAGESIZE:=1000} ${PBUILDER_UML_IMAGE}
operate_uml update
;;
*)