diff options
author | dancer <dancer> | 2004-11-16 23:54:46 +0000 |
---|---|---|
committer | dancer <dancer> | 2004-11-16 23:54:46 +0000 |
commit | 07864c34b7654149177a6c0deab15bf75bf4b0aa (patch) | |
tree | 523a86b3a4f0371eaa9254b8e0d9089ad2e53ee5 /pdebuild-user-mode-linux | |
parent | af1a897961ea3b514d4e08065cbdafe3100011d5 (diff) | |
download | pbuilder-07864c34b7654149177a6c0deab15bf75bf4b0aa.tar pbuilder-07864c34b7654149177a6c0deab15bf75bf4b0aa.tar.gz |
+ * Add example script from Jamin W Collins for short-cut way of specifying distribution. (closes: #255165)
+ * Warn if build-depends is not satisfied when invoking dpkg-buildpackage -S (closes: #266349)
Diffstat (limited to 'pdebuild-user-mode-linux')
-rw-r--r-- | pdebuild-user-mode-linux | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pdebuild-user-mode-linux b/pdebuild-user-mode-linux index e26b0bd..c3fd815 100644 --- a/pdebuild-user-mode-linux +++ b/pdebuild-user-mode-linux @@ -34,6 +34,7 @@ PKG_SOURCENAME=$(dpkg-parsechangelog|sed -n 's/^Source: //p') PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p') ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH) + if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then if [ ! readlink -f .. ]; then echo "E: Cannot find .. dir from PWD=$(pwd)" @@ -41,6 +42,9 @@ if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then fi pbuilder-user-mode-linux execute "$@" --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" else + if [ ! dpkg-checkbuilddeps -B ]; then + echo "W: Unmet build-dependency in source" + fi dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS pbuilder-user-mode-linux build "$@" --buildresult "${UML_BUILDRESULT}" --debbuildopts "${DEBBUILDOPTS}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc fi |