2017-04-06 11:16:16 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2018-04-12 14:11:42 +02:00
|
|
|
export LC_ALL='en_US.UTF-8'
|
|
|
|
export LANG='en_US.UTF-8'
|
2017-04-06 11:16:16 +02:00
|
|
|
osc up
|
|
|
|
rm -f _service\:*
|
2018-11-26 22:40:50 +01:00
|
|
|
rm -f *.tar *.cpio
|
2017-04-06 11:16:16 +02:00
|
|
|
osc service lr
|
2018-11-26 22:40:50 +01:00
|
|
|
# special call for tar buildtime service
|
|
|
|
osc service lr tar
|
2017-04-06 11:16:16 +02:00
|
|
|
|
|
|
|
SD=$PWD
|
2021-06-10 16:53:07 +02:00
|
|
|
cd openQA
|
|
|
|
tools/generate-packed-assets
|
2017-04-06 11:16:16 +02:00
|
|
|
tar cvjf cache.tar.xz assets/cache assets/assetpack.db
|
2021-06-10 16:53:07 +02:00
|
|
|
mv cache.tar.xz "$SD/cache.txz"
|
2017-04-06 11:16:16 +02:00
|
|
|
|
2021-06-10 16:53:07 +02:00
|
|
|
cd "$SD"
|
2017-04-06 11:16:16 +02:00
|
|
|
osc up
|