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

Re: building woody bf



David Whedon <dwhedon@gordian.com> writes:

> Try putting it in 
> /build/cts/boot-floppies/updates/
> 
> make_paths searches in there and in $archive/cache/archives.  Someone should
> also update the docs to this effect.

In the woody-branch i can't see make_paths looking in
/build/cts/boot-floppies/updates but only in

$archive/cache/archives
`pwd`/updates
$local_dir

The problem is: make check never uses make_paths() but only download() and
download() also never uses make_paths(). But download() fails if any of the
packages to download don't exist.

I added a copy-loop after the apt-get autoclean in download(). It works and
maybe it should be put in CVS:

*** boot-floppies/common.sh	Wed Mar 14 12:38:19 2001
--- boot-floppies.work/common.sh	Wed Mar 14 12:41:47 2001
***************
*** 212,217 ****
--- 212,223 ----
      debug "download command is $APT_GET"
      $APT_GET update
      $APT_GET autoclean
+     for i in `pwd`/updates/*.deb \
+              $local_dir/*.deb; do
+ 	if [ -f $i ]; then
+           cp $i $archive/cache/archives
+ 	fi
+     done
      $APT_GET --download-only install $*
  }
  

-- 
Until the next mail...,
Stefan.



Reply to: