Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
imbroglius authored Jul 3, 2024
1 parent 530c2f2 commit a5b6224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ generatePackages() {
[[ "$filename" == *"_a64"* ]] && arch="arm32_binder64" || arch="arm64"
[[ "$filename" == *"_bvN"* ]] && variant="vanilla" || variant="gapps"
[[ "$filename" == *"-vndklite"* ]] && vndk="-vndklite" || vndk=""
name="aosp-${arch}-ab-${variant}${vndk}-14.0-$buildDate"
name="Redmi13C_aosp-${arch}-ab-${variant}${vndk}-14.0-$buildDate"
xz -cv "$file" -T0 > $BD/"$name".img.xz
done
rm -rf $BD/system-*.img
Expand All @@ -123,7 +123,7 @@ generateOta() {
buildDate="$(date +%Y%m%d)"
timestamp="$START"
json="{\"version\": \"$version\",\"date\": \"$timestamp\",\"variants\": ["
find $BD/ -name "aosp-*-14.0-$buildDate.img.xz" | sort | {
find $BD/ -name "Redmi13C_aosp-*-14.0-$buildDate.img.xz" | sort | {
while read file; do
filename="$(basename $file)"
[[ "$filename" == *"-arm32"* ]] && arch="a64" || arch="arm64"
Expand Down

0 comments on commit a5b6224

Please sign in to comment.