From c17f21ab8bb46ad5d9b1e6f09c2240d6cd473901 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Mon, 17 Jun 2024 23:26:24 +0200 Subject: [PATCH] Add more repos to build.txt --- scripts/004-psplinkusb-extra.sh | 7 +++++++ scripts/005-ebootsigner-extra.sh | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/scripts/004-psplinkusb-extra.sh b/scripts/004-psplinkusb-extra.sh index df7bce4..a261aff 100755 --- a/scripts/004-psplinkusb-extra.sh +++ b/scripts/004-psplinkusb-extra.sh @@ -23,3 +23,10 @@ if [ "${OSVER:0:5}" != MINGW ]; then make --quiet -j $PROC_NR -C pspsh install || { exit 1; } make --quiet -j $PROC_NR -C usbhostfs_pc install || { exit 1; } fi + +## Store build information +BUILD_FILE="${PSPDEV}/build.txt" +if [[ -f "${BUILD_FILE}" ]]; then + sed -i'' '/^psplinkusb /d' "${BUILD_FILE}" +fi +git log -1 --format="psplinkusb %H %cs %s" >> "${BUILD_FILE}" diff --git a/scripts/005-ebootsigner-extra.sh b/scripts/005-ebootsigner-extra.sh index c6aff68..02027c6 100755 --- a/scripts/005-ebootsigner-extra.sh +++ b/scripts/005-ebootsigner-extra.sh @@ -19,3 +19,10 @@ make --quiet -j $PROC_NR clean || { exit 1; } make --quiet -j $PROC_NR all || { exit 1; } make --quiet -j $PROC_NR install || { exit 1; } make --quiet -j $PROC_NR clean || { exit 1; } + +## Store build information +BUILD_FILE="${PSPDEV}/build.txt" +if [[ -f "${BUILD_FILE}" ]]; then + sed -i'' '/^ebootsigner /d' "${BUILD_FILE}" +fi +git log -1 --format="ebootsigner %H %cs %s" >> "${BUILD_FILE}"