Skip to content

Commit

Permalink
Merge pull request #41 from fewtarius/main
Browse files Browse the repository at this point in the history
Platform drivers should use tags + fix OS sync issue during releases.
  • Loading branch information
fewtarius authored Dec 7, 2024
2 parents 601de1d + f5d6843 commit fa83382
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions PKGBUILD/linux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@

pkgbase=linux
pkgver=6.12.3
pkgrel=2
pkgrel=3
pkgdesc="Linux Stable"
arch=(x86_64)
url="https://kernel.org/"
license=(GPL-2.0-only)

ayaneo_platform="v0.3.4"
ayn_platform="v0.5.2"
hid_msi_claw="20240922"

makedepends=(
bc
cpio
Expand Down Expand Up @@ -104,9 +109,9 @@ _make() {

prepare() {
cd ${_srcname}/drivers
git clone https://github.com/SteamFork/ayaneo-platform.git
git clone https://github.com/SteamFork/ayn-platform.git
git -c advice.detachedHead=false clone -b 20240922 --depth=1 https://github.com/SteamFork/hid-msi-claw.git
git -c advice.detachedHead=false clone -b $ayaneo_platform --depth=1 https://github.com/ShadowBlip/ayaneo-platform.git
git -c advice.detachedHead=false clone -b $ayn_platform --depth=1 https://github.com/ShadowBlip/ayn-platform.git
git -c advice.detachedHead=false clone -b $hid_msi_claw --depth=1 https://github.com/SteamFork/hid-msi-claw.git
cd ..

echo "Setting version..."
Expand Down
4 changes: 2 additions & 2 deletions scripts/sync
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ case ${1} in
for HOST in ${WWWUSER}@${WWWHOST} ${MIRROR_HOSTS}
do
echo "Swap to release images on ${HOST}."
ssh -tt ${HOST} "chown -R www-data:www-data ${WWWROOT}/images.new"
ssh -tt ${HOST} "rm -rf ${WWWROOT}/images.prev; mv ${WWWROOT}/images ${WWWROOT}/images.prev; mv ${WWWROOT}/images.new/ ${WWWROOT}/images"
ssh -tt ${HOST} "sudo chown -R www-data:www-data ${WWWROOT}/images.new"
ssh -tt ${HOST} "sudo rm -rf ${WWWROOT}/images.prev; sudo mv ${WWWROOT}/images ${WWWROOT}/images.prev; sudo mv ${WWWROOT}/images.new/ ${WWWROOT}/images"
done
private_key remove
;;
Expand Down

0 comments on commit fa83382

Please sign in to comment.