aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-internal
diff options
context:
space:
mode:
authordancer <dancer>2004-01-18 23:31:03 +0000
committerdancer <dancer>2004-01-18 23:31:03 +0000
commit88d22ba86f0ec516af2dc0cbd2a1f209c41de40c (patch)
treeb61ffda904dabb7dfa8006680c915c3d039cca15 /pdebuild-internal
parentaf3bb651833765c2070d80695c87bb31dc6a36b8 (diff)
downloadpbuilder-88d22ba86f0ec516af2dc0cbd2a1f209c41de40c.tar
pbuilder-88d22ba86f0ec516af2dc0cbd2a1f209c41de40c.tar.gz
+2004-01-19 Junichi Uekawa <dancer@debian.org>
+ + * pdebuild-user-mode-linux.1: document + + * pdebuild.1: document + + * pdebuild-internal: add support for DEBBUILDOPTS + + * pdebuild-user-mode-linux: add support for DEBBUILDOPTS + remove '|| true ' from dpkg-source invocation + + * pdebuild: --debbuildopts support. + + * examples/execute_installtest.sh (KILLPID): add killing routine; + change it to reboot, to get a reboot done. +
Diffstat (limited to 'pdebuild-internal')
-rw-r--r--pdebuild-internal9
1 files changed, 7 insertions, 2 deletions
diff --git a/pdebuild-internal b/pdebuild-internal
index bc91c01..1fb0019 100644
--- a/pdebuild-internal
+++ b/pdebuild-internal
@@ -1,6 +1,6 @@
#! /bin/bash
# pbuilder-internal -- personal Debian package builder, internal routine
-# Copyright (C) 2003 Junichi Uekawa
+# Copyright (C) 2003,2004 Junichi Uekawa
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -34,7 +34,12 @@ apt-get install -y pbuilder
# I'm not going to have the same LOGNAME as outside, I'm root.
export LOGNAME=root
+if [ "$2" = "--debbuildopts" ]; then
+ echo "Setting DEBBUILDOPTS=$3"
+ DEBBUILDOPTS="$3"
+fi
+
cd "$1"
export PBCURRENTCOMMANDLINEOPERATION="pdebuild"
/usr/lib/pbuilder/pbuilder-satisfydepends
-/usr/bin/dpkg-buildpackage -us -uc
+/usr/bin/dpkg-buildpackage -us -uc ${DEBBUILDOPTS}