[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#606539: buildcross: Please add mirror and suite option for xapt



Package: buildcross
Version: 0.0.8
Severity: wishlist
Tags: patch

Hi,

If user uses xapt, current code does not use MIRROR and SUITE.
This patch change to use MIRROR and SUITE in xapt.

Could you check and apply this patch?

Best regards,
  Nobuhiro
From 0621428093d2926d818bdb91cb1802410fa630ca Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Date: Fri, 10 Dec 2010 10:55:09 +0900
Subject: [PATCH] Add mirror and suite option for xapt

If user use xapt, current code does not use MIRROR and SUITE.
This patch change to use MIRROR and SUITE in xapt.

---
 functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/functions b/functions
index 93fd28e..16ae84b 100644
--- a/functions
+++ b/functions
@@ -415,7 +415,7 @@ make-cross-package () {
 		${ROOTCMD} dpkg -i ${_crossfile}
 	;;
 	xapt)
-		${ROOTCMD} xapt -a ${DEBARCH} -k $1
+		${ROOTCMD} xapt -a ${DEBARCH} -M ${MIRROR} -S ${SUITE} -k $1
 		cp -Rp /var/lib/xapt/output/*.deb $REPOPATH/incoming
 		${ROOTCMD} xapt -c 
 	;;
-- 
1.7.2.3

Attachment: signature.asc
Description: Digital signature


Reply to: