Re: [PATCH 2/3] Use DEBOOTSTRAP_SCRIPT, BASE_INCLUDE and BASE_EXCLUDE variables to calculate the base packages set
On Tue, Aug 07, 2007 at 09:15:21PM -0300, Otavio Salvador wrote:
>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; \
Hmmm. If BASE_INCLUDE or BASE_EXCLUDE are unset, does this work OK?
--
Steve McIntyre, Cambridge, UK. steve@einval.com
Who needs computer imagery when you've got Brian Blessed?
--
To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Aug 8 06:01:35 2007
This archive was generated by hypermail 2.1.8
: Thu Aug 09 2007 - 19:05:57 EDT
|