SHA256
1
0
forked from pool/openQA
openQA/update-cache.sh

22 lines
345 B
Bash
Raw Normal View History

#! /bin/sh
set -e
export LC_ALL='en_US.UTF-8'
export LANG='en_US.UTF-8'
osc up
rm -f _service\:*
rm -f *.tar *.cpio
osc service lr
# special call for tar buildtime service
osc service lr tar
SD=$PWD
cd openQA
tools/generate-packed-assets
tar cvjf cache.tar.xz assets/cache assets/assetpack.db
mv cache.tar.xz "$SD/cache.txz"
cd "$SD"
osc up