summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorCyril Brulebois <cyril@debamax.com>2015-10-22 10:43:16 (GMT)
committerCyril Brulebois <cyril@debamax.com>2015-10-22 10:43:16 (GMT)
commit18895909f3f1f71b16f21b51b33e91834a1a4c1f (patch)
treee509e9303d00226171384bd6fef83b93260fdaad /functions
parentfb3797cae29a6d674ef84a3f0bd83891245d02d9 (diff)
downloaddebootstrap-18895909f3f1f71b16f21b51b33e91834a1a4c1f.zip
debootstrap-18895909f3f1f71b16f21b51b33e91834a1a4c1f.tar.gz
debootstrap-18895909f3f1f71b16f21b51b33e91834a1a4c1f.tar.bz2
Generate a deburis file with (package, version, uri) tuples.
It is similar to the existing debpaths. Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Diffstat (limited to 'functions')
-rw-r--r--functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions b/functions
index 5746ff5..8bef5e6 100644
--- a/functions
+++ b/functions
@@ -644,6 +644,7 @@ download_debs () {
local debdest="$($DLDEST deb "$p" "$ver" "$arc" "$m" "$fil")"
if get "$m/$fil" "$TARGET/$debdest" "$checksum" "$size"; then
dloaddebs="$(($dloaddebs + $size))"
+ echo >>$TARGET/debootstrap/deburis "$p $ver $m/$fil"
echo >>$TARGET/debootstrap/debpaths "$p $debdest"
else
warning COULDNTDL "Couldn't download package %s (ver %s arch %s)" "$p" "$ver" "$arc"