mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
.github/workflows: install lbzip2 to speed up sdk creation
Our github actions use cork to create an sdk chroot, which pulls down bzipped archives. The runners have 2 CPUs, so this unpacking could be faster if we installed lbzip2. Cork transparently uses lbzip2.
This commit is contained in:
parent
e3d384eb6c
commit
cdd948d1c6
@ -2,6 +2,8 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
sudo apt-get install -y lbzip2
|
||||
|
||||
CORK_VERSION=$(curl -sL https://api.github.com/repos/kinvolk/mantle/releases/latest | jq -r .tag_name | sed -e 's/^v//')
|
||||
curl -L -o cork https://github.com/kinvolk/mantle/releases/download/v"${CORK_VERSION}"/cork-"${CORK_VERSION}"-amd64
|
||||
curl -L -o cork.sig https://github.com/kinvolk/mantle/releases/download/v"${CORK_VERSION}"/cork-"${CORK_VERSION}"-amd64.sig
|
||||
|
Loading…
Reference in New Issue
Block a user