Skip to content

Commit

Permalink
Update make_722.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSuh-Q3 authored Aug 27, 2024
1 parent 15f8f19 commit d6e735e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/make_722.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
# install bsdiff
DSMVER="7.2.2"
REV="72803"
PLATFORMS="apollolake geminilake r1000 v1000 epyc7002"
DT_PLATFORMS="geminilake r1000 v1000 epyc7002"
sudo apt-get install -y bsdiff cpio xz-utils
#ls -al $GITHUB_WORKSPACE/
Expand All @@ -37,6 +39,7 @@ jobs:
curl -kLO https://github.com/PeterSuh-Q3/redpill-load/raw/master/config/models.72
curl -kLO https://github.com/PeterSuh-Q3/redpill-load/raw/master/config/temp-config.json
curl -kLO https://github.com/PeterSuh-Q3/redpill-load/raw/master/config/temp-nondt-config.json
curl -kL https://github.com/PeterSuh-Q3/redpill-load/raw/master/config/custom_config.json -o /opt/dist/custom_config.json
for file in `cat models.72`
do
Expand Down Expand Up @@ -80,7 +83,11 @@ jobs:
# make config.json
mkdir -p /opt/dist/${file}/${DSMVER}-${REV}
workfile=/opt/dist/${file}/${DSMVER}-${REV}/config.json
cp -fv temp-config.json ${workfile}
if [ $(echo ${DT_PLATFORMS} | grep ${platform_name} | wc -l ) -eq 0 ]; then
cp -fv temp-nondt-config.json ${workfile}
else
cp -fv temp-config.json ${workfile}
fi
jsonfile=$(jq ".os.id=\"${dsmid}_${REV}\"" ${workfile}) && echo $jsonfile | jq . > ${workfile}
jsonfile=$(jq ".os.pat_url=\"${URL}\"" ${workfile}) && echo $jsonfile | jq . > ${workfile}
Expand All @@ -107,7 +114,6 @@ jobs:
md5sum /opt/build/ds.pat | awk '{print $1}' | awk '{print $1 " '${file}' os.md5"}' >> /opt/dist/md5-chksum
echo "" >> /opt/dist/md5-chksum
PLATFORMS="apollolake geminilake r1000 v1000 epyc7002"
if [ $(echo ${PLATFORMS} | grep ${platform_name} | wc -l ) -eq 0 ]; then
jsonfile=$(jq '.build_configs += [
{
Expand Down

0 comments on commit d6e735e

Please sign in to comment.