Skip to content

Commit

Permalink
Merge pull request #57 from ChimeraOS/steam-bootstrap
Browse files Browse the repository at this point in the history
Fetch steam-jupiter-stable directly from Valves repo and extract the …
  • Loading branch information
ruineka authored Jul 4, 2023
2 parents 413e093 + e597c70 commit 773c898
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions chimeraos/airootfs/root/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ if [ -d ${SYS_CONN_DIR} ] && [ -n "$(ls -A ${SYS_CONN_DIR})" ]; then
${MOUNT_PATH}${SYS_CONN_DIR}/.
fi

# Grab the steam bootstrap for first boot

URL="https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-main/os/x86_64/steam-jupiter-stable-1.0.0.76-1-x86_64.pkg.tar.zst"
TMP_PKG="/tmp/package.pkg.tar.zst"
TMP_FILE="/tmp/bootstraplinux_ubuntu12_32.tar.xz"
DESTINATION="/tmp/frzr_root/etc/first-boot/"
if [[ ! -d "$DESTINATION" ]]; then
mkdir -p /tmp/frzr_root/etc/first-boot
fi

curl -o "$TMP_PKG" "$URL"
tar -I zstd -xvf "$TMP_PKG" usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz -O > "$TMP_FILE"
mv "$TMP_FILE" "$DESTINATION"
rm "$TMP_PKG"

MENU_SELECT=$(whiptail --menu "Installer Options" 25 75 10 \
"Standard Install" "Install ChimeraOS with default options." \
"Advanced Install" "Install ChimeraOS with advanced options." \
Expand Down

0 comments on commit 773c898

Please sign in to comment.