Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[PATCH 2/3] Use DEBOOTSTRAP_SCRIPT, BASE_INCLUDE and BASE_EXCLUDE variables to calculate the base packages set

From: Otavio Salvador <otavio(at)ossystems.com.br>
Date: Tue Aug 07 2007 - 20:15:21 EDT


From: Otavio Salvador <otavio@ossystems.com.br>

While doing the $(BDIR)/rawlist we need to use the DEBOOTSTRAP_SCRIPT, BASE_INCLUDE and BASE_EXCLUDE variables to better support CDDs.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

---

 Makefile         |   11 +++++++++--
 debian/changelog |    2 ++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index aba0b81..593c1d4 100755

--- a/Makefile
+++ b/Makefile @@ -284,8 +284,15 @@ $(BDIR)/rawlist: $(Q)if [ "$(SOURCEONLY)"x != "yes"x ] ; then \ if [ _$(INSTALLER_CD) != _1 ]; then \ for ARCH in $(ARCHES_NOSRC); do \ - debootstrap --arch $$ARCH --print-debs $(CODENAME) $(TDIR)/debootstrap.tmp file:$(MIRROR) 2>/dev/null \ - | tr ' ' '\n' >>$(BDIR)/rawlist; \ + debootstrap --arch $$ARCH \ + --print-debs \ + --include=`cat $$BASE_INCLUDE | tr "\n" "," | sed 's!,$$!!g'` \ + --exclude=`cat $$BASE_EXCLUDE | tr "\n" "," | sed 's!,$$!!g'` \ + $(CODENAME) \ + $(TDIR)/debootstrap.tmp \ + file:$(MIRROR) \ + $(DEBOOTSTRAP_SCRIPT) 2>/dev/null \ + | tr ' ' '\n' >>$(BDIR)/rawlist; \ rm -rf $(TDIR)/debootstrap.tmp; \ done; \ fi; \ diff --git a/debian/changelog b/debian/changelog index 411694b..68f9411 100644
--- a/debian/changelog
+++ b/debian/changelog @@ -60,6 +60,8 @@ debian-cd (3.0.3) UNRELEASED; urgency=low [ Otavio Salvador ] * Fix extranonfree support to be backward compatible with previous behaviour (default to false) + * Use DEBOOTSTRAP_SCRIPT, BASE_INCLUDE and BASE_EXCLUDE variables to + calculate the base packages set -- Joey Hess Wed, 01 Aug 2007 23:47:14 -0400 -- To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Aug 7 20:32:45 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:05:57 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library