On Tue, Aug 07, 2007 at 09:15:21PM -0300, Otavio Salvador wrote:
>From: Otavio Salvador <[EMAIL PROTECTED]>
>
>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 <[EMAIL PROTECTED]>
>---
>
> 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.                                [EMAIL PROTECTED]
Who needs computer imagery when you've got Brian Blessed?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to