Skip to content

Commit

Permalink
Configure rauc minimally so it starts, add json to sync for steamos-a…
Browse files Browse the repository at this point in the history
…tomupd-client.
  • Loading branch information
fewtarius committed Jul 27, 2024
1 parent 624e6fc commit c7fcd9e
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PKGBUILD/steamfork-customizations-jupiter/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=steamfork-customizations-jupiter
pkgver=2024.07.27
pkgrel=2
pkgrel=3
pkgdesc='SteamFork customizations provider.'
arch=('any')
url='http://www.steamfork.org'
Expand Down
33 changes: 33 additions & 0 deletions PKGBUILD/steamfork-customizations-jupiter/src/etc/rauc/keyring.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIFqzCCA5OgAwIBAgIUQyLggOBHcqcgpNyNcP50zlEHeb0wDQYJKoZIhvcNAQEL
BQAwZTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24xETAPBgNVBAcM
CEJlbGxldnVlMRMwEQYDVQQKDApWYWx2ZSBDb3JwMRkwFwYDVQQDDBBzdGVhbWRl
Y2staW1hZ2VzMB4XDTIxMTEyMzAxNDQyM1oXDTM4MDQyODAxNDQyM1owZTELMAkG
A1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24xETAPBgNVBAcMCEJlbGxldnVl
MRMwEQYDVQQKDApWYWx2ZSBDb3JwMRkwFwYDVQQDDBBzdGVhbWRlY2staW1hZ2Vz
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxzZyfp6iKvSkt0ddc7fq
zbSwmDXfu5C6DHK5JZyLUzD/9Fow8tQ5sYaZ+nyHPZWtn81QpVQArEJItiZ5I+yR
dmjkQ6I/zdS9EhlFBKwtz3O1stQonXT45PZf2JqiH7wovGrAigjXeVLHYiK2yxxt
9vV/flJjd0shyXkS500MhfxJouBCtvPaH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cYS9LYLhr7ZGWe9eSVMWLy0w9/dHl26xaaSaTELQNrKUSFzAjsS0zDb+GF
wbs7A69ncyTqRGzSF7vHBPY7RIJwL59sbt7iilRHQ0J4JhGf2UEgNC56bl9mKVEe
t/kKJEwBrxp5mNQACI8lN3rUBh0qhxRQknDhRbAHWH9uu6EJrrq1Fnze7LDiO2ay
sxCLatl63m1QYue3fHJ/Qco00myBHV7dP8r1cXfzt2gKUh9UcYC5rUMmvpHokr4h
vO9t+jdSUdgxEVTAfm2b
-----END CERTIFICATE-----
23 changes: 23 additions & 0 deletions PKGBUILD/steamfork-customizations-jupiter/src/etc/rauc/system.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[system]
compatible=steamos-amd64
bootloader=custom
max-bundle-download-size=268435456

[keyring]
path=/etc/rauc/keyring.pem

[casync]
tmppath=/tmp
# install-args=--seed /var/lib/steamos-atomupd/rootfs.caibx --config /etc/desync/config.json --in-place --error-retry 20 --regenerate-invalid-seeds
# use-desync=true

[handlers]
bootloader-custom-backend=/usr/lib/rauc/bootloader-custom-backend.sh
pre-install=/usr/lib/rauc/pre-install.sh
post-install=/usr/lib/rauc/post-install.sh

[slot.rootfs.0]
bootname=LABEL=sf_root
device=/dev/disk/by-label/sf_root
type=raw

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/sync
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ EOF
scp /tmp/index.html ${WWWUSER}@${WWWHOST}:${WWWROOT}/images-new/installer/
ssh -tt ${WWWUSER}@${WWWHOST} "chown -R www-data:www-data ${WWWROOT}/images-new"
ssh -tt ${WWWUSER}@${WWWHOST} "mv ${WWWROOT}/images ${WWWROOT}/images-old; mv ${WWWROOT}/images-new/ ${WWWROOT}/images; rm -rf ${WWWROOT}/images-old"
ssh -tt ${WWWUSER}@${WWWHOST} "mkdir -p ${WWWROOT}/meta/steamos/amd64/${STAGING_OS_TAG}/steamdeck; echo "{ }" >${WWWROOT}/meta/steamos/amd64/${STAGING_OS_TAG}/steamdeck/${STAGING_OS_TAG}.json"
ssh -tt ${WWWUSER}@${WWWHOST} "mkdir -p ${WWWROOT}/meta/steamos/amd64/${STAGING_OS_TAG}.0/steamdeck; echo "{ }" >${WWWROOT}/meta/steamos/amd64/${STAGING_OS_TAG}.0/steamdeck/${STAGING_OS_TAG}.json"
;;
mirrors)
for MIRROR_HOST in ${MIRROR_HOSTS}
Expand Down

0 comments on commit c7fcd9e

Please sign in to comment.