From e597c7083a0c604abb2d46c2b50bbbca45157759 Mon Sep 17 00:00:00 2001 From: Matthew Anderson Date: Mon, 3 Jul 2023 18:33:15 -0500 Subject: [PATCH] Fetch steam-jupiter-stable directly from Valves repo and extract the bootstrap for first boot --- chimeraos/airootfs/root/install.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/chimeraos/airootfs/root/install.sh b/chimeraos/airootfs/root/install.sh index 605cf1b..578936f 100755 --- a/chimeraos/airootfs/root/install.sh +++ b/chimeraos/airootfs/root/install.sh @@ -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." \