aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2017-10-26 11:58:47 +0300
committerRiku Voipio <riku.voipio@linaro.org>2017-10-26 11:58:47 +0300
commit43de5d3321db3d567bbfea6d99fe8008bf19a54b (patch)
tree94d1a9e87ee03bc3815f81b347fa518b0858a578 /hooks
parent23beb929b9611ceb7f3800ed15a16fd13a87525a (diff)
Support buster in savecache
Change-Id: Ia5c97d10257572d4a15135ef6bdec18448759f55
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/debconf.SAVECACHE3
1 files changed, 2 insertions, 1 deletions
diff --git a/hooks/debconf.SAVECACHE b/hooks/debconf.SAVECACHE
index 5419ba6..180d23f 100755
--- a/hooks/debconf.SAVECACHE
+++ b/hooks/debconf.SAVECACHE
@@ -2,10 +2,11 @@
# store a basefile for faster rebuild
ifclass SID && BASENAME=SID
ifclass STRETCH && BASENAME=STRETCH
+ifclass BUSTER && BASENAME=BUSTER
[ "x$BASENAME" != "x" ]||exit 0
-mkdir -p $FAI/basefiles
+mkdir -p $FAI/basefiles
if [ ! -r $FAI/basefiles/$BASENAME.tar.gz ]
then
echo making cache for faster reruns