aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-01-31 09:08:16 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-01-31 09:08:16 +0900
commit0c6d27ed782a9cef2f66869e949b43a9b3c00e25 (patch)
tree624e97a13b4405ff5f92c141389158897eea1321
parent32b292e4068352b99d4130393c2ef149bd49de30 (diff)
downloadpbuilder-0c6d27ed782a9cef2f66869e949b43a9b3c00e25.tar
pbuilder-0c6d27ed782a9cef2f66869e949b43a9b3c00e25.tar.gz
pbuilder-satisfydepends with i386/amd64 cross-arch support
-rw-r--r--ChangeLog4
-rw-r--r--debian/changelog6
-rw-r--r--pbuilder-satisfydepends2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ded1b30..4f3bd8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-31 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder-satisfydepends: run dpkg-architecture inside chroot.
+
2007-01-30 Junichi Uekawa <dancer@debian.org>
* pbuilder-user-mode-linux: Mattia Dongili: "As rootstrap allows
diff --git a/debian/changelog b/debian/changelog
index 7ee9b36..aac6a52 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,7 +7,11 @@ pbuilder (0.164) UNRELEASED; urgency=low
* Bug fix: "pbuilder-uml: allow pbuilder-user-mode-linux to mount
/lib/modules on the host", thanks to Mattia Dongili (Closes: #406845).
- -- Junichi Uekawa <dancer@debian.org> Tue, 30 Jan 2007 23:35:56 +0900
+ [ Junichi Uekawa ]
+ * pbuilder-satisfydepends: run dpkg-architecture inside chroot. This
+ allows cross-building for i386/amd64
+
+ -- Junichi Uekawa <dancer@debian.org> Wed, 31 Jan 2007 09:04:06 +0900
pbuilder (0.163) unstable; urgency=low
diff --git a/pbuilder-satisfydepends b/pbuilder-satisfydepends
index ebc5754..1962706 100644
--- a/pbuilder-satisfydepends
+++ b/pbuilder-satisfydepends
@@ -86,7 +86,7 @@ function checkbuilddep_provides () {
function checkbuilddep_internal () {
# Use this function to fulfill the dependency (almost)
- local ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
+ local ARCH=$($CHROOTEXEC dpkg-architecture -qDEB_HOST_ARCH)
local INSTALLPKG
local INSTALLPKGLIST
local INSTALLPKGMULTI