From 88d22ba86f0ec516af2dc0cbd2a1f209c41de40c Mon Sep 17 00:00:00 2001 From: dancer Date: Sun, 18 Jan 2004 23:31:03 +0000 Subject: +2004-01-19 Junichi Uekawa + + * 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. + --- pdebuild-internal | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pdebuild-internal') 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} -- cgit v1.2.3