Skip to content
Snippets Groups Projects
Commit af0bdfe2 authored by Simon McVittie's avatar Simon McVittie
Browse files

SLR 1.0: Assume that steam-runtime.tar.xz is a monolithic tarball


In older Steam releases this was distributed broken up into pieces
(`steam-runtime.tar.xz.part*`), but since beta 1705630720 (2024-01-19)
and GA 1714854927 (2024-05-04) it's a single large file. Adjust our
fallback code path to take this into account.

steamrt/tasks#490

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent e8fe550f
No related branches found
No related tags found
1 merge request!744SLR 1.0: Assume that steam-runtime.tar.xz is a monolithic tarball
Pipeline #97910 passed
......@@ -155,9 +155,9 @@ main () {
if [ "$theirs_should_be" != "$ours" ]; then
# Recover by unpacking a copy locally.
log "Recovering by unpacking $src.tar.xz* into ${here}/var/unpack..."
log "Recovering by unpacking $src.tar.xz into ${here}/var/unpack..."
mkdir -p "${here}/var/unpack"
cat "$src.tar.xz".* | tar -C "${here}/var/unpack" -Jxf-
tar -C "${here}/var/unpack" -Jxf "$src.tar.xz"
echo "$theirs_should_be" > "${here}/var/unpack/steam-runtime/checksum"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment