mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-05-21 05:40:49 +00:00
PSP: Upgrade toolchain versions
build.sh gets a patch to make it work with latest psp-packages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
PSP_PACKAGES_VERSION=f6e720a7b8e8a09147ceb00f41acc383c0102626
|
||||
PSP_PACKAGES_VERSION=4135278ee8610747a8bf182ba9d5940ea1d2f515
|
||||
|
||||
PACKAGE_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
HELPERS_DIR=$PACKAGE_DIR/../..
|
||||
@@ -11,7 +11,7 @@ do_make_bdir
|
||||
do_http_fetch psp-packages "https://github.com/pspdev/psp-packages/archive/${PSP_PACKAGES_VERSION}.tar.gz" 'tar xzf'
|
||||
|
||||
# Patch to drop privileges during the build
|
||||
sed -i -e 's|psp-makepkg|su nobody -s /bin/sh -c "env PATH=\"\$PATH:$PSPDEV/bin\" psp-makepkg"|' ./build.sh
|
||||
sed -i -e 's|psp-makepkg|su nobody -s /bin/sh -c psp-makepkg|' ./build.sh
|
||||
|
||||
# Give rights to nobody
|
||||
chmod -R go+rwX .
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
From 8a044ede1a8d14784fbe7bfd7f5c48f309821e71 Mon Sep 17 00:00:00 2001
|
||||
From: Le Philousophe <lephilousophe@users.noreply.github.com>
|
||||
Date: Sun, 30 Oct 2022 18:23:06 +0100
|
||||
Subject: [PATCH] Don't try to guess package file to install
|
||||
|
||||
If package changes its version during build, the file will be wrong
|
||||
---
|
||||
build.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/build.sh b/build.sh
|
||||
index 9bbe876..57c4d81 100755
|
||||
--- a/build.sh
|
||||
+++ b/build.sh
|
||||
@@ -51,7 +51,7 @@ do
|
||||
|
||||
if [ ! -z "$doinstall" ]; then
|
||||
echo "Installing $pkgdir"
|
||||
- psp-pacman -U --noconfirm "${pkgdir}/${pkgfile}" --overwrite '*'
|
||||
+ psp-pacman -U --noconfirm "${pkgdir}"/*.pkg.tar.gz --overwrite '*'
|
||||
fi
|
||||
|
||||
done
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#! /bin/sh
|
||||
|
||||
PSPDEV_VERSION=38c23f527c6c628b33241d5d97584a932a5d7822
|
||||
PSPDEV_VERSION=b8802f6d3e9206cc3558f00245b10d0844f058c5
|
||||
export PSPTOOLCHAIN_VERSION=f63dad313d48b30cbc04fdc0efbbe451de018198
|
||||
export PSPSDK_VERSION=e9da170bcf8cad9ab9a02b3e42ea8446b8b9cfd4
|
||||
export PSPLINKUSB_VERSION=f60bf725702333615bb2ab221f9165f74cb902c3
|
||||
export PSPSDK_VERSION=61fc8f79991ede62227331dc0d3400a482bf8d42
|
||||
export PSPLINKUSB_VERSION=07c464bc11d6304107bbda68fa3fbd94b1b81101
|
||||
export EBOOTSIGNER_VERSION=10cfbb51ea87adfe02d63dc3a262c8480fdf31e7
|
||||
export PSPTOOLCHAIN_ALLEGREX_VERSION=308a144389bfe36cb43b87721937e393e7dcf7ee
|
||||
export PSPTOOLCHAIN_ALLEGREX_VERSION=19a924c3cd0785a678c10a7af90a2b5cd65365a3
|
||||
export PSPTOOLCHAIN_EXTRA_VERSION=880705e1993a43c8e0533e53e67bab6f3b57e202
|
||||
export BINUTILS_VERSION=1bf9b3f9be9d82cc89374ca916cd4e8e6115dcf8
|
||||
export GCC_VERSION=65cf73279bb91ff72e5327dd1621c206f027f761
|
||||
|
||||
Reference in New Issue
Block a user