[tbb-commits] [tor-browser-build/maint-8.0] Bug 29181: Add a version number in debootstrap-image filename

gk at torproject.org gk at torproject.org
Mon Feb 11 12:42:01 UTC 2019


commit 1224c208e61b18dfd078f98e88bc1666800cf5bb
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Fri Jan 25 17:37:43 2019 +0100

    Bug 29181: Add a version number in debootstrap-image filename
    
    Updating this version number will cause the old images created by
    debootstrap-image to be discarded when a new image is built by
    container-image. However existing images from container-image will not
    be discarded as container-image's filename doesn't depend on
    debootstrap-image's filename.
---
 projects/debootstrap-image/config | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/projects/debootstrap-image/config b/projects/debootstrap-image/config
index fa9587a..3c2df77 100644
--- a/projects/debootstrap-image/config
+++ b/projects/debootstrap-image/config
@@ -1,5 +1,6 @@
 # vim: filetype=yaml sw=2
-filename: 'container-image_[% c("var/container/suite") %]-[% c("var/container/arch") %].tar.gz'
+filename: 'container-image_[% c("var/container/suite") %]-[% c("var/container/arch") %]-[% c("version") %].tar.gz'
+version: 1
 pkg_type: build
 
 var:





More information about the tbb-commits mailing list