aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-user-mode-linux
diff options
context:
space:
mode:
Diffstat (limited to 'pdebuild-user-mode-linux')
-rw-r--r--pdebuild-user-mode-linux4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdebuild-user-mode-linux b/pdebuild-user-mode-linux
index 8b86131..48660d6 100644
--- a/pdebuild-user-mode-linux
+++ b/pdebuild-user-mode-linux
@@ -33,9 +33,9 @@ PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p')
ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH)
if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then
- pbuilder-user-mode-linux execute "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD}
+ pbuilder-user-mode-linux execute "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}"
else
- dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} || true
+ dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS
pbuilder-user-mode-linux build "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
fi